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

未能找到路径“e:\Web\MallFront\catalog\001_1_20__1_0_0_0_0___.html”的一部分。

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

异常详细信息: System.IO.DirectoryNotFoundException: 未能找到路径“e:\Web\MallFront\catalog\001_1_20__1_0_0_0_0___.html”的一部分。

源错误:


行 35: 			else
行 36: 			{
行 37: 				context.Response.WriteFile(context.Request.RawUrl);
行 38: 			}
行 39: 		}

源文件: e:\Web\MallFront\App_Code\UrlRewriteHandler.cs    行: 37

堆栈跟踪:


[DirectoryNotFoundException: 未能找到路径“e:\Web\MallFront\catalog\001_1_20__1_0_0_0_0___.html”的一部分。]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +492
   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) +1038
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +114
   System.Web.HttpResponse.WriteFile(String filename, Boolean readIntoMemory) +79
   System.Web.HttpResponse.WriteFile(String filename) +15
   UrlRewriteHandler.ProcessRequest(HttpContext context) in e:\Web\MallFront\App_Code\UrlRewriteHandler.cs:37
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64


版本信息: Microsoft .NET Framework 版本:2.0.50727.1433; ASP.NET 版本:2.0.50727.1433