For the path "C:/Windows/Microsoft. NET/framework/v1.1.4322/Temporary ASP. NET files/AA /......" Access denied

Source: Internet
Author: User

 

When the website is configured, parts cannot access the "C:/Windows/Microsoft. net/framework/v1.1.4322/Temporary ASP. the access to net files/root/7bc8d69f/e3d704c8 is denied. 11:09:00 from: jim97 blog new directory...
Root directory
Access to the path "C:/Windows/Microsoft. NET/framework/v1.1.4322/Temporary ASP. NET files/root/7bc8d69f/e3d704c8" is denied.
Version: Microsoft. NET Framework Version: 1.1.4322.2300; ASP. NET version: 1.1.4322.2300
Generally, access to components is rejected. Sometimes it is very popular. IIS cannot be restarted or the system cannot be logged out. Only restart is required.
Solution 1:
1. Start-management tools-Computer Management (win2003 location, similar to other operating systems) Open Computer Management
-- Expand the "service and application" node in the left-side tree of Computer Management, and then expand the "Index Service" node under it to stop the service, the best and fastest way
Solution 2 (reprinted ):
2.1 start-management tools-Computer Management (win2003 location, similar to other operating systems) Open Computer Management
2.2 expand the "service and application" node in the left-side tree of Computer Management, then expand the "Index Service" node under it, and then expand the "System" node under it, expand the "directory" node under it.
2.3 On the right of Computer Management, we can see the configured index service directory.
2.4 right-click the "directory" node and choose "New"> "directory"
2.5 In the Add directory dialog box, enter the temporary file directory of Asp.net in the input box. The default value is:
C:/<WINDIR>/Microsoft. NET/framework/<version number>/Temporary ASP. NET Files directory.
<Version number> indicates the. NET version to be processed.
2.6 are "included in the index ?" Select "no"
2.7. Click OK.
2.8 right-click the "Index Service" node and restart the Index Service.
Solution 3:
1. You can delete bin/XX. PDB.
Lead: http://qiao198.cnblogs.com/archive/2005/08/11/212246.html

It's not surprising. Set the directory c:/Windows/Microsoft. NET/framework/v1.1.4322/Temporary ASP. NET files to everyone for full control.

This is because the cache directory cannot be written when the Asp.net process pre-compiles the file, and it has nothing to do with SPs. You can set the startup account of Asp.net to have full control over this directory. In case of 2003, the Asp.net startup account is
NETWORK SERVICE
Of course this account can be changed, so it is not necessarily. If you do not know clearly, you can directly set full control of everyone. A temporary directory.

--------------------------------------------------------------------------------
The error description is as follows::
Vs2003 is installed in Windows 2003. When running a web application, the following error occurs: "C:/Windows/Microsoft. net/framework/v1.1.4322/Temporary ASP. net files /.....
Note: An unhandled exception occurs during the execution of the current Web request. Check the stack trace information for details about the error and the source of the error in the code.
Exception details: system. unauthorizedaccessexception: access to the path "C:/Windows/Microsoft. NET/framework/v1.1.4322/Temporary ASP. NET files/..." is denied.
Solution:
The error is caused by C:/Windows/Microsoft. net/framework/v1.1.4322/Temporary ASP. the. NET files/directory does not have the read/write permission. add the network service account in the security options of the. NET Files folder, and add and modify the write permission.
In some environments, You need to restart IIS.

Pair path"C:/Windows/Microsoft. NET/framework/v1.1.4322/Temporary ASP. NET files /..."No permission
Access to the path "C:/Windows/Microsoft. NET/framework/v1.1.4322/Temporary ASP. NET files/..." is denied.
Note: An unhandled exception occurs during the execution of the current Web request. Check the stack trace information for details about the error and the source of the error in the code.

Exception details: system. unauthorizedaccessexception: access to the path "C:/Windows/Microsoft. NET/framework/v1.1.4322/Temporary ASP. NET files/..." is denied.

ASP. NET is not authorized to access the requested resources. Consider granting the ASP. NET Request identity the permission to access this resource. ASP. NET has a base process ID that is used when the application is not simulated (usually {MACHINE}/ASPnet on IIS 5 and Network Service on IIS 6 ). If the application is simulating through <identity impersonate = "true"/>, the identity will be an anonymous user (usually IUSR_machinename) or an authenticated user.

To grant ASP. NET write access to a file, right-click the file in resource manager, select "properties", and select the "Security" tab. Click Add to add an appropriate user or group. Highlight the ASP. NET account and select the corresponding access permission box.

Source error:

An unhandled exception is generated during the execution of the current Web request. You can use the following exception stack trace information to determine the cause and location of the exception.

Stack trace:


[Unauthorizedaccessexception: Specifies the path...

Solution: add the iis_wpg User Group to this path.

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.