Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Deploy a Web Project in Visual Studio 2010

Posted on 2010-11-18
8
Medium Priority
?
3,122 Views
Last Modified: 2012-05-10
I want to deploy my web project, but im not familiarized with the new process, i have attached the window

My publish method should be Web Deploy

The service URL is my localhost (im not very sure if i just have to type "localhost")

Site/application : I dont know what to type here, should i create something before?

if I try to publish i receive :

Error      1      Web deployment task failed. (Application 'ROOT' does not exist in site 'digevcelegal.com'.)            

please help!!!

Also the Credentials what are made for?


 publish web site window
0
Comment
Question by:Veljean
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 33

Expert Comment

by:jppinto
ID: 34165873
Did you took a look at this article from Microsoft?

http://msdn.microsoft.com/en-us/library/20yh9f1b.aspx

Does it help?

jppinto
0
 
LVL 1

Author Comment

by:Veljean
ID: 34165905
yes, but is not clear for me,can you help me step by step?
0
 
LVL 1

Author Comment

by:Veljean
ID: 34166285
I would like to publish the web site in a local IIS , not in a web hoster
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 2

Expert Comment

by:cefranklin
ID: 34262517
From what I have read, this works only on IIS7. Is this your case? You also have to publish to a web application, not a website.  So, instead of digevcelegal.com, it would be the name of the website/appname.  For example: "Default Web Site/MyWebApp"  The url must be http://localhost/MsDeploy.axd and the Web Management service must be running on the IIS server.  You must also have permissions for the site set for your login name to be able to publish. Your WebApp must be set to the same .NET version you developed with.

Correct me if I am wrong about IIS7 only because, I am trying to deploy a web service to a Windows Server 2003 IIS6 box and it just won't go.
0
 
LVL 2

Expert Comment

by:cefranklin
ID: 34262561
Oh, wow I just found my answer for deploying to IIS6 w/ VS 2010.  Since you did not say what version you had, I will post this here for you just in case.

Hi Anders,
Yes IIS6 can also support one click publish, you will have to set up remote agent for that...
Please follow the below steps for completing the remote agent install

1. Download the Web Deploy from http://www.iis.net/. (It actually comes installed with VS 2010 but you may not have it on the server)
2. Run the MSI file to install the tool.
3. Select a Custom installation to choose what to install.
4. Click on the remote service node to install the remote service.
5. Complete the installation.
6. Manually start the service by running the following command:
net start msdepsvc
7. Ensure that port 80 is open in the firewall.
Hope this helps...
-Vishal

This was taken from here: [link]http://vishaljoshi.blogspot.com/2009/05/web-1-click-publish-with-vs-2010.html[/link] which should also be realevant to you as well.
0
 
LVL 1

Author Comment

by:Veljean
ID: 34266909
hi cefranklin:

Maybe most of my problems were that Im didnt know the difference between A web Application and a Web Site , correct me if Im wrong , a web Application is a project that must be "appended" to an existing web site, meanwhile a website is a completely new project, my mistake was have starter a project without know the difference, as long as my real intention was begin a new web site from scratch.
0
 
LVL 2

Accepted Solution

by:
cefranklin earned 2000 total points
ID: 34267272
This is the difference.

http://msdn.microsoft.com/en-us/library/aa730880(VS.80).aspx#wapp_topic5

If it is a website, you can right click on the top level and select convert to web application.

What I am doing is not modifying my web sites but, instead, making a new web app that will host my services and publish it up.  Then will will be able to reference that site for my data needs.
0
 
LVL 2

Expert Comment

by:cefranklin
ID: 34267295
Don't forget to back up your project before you convert lol ***
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question