开发者

Visual Studio Web Site Published - Access Denied

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 featur开发者_如何学Pythone to work?

Thanks.


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

%SystemRoot%\Microsoft.NET\Framework\versionNumber\Temporary ASP.NET Files

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜