用户组 : 上校 |
等级 : 注册会员 |
自封 : 点点的老公 |
发帖 : 465 |
积分 : 720 |
金钱 : 686 |
威望 : 151 |
注册 : 2007/10/23 21:02 |
|
第
1
楼
|
Server Error in '/' Application.
Access to the path "E:\bbse18DAYcom\files\localfiles\statistic.xml" 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 "E:\bbse18DAYcom\files\localfiles\statistic.xml" 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) 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 write 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 "E:\bbse18DAYcom\files\localfiles\statistic.xml" is denied.]
System.IO.__Error.WinIOError(Int32 errorCode, String str) +393
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) +888
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +45
System.Xml.XmlDocument.Save(String filename) +91
cnVery.bbs.Handlers.StatisticHandler.Calculate(String x121383aa64985888, Int32 x3c705693102a1b9d) +254
cnVery.bbs.Entity.Article.SaveAsNewReply(Connection x79ee3f6bdf75f984) +2033
cnVery.bbs.UI.Forum.topic.xde97676d01739ced(Object xe0292b9ed559da7d, EventArgs xfbf34718e704c6bc) +1511
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750
|
|
|