Asp. NET relative to ASP, set permissions is a bit different, there is a little set wrong to run. Search on the Internet are very rubbish answers, no one to use, the following is my own settings and from the problems encountered after the experience to share.
Asp. NET needs to use the Users group's permissions, because I have also encountered many times when I set the right to find that the site can not run, very depressed. Below according to the problem that appears, a little solution, let your asp.net run up.
Question one:
Part of Path "C:" was not found.
Note: An unhandled exception occurred during the execution of the current WEB request. Check the stack trace for more information about the error and where the error occurred in the code.
Exception Details: System.IO.DirectoryNotFoundException: Part of the path "C:" was not found.
Solve:
In the C disk plus the Users group Read access
I have tried: in the C disk plus users read access, but for the server security issues, I have to remove the Users group (think of a C disk below also want some folders to join the users permission). After removing the users group, successive problems are displayed in different ways, as discussed below, and then resolved one by one.
Question two:
Page Pop-up login window appears after cancellation: HTTP error 401.3-Unauthorized: Access due to the ACL on the requested resource settings were denied.
or an HTTP 401.1 error occurred
Solve:
First, check your "identity check and access control" in the "anonymous use of the following Windows user account" in the user password is correct, and check your site right-click-permission has not been included in this.
The first way to try it or this, you will see the folder permissions set
Add Users right to Windows
Question three:
If you browse to your entire site there are garbled
Solve:
That should be in C disk Windows plus Read permissions for the Users group
Question four:
Compile error
Description: An error occurred during the compilation of resources required to provide services to the request. Please check the following specific error details and modify the source code appropriately.
Compiler error Message: CS0016: Failed to write output file ' c:windowsmicrosoft.networkv1.1.4322temporary asp.net Filesroot345513e786f1794afvmzvzp7.dll "--" Deny access. ”
Solve:
The temp plus the read, write, and modify permissions of the Users group should be in the C-disk windows.