当前位置:编程学习 > C#/ASP.NET >>

大哥大姐们,帮帮俺吧

System.Web.HttpUnhandledException: 引发类型为“System.Web.HttpUnhandledException”的异常。 ---> System.UnauthorizedAccessException: 对路径“G:\wiki\public\EditNotice.cs”的访问被拒绝。
   在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   在 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
   在 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
   在 System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
   在 ScrewTurn.Wiki.SettingsStorageProvider.SetMetaDataItem(MetaDataItem item, String tag, String content)
   在 ScrewTurn.Wiki.AdminContent.btnSave_Click(Object sender, EventArgs e)
   在 System.Web.UI.WebControls.Button.OnClick(EventArgs e)
   在 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
   在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   --- 内部异常堆栈跟踪的结尾 ---
   在 System.Web.UI.Page.HandleError(Exception e)
   在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   在 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   在 System.Web.UI.Page.ProcessRequest()
   在 System.Web.UI.Page.ProcessRequest(HttpContext context)
   在 ASP.admincontent_aspx.ProcessRequest(HttpContext context)
   在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --------------------编程问答-------------------- 是关于ScrewTurn Wiki的 --------------------编程问答-------------------- 路径不对吧 --------------------编程问答-------------------- 没权限
--------------------编程问答-------------------- or readonly --------------------编程问答-------------------- 确认下对G:\wiki\public\EditNotice.cs的访问权限。 --------------------编程问答-------------------- ScrewTurn Wiki是设定本机用户的权限吗,可是都有哇 --------------------编程问答-------------------- 绝对权限不够啊。 --------------------编程问答-------------------- 除 --------------------编程问答-------------------- 除 --------------------编程问答-------------------- 除 --------------------编程问答-------------------- 给那个文件添加一个everyone fullcontrol看看还有没有异常的 --------------------编程问答-------------------- --------------------编程问答-------------------- ---> System.UnauthorizedAccessException: 对路径“G:\wiki\public\EditNotice.cs”的访问被拒绝。


没有权限  --------------------编程问答-------------------- 不清楚,难道是文件夹权限?
补充:.NET技术 ,  ASP.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,