When Publishing an application using Visual Studio 2010, file permissions are altered

By default, Visual Studio 2010, sets ACLs upon deployment which can cause issues for your application/website. To set VS 2010 to not set ACLs, please follow the instructions below -

http://blogs.iis.net/msdeploy/archive/2010/10/04/skipping-setting-an-acl-in-a-visual-studio-2010-deployment-package.aspx
Reiterated, they are -

1) Edit the .csproj file and set False
2) msbuild.exe myproject.csproj /p:IncludeSetAclProviderOnDestination=False
This should stop VS 2010 from altering permissions.


  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

I am receiving System.Security.SecurityException or That assembly does not allow partially trusted callers.

When running your application you may see: That assembly does not allow...

How can I redirect one URL to another on ASP .NET?

Our ASP plans have the following installed:...

Cryptography with ASP .NET

A customer received the following error when attempting to create a RSACryptoServiceProvider from...

I am getting a 404 error on the secondary pages of my MVC application. Why?

To resolve the 404 error issues on secondary pages of a ASP .NET MVC applications, you will need...

My site is showing the following error: HTTP Error 503. The service is unavailable.

The error HTTP Error 503. The service is unavailable. generally means that your application pool...