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

文件“d:\wwwroot\yangjun19771212\wwwroot\content\xtheme\baierkang_en\navhtml.temp”正由另一进程使用,因此该进程无法访问此文件。

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

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

源错误:


行 71:     <ul class="kj_nav_inner">
行 72:         <li class="active"><a href="/">HOME</a></li>
行 73:         <%=nav.getallnavs() %>
行 74:     </ul>
行 75:         </div>

源文件: d:\wwwroot\yangjun19771212\wwwroot\content\xtheme\baierkang_en\inc\topnav_pc.html    行: 73

堆栈跟踪:


[IOException: 文件“d:\wwwroot\yangjun19771212\wwwroot\content\xtheme\baierkang_en\navhtml.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() in E:\TFS\960CloudWebSql\DevV3Branch\Baierkang\Dev\Web960Tmp\nav.cs:26
   ASP.content_xtheme_baierkang_en_product_info_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\wwwroot\yangjun19771212\wwwroot\content\xtheme\baierkang_en\inc\topnav_pc.html:73
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +270
   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.4700.0