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 ,如需转载请自行联系原作者
相关文章
|
存储 索引 Python
python字典:怎么取出key对应的值
python字典:怎么取出key对应的值
1524 0
|
网络安全
[网络安全]xss-labs level-15 解题详析
[网络安全]xss-labs level-15 解题详析
398 0
|
人工智能 缓存 资源调度
云上AI推理平台全掌握 (4):大模型分发加速
为应对大模型服务突发流量场景,阿里云人工智能平台 PAI 推理服务 PAI-EAS 提供本地目录内存缓存(Memory Cache)的大模型分发加速功能,有效解决大量请求接入情况下的推理延迟。PAI-EAS 大模型分发加速功能,零代码即可轻松完成配置。
|
8月前
|
运维 数据库 数据安全/隐私保护
DAS Agent、MCP Server 与 Dify 集成,实现跨账号数据库智能运维!
针对多账号管理难题,通过DAS Agent、MCP Server 与 Dify 集成,实现跨阿里云账号数据库实例的统一智能运维。主账号可纳管其他账号的DAS Agent,集中生成运维日报并推送至钉钉,提升集团级数据库管理效率。
|
8月前
|
运维 算法 安全
室内外融合定位技术从核心架构、技术原理到部署实施流程等详解(三)
本文详解室内外融合定位技术的工业级部署流程,涵盖方案设计、设备安装、调试优化至验收交付四大阶段。针对化工、矿山等高危场景,结合北斗RTK与UWB技术,实现厘米级高精度、无缝连续定位,解决复杂环境中“进车间失联”难题,保障精准管控与安全联动。
|
传感器 编解码 芯片
示例二、气压传感器
示例二、气压传感器
595 1
|
安全 开发者
CleanMyMac X 4.11.5中文版激活码来啦
CleanMyMac X4.11.5 中文版是Mac平台上的一款非常著名同时非常好用的Mac清理工具。CleanMyMac X 中文版,全方位扫描您的Mac系统,让垃圾无处藏身,您只需要轻松单击2次鼠标左键即可清理数G的垃圾,就这么简单。瞬间提升您Mac速度。
7376 1
CleanMyMac X 4.11.5中文版激活码来啦
|
JavaScript
JS 你可能没用过的【回调函数式替换】replace()
JS 你可能没用过的【回调函数式替换】replace()
381 0
|
关系型数据库 消息中间件 数据库
云大使推广可奖励返佣产品明细
阿里云云大使返利产品:预付费订单+后付费订单(大模型产品、Agent-A类产品返利均为10%、Agent-B类产品返利15%、Agent-C类产品返利30%、Agent-E类产品返利20%、Agent-F类产品返利35%、云资源产品返利25%、云资源其它产品返利15%)。具体明细查看当月详细规则 https://developer.aliyun.com/article/1007904
|
JavaScript 前端开发 数据格式
Jquery前端分页插件pagination使用
Jquery前端分页插件pagination使用
489 1