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

文件“D:\web\wwwroot\content\xtheme\bjpulizhicheng\navhtml_bootstrap.temp”正由另一进程使用,因此该进程无法访问此文件。

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

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

源错误:


行 207:                    <a href="/">首页 <span class="sr-only">(current)</span></a>
行 208:                </li>
行 209:                <%=current.nav.getallnavs_bootstrap() %>
行 210:                <li class="nav-menutel hidden-sm">
行 211:                    <%=current.RenderHtml(new wtmp.pagerendersetting() {

源文件: d:\web\wwwroot\content\xtheme\bjpulizhicheng\inc\site_top.ascx    行: 209

堆栈跟踪:


[IOException: 文件“D:\web\wwwroot\content\xtheme\bjpulizhicheng\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 E:\TFS\ReleaseBranch\V3.2Branch\BJplzc\Web960Tmp\nav.cs:51
   ASP.content_xtheme_bjpulizhicheng_inc_site_top_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\web\wwwroot\content\xtheme\bjpulizhicheng\inc\site_top.ascx:209
   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_bjpulizhicheng_site_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\web\wwwroot\content\xtheme\bjpulizhicheng\Site.Master:41
   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.4330.0