Win2003 asp.net permission setting problem and its solution (1/2)

Source: Internet
Author: User
Tags stack trace

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.


Home 1 2 last page
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.