“/”应用程序中的服务器错误。

文件“G:\WEBSITE\9dingchem_com\content\xtheme\9dingchem\navhtml_bootstrap.temp”正由另一进程使用,因此该进程无法访问此文件。

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.IO.IOException: 文件“G:\WEBSITE\9dingchem_com\content\xtheme\9dingchem\navhtml_bootstrap.temp”正由另一进程使用,因此该进程无法访问此文件。

源错误:


行 84: 							 <ul class="nav navbar-nav">
行 85:         <li class="active"><a href="/"><%=current.lang.get("default") %></a></li>
行 86:           <%=current.nav.getallnavs_bootstrap() %>
行 87:         
行 88:       </ul>

源文件: g:\WEBSITE\9dingchem_com\content\xtheme\9dingchem\inc\site-topnav.ascx    行: 86

堆栈跟踪:


[IOException: 文件“G:\WEBSITE\9dingchem_com\content\xtheme\9dingchem\navhtml_bootstrap.temp”正由另一进程使用,因此该进程无法访问此文件。]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +227
   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, Boolean useLongPath, Boolean checkHost) +738
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +68
   System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) +76
   System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) +75
   System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost) +66
   System.IO.File.WriteAllText(String path, String contents, Encoding encoding) +43
   fn.nav.getallnavs_bootstrap() in F:\TFS\2020\960CloudWebSql\ReleaseBranch\V3.2Branch\9dingchem2020\Web960Tmp\nav.cs:47
   ASP.content_xtheme_9dingchem_inc_site_topnav_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in g:\WEBSITE\9dingchem_com\content\xtheme\9dingchem\inc\site-topnav.ascx:86
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +270
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +14
   System.Web.UI.Control.Render(HtmlTextWriter writer) +12
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +67
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +101
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
   ASP.content_xtheme_9dingchem_site_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in g:\WEBSITE\9dingchem_com\content\xtheme\9dingchem\Site.Master:25
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +270
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +14
   System.Web.UI.Control.Render(HtmlTextWriter writer) +12
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +67
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +101
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +129
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +14
   System.Web.UI.Page.Render(HtmlTextWriter writer) +30
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +67
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +101
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1342


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.4494.0