Discuz!NT官方社区

首页 » Discuz!NT开发与测试 » 论坛测试 » 升级2.0.1214出错,求助
aaronmuch - 2008-4-28 13:56:00
www.6dog.net
按照升级指示升级

在运行SQL语句时遇到错误
同时首页格式也出错。
求助
aaronmuch - 2008-4-28 14:05:00
重新生成模板里出现下列错误:
“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------

对路径“D:\6dog\aspx\1\activationuser.aspx”的访问被拒绝。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.UnauthorizedAccessException: 对路径“D:\6dog\aspx\1\activationuser.aspx”的访问被拒绝。

ASP.NET 未被授权访问所请求的资源。请考虑授予 ASP.NET 请求标识访问此资源的权限。ASP.NET 有一个在应用程序没有模拟时使用的基进程标识(通常,在 IIS 5 上为 {MACHINE}\ASPNET,在 IIS 6 上为网络服务)。如果应用程序正在通过 <identity impersonate="true"/> 模拟,则标识将为匿名用户(通常为 IUSR_MACHINENAME)或经过身份验证的请求用户。

若要授予 ASP.NET 对文件的写访问权,请在资源管理器中右击该文件,选择“属性”,然后选择“安全”选项卡。单击“添加”添加适当的用户或组。突出显示 ASP.NET 帐户,选中所需访问权限对应的框。

源错误:

执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 

堆栈跟踪:


[UnauthorizedAccessException: 对路径“D:\6dog\aspx\1\activationuser.aspx”的访问被拒绝。]
  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
  Discuz.Common.PageTemplate.GetTemplate(String forumpath, String skinName, String templateName, Int32 nest, Int32 templateid) +1757
  Discuz.Forum.ForumPageTemplate.GetTemplate(String forumpath, String skinName, String templateName, Int32 nest, Int32 templateid) +21
  Discuz.ForumPage.Admin.templatetree.CreateTemplate_Click(Object sender, EventArgs e) +563
  Discuz.Control.Button.OnClick(EventArgs e) +55
  Discuz.Control.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +24
  System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
  System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +138
  System.Web.UI.Page.ProcessRequestMain() +1292
1
查看完整版本: 升级2.0.1214出错,求助