Web Wiz
  Knowledgebase Knowledgebase      Customer Login Customer Login

Web DeployWeb Deploy


Microsoft Visual Studio and Web Matrix both support a new way to publish your website, using Microsoft's Web Deploy.

Web Wiz Shared Hosting supports Web Deploy which can be enabled by editing your websites settings in your Hosting Control Panel.

Once Web Deploy is enabled for your website you are able to publish your application through Web Deploy, however before you do you need to update your publish settings so prevent the publishing of ACL's which will over write the server permissions.

By default Web Deploy sets the ACL of the sites anonymous user to read only while also overwriting Control Panel access to your website.

To prevent this when you publish your application, you will need to update your Visual Studio project configuration file to prevent the publishing of ACL permissions. This can be done by executing the following command.

For C# execute the following command:-

msbuild PROJECTNAME.csproj /p:IncludeSetAclProviderOnDestination=False

For Visual Basic execute the following command:-

msbuild PROJECTNAME.vbproj /p:IncludeSetAclProviderOnDestination=False

You can also edit the projects configuration file in a text editor to manually make the changes to your project. To do this open the project configuration file and find the line below:-

<propertygroup condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">

and add the follow tag / setting to the propertygroup list

<includesetaclproviderondestination>False</includesetaclproviderondestination>

Once completed your project configuration file should look something similar the example below:-

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">         <includesetaclproviderondestination>False</includesetaclproviderondestination>
        .......
</PropertyGroup>

If you have already published your website without making the changes above and are now finding that you have problems access your website through your Control Panel please contact support to have your websites permissions reset.


Back To Hosting Knowledgebase Menu


Become a Fan on Facebook Follow us on Twitter Find us on Google+ Community Forums Web Wiz Blogs Web Wiz News
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Policy

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Unit B10, 9 Nimrod Way, East Dorset Trade Park, Wimborne, Dorset, BH21 7UH, United Kingdom.

Prices exclude VAT unless otherwise stated. VAT No. 988999105 - $, € prices shown as a guideline only.


Copyright ©2001-2016 Web Wiz Ltd. All rights reserved.