Host setup required to allow site applications to deploy Visual Studio 2010 Web Application Project using Web Deploy
Posted by AccuWebHosting Support :: Heather S. on 09 September 2010 01:02 PM

This article is about server side modification required to deploy a Visual Studio 2010 Web Application Project using Web Deploy.



STEP 1:

To deploy a web application project Microsoft Web Deploy Tool is required on the server.

You can download this tool using the following link: Microsoft Web Deployment Tool


STEP 2:

Check the status of the following services:

Web Deployment Agent Service and Web Management Service

If any of these services are not started then you need to start them manually. To start them manually, perform the following steps:

Start-> Run-> services.msc
Select the specific service.
Change the start-up type to Automatic and click on start button.


Screenshot of Web Deployment Management Service


Screenshot of Web Deployment Management Service



STEP 3:

Open Internet Information Service(IIS) Manager.
Select the website (domain name that you want to allow to use web deploy service) from the Connections pane.

For example,         testdeploy.com
 

Select IIS Manager Permissions
From the Actions pane click Allow user ...


Screenshot of Allow User option

Select Windows and click Select


Screenshot of Select User or Group option


Click on Advanced ...


Screenshot of Selecting User


Click on Find Now. It will display the list of available users. From the given list select your website's ftp user and click Ok
The name of the user will be displayed in the Select User or Group dialog box
Click Ok


STEP 4:

Now, from the IIS-> Connections Pane select your localhost. For example, WIN-M5KVABCDEF is the local host here ...
Now, Select Management Service option
Specify the values as described in the following screen shot:


Screenshot of IIS Management Service


After filling these values click Start in the sidebar ...


STEP 5:

Select Management Service Delegation
From the Actions pane click Add Rule ...
From the Add Rule dialog box select Deploy Applications with Content. Click Ok
Specify the values as described below to add a rule,-


Screenshot of Management Delegation  Service


In the Providers option select contentPath, createApp, iisApp, setAcl from the drop down menu

Click Ok Button


STEP 6:

Edit the permission of testdeploy.com website
Right click on testdeploy.com select Edit Permissions ...
Go to Security tab
Click Edit ...
Click Add ...

Screenshot of adding LOCAL SERVICE


Click Ok

Screenshot of giving Full control to LOCAL SERVICE

Give Full control to LOCAL SERVICE


STEP 7:


Now, edit the permission of FTP user
Select FTP user

Screenshot of giving Full control to FTP User


Give Full control to FTP user
Click Ok

(20 votes)
This article was helpful
This article was not helpful

Comments (0)
Help Desk Software by Kayako Resolve