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

bob体育竞技_bob电竞app_bob电竞app下载

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

异常详细信息: System.IO.FileNotFoundException: bob体育竞技_bob电竞app_bob电竞app下载

源错误:


行 151:
行 152:                string file = url + ".htm";
行 153:                System.IO.File.WriteAllText(path + file, sw.ToString(), System.Text.Encoding.UTF8);
行 154:            }
行 155:            Response.Write(sw.ToString());

源文件: e:\WebSite\gcsteelcncn\info2.aspx.cs    行: 153

堆栈跟踪:


[FileNotFoundException: bob体育竞技_bob电竞app_bob电竞app下载]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +305
   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) +1162
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) +65
   System.IO.StreamWriter.CreateFile(String path, Boolean append) +62
   System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) +58
   System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding) +29
   System.IO.File.WriteAllText(String path, String contents, Encoding encoding) +59
   info2.Render(HtmlTextWriter writer) in e:\WebSite\gcsteelcncn\info2.aspx.cs:153
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266


版本信息: Microsoft .NET Framework 版本:2.0.50727.8000; ASP.NET 版本:2.0.50727.8001