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

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

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

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

源错误:


行 169:                        
行 170:
行 171:                       <%=current.nav.getallnavs_bootstrap() %>
行 172:                    </ul>
行 173:                </div><!-- /.navbar-collapse -->

源文件: f:\websites\wwwroot\content\xtheme\yiheng\inc\site_top.ascx    行: 171

堆栈跟踪:


[IOException: 文件“F:\websites\wwwroot\content\xtheme\yiheng\navhtml_bootstrap.temp”正由另一进程使用,因此该进程无法访问此文件。]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +372
   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) +776
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +66
   System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) +73
   System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) +73
   System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost) +64
   System.IO.File.WriteAllText(String path, String contents, Encoding encoding) +42
   fn.nav.getallnavs_bootstrap() in E:\TFS\960CloudWebSql\ReleaseBranch\V3.2Branch\SHaiHaiYiHeng\Web960Tmp\nav.cs:51
   ASP.content_xtheme_yiheng_inc_site_top_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in f:\websites\wwwroot\content\xtheme\yiheng\inc\site_top.ascx:171
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +268
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +13
   System.Web.UI.Control.Render(HtmlTextWriter writer) +12
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +66
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   ASP.content_xtheme_yiheng_site_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in f:\websites\wwwroot\content\xtheme\yiheng\Site.Master:39
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +268
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +13
   System.Web.UI.Control.Render(HtmlTextWriter writer) +12
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +66
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +128
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +13
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +66
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1303


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