Server Error in '/' Application

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. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.UnauthorizedAccessException: Access to the path ‘636081729995142753‘ is denied.
ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically 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. Click "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.global_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.NET Version:4.0.30319.1

2,

原因:出现这个问题是因为web.config没有修改权限导致的 解决方法:给网站目录写入权限,目录权限配置请见下面的相关文档。

网站目录权限设置

PageAdmin目录需如下权限 administrators --->完全控制权限 system --->完全控制权限 network service (或aspnet)--->读取、写入、运行、修改、列出文件夹权限 everyone(如单独分配用户的,给相应用户的权限)--->用户修改、运行、列出文件夹改、读取、写入权限

2.2,

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

Server Error in '/' Application

时间: 2024-12-05 22:51:53

Server Error in '/' Application的相关文章

Server Error in &#39;/&#39; Application. Could not load file or assembly &#39;IBM.Data65

baozoumanhua.com/users/17157008/followingsbaozoumanhua.com/users/17157008/talkingsbaozoumanhua.com/users/17157008/following_articlesbaozoumanhua.com/users/17157008/articlesbaozoumanhua.com/users/17157027baozoumanhua.com/users/17157027/forum_articlesb

Server Error in &#39;/&#39; Application.Object reference not set to an instance of an object.

这个错误是数据库角色权限造成的 只选中db.owner就可以了 Server Error in '/' Application.Object reference not set to an instance of an object.,布布扣,bubuko.com Server Error in '/' Application.Object reference not set to an instance of an object.

网站上传服务器出现:Server Error in &#39;/&#39; Application错误

本地网站上传服务器后出现以下错误: Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely

如何解决? Server Error in &#39;/&#39; Application.

问题描述: Server Error in '/' Application.Runtime ErrorDescription: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security

Server Error in &#39;/&#39; Application. 的问题

昨晚发布这个问题搞了一晚上,发现网上很多解决办法都不靠谱:  Server Error in '/' Application. Runtime Error   Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being v

【.net部署】Server Error in &#39;/&#39; Application.错误解决方案

报错: Server Error in '/' Application.-------------------------------------------------------------------------------- Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review

IIS Server Error in &#39;/&#39; Application

我出现的问题: 如仅靠标题中的句子是无法确定是那种错误的, 在上图中能标志错误的是 Parser Error Message:Could not load type "WebProjectTest.Test". 这句就我的理解, 大概意思是:解析器给你的一个错误消息:不能加载类型“WebProjectTest.Test". 显然引号里面是一个路径吧, 看看 Source Error(资源错误): 注意看到第一行是红色的,说明问题就在这里. 对于一个初学者出现这样的问题应该怎么

IIS出现Server Error in &#39;/&#39; Application.CS0016的解决办法

Server Error in '/' Application. Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Com

2018年11月14日 Forcing XXE Reflection through Server Error Messages

https://blog.netspi.com/ XML External Entity (XXE) injection attacks are a simple way to extract files from a remote server via web requests. For easy use of XXE, the server response must include a reflection point that displays the injected entity (