Web Wiz - Solar Powered Eco Web Hosting


Web Deploy


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

If you are hosting your website with Web Wiz, you can find how to Enable Web Deploy through your Hosting Control Panel at How to Enable Web Deploy.

Before you can publish your website using Web Deploy do you may need to update your publish settings to prevent the publishing of ACL's which will overwrite 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 avoid 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 PropertyGroup section shown below:-

<PropertyGroup>

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>
        <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 X Connect with us on LinkedIn Web Wiz Blogs
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: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

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

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