问题描述
事件类型:警告事件来源:ASP.NET2.0.50727.0事件种类:WebEvent事件ID:1309日期:2015-2-9事件:16:24:22用户:N/A计算机:NJYYHB描述:Eventcode:3005Eventmessage:Anunhandledexceptionhasoccurred.Eventtime:2015-2-916:24:22Eventtime(UTC):2015-2-98:24:22EventID:156fec71d38f4470bdd38e5c71f06a51Eventsequence:1490Eventoccurrence:1Eventdetailcode:0Applicationinformation:Applicationdomain:/LM/W3SVC/1/Root/WMSWebService-4-130679150083750000Trustlevel:FullApplicationVirtualPath:/WMSWebServiceApplicationPath:E:WMS_SERVICEWMSWebServiceMachinename:NJYYHBProcessinformation:ProcessID:1480Processname:w3wp.exeAccountname:NTAUTHORITYNETWORKSERVICEExceptioninformation:Exceptiontype:HttpExceptionExceptionmessage:Path'/WMSWebService/Web.config'isforbidden.Requestinformation:RequestURL:http://localhost/WMSWebService/Web.configRequestpath:/WMSWebService/Web.configUserhostaddress:127.0.0.1User:Isauthenticated:FalseAuthenticationType:Threadaccountname:NTAUTHORITYNETWORKSERVICEThreadinformation:ThreadID:7Threadaccountname:NTAUTHORITYNETWORKSERVICEIsimpersonating:FalseStacktrace:atSystem.Web.HttpForbiddenHandler.ProcessRequest(HttpContextcontext)atSystem.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()atSystem.Web.HttpApplication.ExecuteStep(IExecutionStepstep,Boolean&completedSynchronously)Customeventdetails:有关更多信息,请参阅在http://go.microsoft.com/fwlink/events.asp的帮助和支持中心。
解决方案
解决方案二:
有一个未处理的异常!!Path'/WMSWebService/Web.config'isforbidden是不是有什么操作因为文件所处的文件夹没有权限导致的啊??
解决方案三:
为你程序所在的文件加上IISUSER、NetWork_Service,实在不行加个everyone吧!!