I am trying to publish a web site to a network location, and I’m getting access denied. I know its not an issue with the feature, as I published to a different network location OK. So what permissions are needed for this feature to work?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you try to run your web site as it is WITHOUT precompilation, by browsing to http://localhost/website/ , you will see an error message to what you are seeing when you try to publish. This is because the identity needs both read and write access to the Temporary ASP.NET Files folder.
A possible workaround is for you to grant read/write permissions to the current used account to the Temporary ASP.NET Files folder.
By default, when you compile a Web application the compiled code is placed in the Temporary ASP.NET Files folder. This folder is a subdirectory of the location where you installed the .NET framework. Typically, the location is the following:
Copy
The .NET installation process creates the Temporary ASP.NET Files folder and assigns access permissions to the ASP.NET local user account, which has the high-trust permissions needed to access your compiled code.