Server Error in '/' Application

Source: Internet
Author: User
Tags stack trace hosting

1,

Server Error in '/' Application. Access to the path ' 636081729995142753 ' is denied.

Description:An unhandled exception occurred during, the execution of the current Web request. Review the stack trace for more information about the error and where it is originated in the code.
Exception Details:System.UnauthorizedAccessException:Access to the path ' 636081729995142753 ' is denied.
ASP. Authorized to access the requested resource. Consider granting access rights to the resource to the ASP. ASP. NET has a base process identity (typically {machine}\aspnet-iis 5 or Network Service on IIS 6 and IIS 7, and the CO nfigured application pool identity on IIS 7.5) That's used if the application is not impersonating. If the application is impersonating via <identity impersonate= "true"/&GT; the identity would be the the anonymous user (Typ Ically IUSR_machinename) or the authenticated request user.
To grant ASP. NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Clic K "Add" to add the appropriate user or group. Highlight the ASP. NET account, and check the boxes for the desired access.
Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[Unauthorizedaccessexception:access to the path ' 636081729995142753 ' is denied.] System.io.__error.winioerror (Int32 errorCode, String maybefullpath) +12892983 System.IO.FileInfo.Delete () +183 ASP.GL Obal_asax.  Application_Start (Object sender, EventArgs e) +283[httpexception (0x80004005): Access to the path ' 636081729995142753 ' is   Denied.] System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode (HttpContext context, HttpApplication app) +3985477 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS (IntPtr AppContext, HttpContext context, Methodinfo[] handlers) +191 System.Web.HttpApplication.InitSpecial (HttpApplicationState State, methodinfo[] handlers , IntPtr AppContext, HttpContext context) +325 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance ( IntPtr AppContext, HttpContext context) +407 System.Web.Hosting.PipelineRuntime.InitializeApplication (IntPtr AppContext) +375[httpexception (0x80004005): Access to the path ' 636081729995142753 ' is denied.]   System.Web.HttpRuntime.FirstRequestInit (HttpContext context) +11524352   System.Web.HttpRuntime.EnsureFirstRequestInit (HttpContext context) +141 System.Web.HttpRuntime.ProcessRequestNotificationPrivate (Iis7workerrequest WR, HttpContext context) +4782309

Version information: Microsoft. NET Framework version:4.0.30319; ASP. version:4.0.30319.1

2,

Cause: This problem occurs because Web. config does not have a workaround to modify permissions: Write permissions to the Web site directory, and directory permission configuration see the related documentation below.

Site Directory permissions settings

The Pageadmin directory requires the following permissions administrators---> Full Control permissions System---> Full Control Permissions Network Service (or ASPNET)---> read, write, run, Modify, List folder permissions Everyone (such as assigning users individually, permissions to the appropriate user)---> Users to modify, run, List folder changes, read, write permissions

2.2,

http://blog.csdn.net/myflysun/article/details/17399689

Server Error in '/' Application

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.