web.config”的訪問被拒絕。
2006年11月06日 03:53
點擊率:4912
|
System.Web.HttpUnhandledException: 發生類型為 System.Web.HttpUnhandledException 的異常。 ---> System.UnauthorizedAccessException: 對路徑“D:\項目管理\培訓項目管理軟件\麥田程序恢復\SWSchool\web.config”的訪問被拒絕。 at System.IO.__Error.WinIOError(Int32 errorCode, String str) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at System.Xml.XmlDocument.Save(String filename) at SWSchool.Admin_Basic.0acd3c2012ea2ee8() at SWSchool.Admin_Basic.44d0c0526a414989(Object e0292b9ed559da7d, EventArgs fbf34718e704c6bc) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain() --- 內部異常堆棧跟蹤的結尾 --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain() at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
在基礎設置里,遇到這類錯誤的用戶,請將虛擬目錄開放寫權限.
具體方法:windows server 2000/2003 選擇SWSchool5.0目錄,安全-Everyone -開放"寫入"權限.
windows xp home 版用戶,要進入安全模式進行此項操作.
|