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

本文转自ylbtech博客园博客,原文链接:http://www.cnblogs.com/ylbtech/p/5824416.html ,如需转载请自行联系原作者
相关文章
|
8月前
|
Nacos 开发者
nacos报错 Server check fail, please check server 127.0.0.1 ,port 9848 is available , error ={}
在配置文件中指定的Nacos服务器地址未被项目使用,程序仍尝试连接到127.0.0.1。开发者寻求帮助排查问题,已花费多天未果。
|
6月前
|
应用服务中间件
It is possible to bind and connect to localhost:8080 at the same time - application server will prob
It is possible to bind and connect to localhost:8080 at the same time - application server will prob
|
文字识别
Response from backend server
Response from backend server
82 1
|
应用服务中间件 Android开发
Could not publish server configuration for Tomcat v6.0 Server at localhost. Multiple Contexts.
Could not publish server configuration for Tomcat v6.0 Server at localhost. Multiple Contexts.
145 0
Could not publish server configuration for Tomcat v6.0 Server at localhost. Multiple Contexts.
|
微服务
SpringCloud - Cannot execute request on any known server
SpringCloud - Cannot execute request on any known server
215 0
SpringCloud - Cannot execute request on any known server
|
应用服务中间件 Android开发
springMvc16-Could not publish server configuration for Tomcat v8.0 Server at localhost.
springMvc16-Could not publish server configuration for Tomcat v8.0 Server at localhost.
108 0
|
应用服务中间件
no response from server
今天配置的nginx代理,同事反应在swagger上没响应,出现如下情况 本来以为是配置的地址有问题,但是无论换成哪个网卡地址都不行,后面在 “proxy_pass” 下面添加了一个请求头 “proxy_set_header”,如下所示 location /bi/ { proxy_pass http://127.
2173 0
|
Spring Java 安全
config.server
<groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.
1284 0