组工信息  
  组织建设  
  领导讲话  
  干部工作  
  党务知识  
  他山之石  

 


未能找到文件“C:\kl\kldj\wj\120.txt”。_ag国际下载|注册

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

未能找到文件“C:\kl\kldj\wj\120.txt”。

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

异常详细信息: System.IO.FileNotFoundException: 未能找到文件“C:\kl\kldj\wj\120.txt”。

源错误:


行 37: <TD style="WIDTH: 1050px" width=1050>
行 38: <DIV style="BORDER-BOTTOM: rgb(128,128,128) 1px dashed; TEXT-ALIGN: left; PADDING-BOTTOM: 5px; WIDTH: 1040px; MARGIN-BOTTOM: 5px; FLOAT: left" ><A href="/kldj/sy.aspx">网站首页</A><% Server.Execute("~/user_gl/ymbj/ExecuteDh.aspx?file=bt.aspx&name=对应版块&lx=zw&index=" & request.QueryString("wzid"))%>&gt;&gt;网页正文</DIV>
行 39: <DIV style="TEXT-ALIGN: left; LINE-HEIGHT: 25px; MARGIN: 15px 10px; WIDTH: 1020px; FONT-FAMILY: 微软雅黑; FLOAT: left; FONT-SIZE: 14px"><%=File.ReadAllText(Server.MapPath("~/kldj/wj/" & request.QueryString("wzid") & ".txt" ) ) %> 
行 40: <DIV >
行 41: <HR>

源文件: C:\kl\kldj\zw.aspx    行: 39

堆栈跟踪:


[FileNotFoundException: 未能找到文件“C:\kl\kldj\wj\120.txt”。]
   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.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) +87
   System.IO.StreamReader..ctor(String path, Encoding encoding) +15
   System.IO.File.ReadAllText(String path, Encoding encoding) +55
   System.IO.File.ReadAllText(String path) +19
   ASP.kldj_zw_aspx.__Renderform1(HtmlTextWriter __w, Control parameterContainer) in C:\kl\kldj\zw.aspx:39
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +163
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32
   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +51
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   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.5466; ASP.NET 版本:2.0.50727.5456