Server Error in '/' Application.

Could not find file 'F:\inetpub\wwwroot\search-result\webarchive\1600000\1608900.aspx'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: Could not find file 'F:\inetpub\wwwroot\search-result\webarchive\1600000\1608900.aspx'.

Source Error:


Line 99:  
Line 100:   ' Creates instance of StreamReader class
Line 101:   Dim sr As StreamReader = New StreamReader(FilePath)
Line 102: 
Line 103:   ' Finally, loads file to string

Source File: F:\inetpub\wwwroot\search-result\webarchive\default.aspx    Line: 101

Stack Trace:


[FileNotFoundException: Could not find file 'F:\inetpub\wwwroot\search-result\webarchive\1600000\1608900.aspx'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +1404
   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) +1242
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +146
   System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost) +177
   System.IO.StreamReader..ctor(String path) +55
   ASP.webarchive_default_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in F:\inetpub\wwwroot\search-result\webarchive\default.aspx:101
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +276
   System.Web.UI.Page.Render(HtmlTextWriter writer) +40
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4573


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.3928.0