Server Error in '/' Application.

Could not find file 'e:\kunden\homepages\34\d157063788\www\listentowcdb.com\profiles\1125.txt'.

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 'e:\kunden\homepages\34\d157063788\www\listentowcdb.com\profiles\1125.txt'.

Source Error:


Line 19:         datafile = datafile.ToLower.Replace("profile.aspx", "profiles\" & djid & ".txt")
Line 20: 
Line 21:         Dim sr as new system.io.streamreader(datafile)
Line 22:         do while not sr.EndOfStream
Line 23:             tmp = sr.ReadLine()

Source File: E:\kunden\homepages\34\d157063788\www\listentowcdb.com\profile.aspx    Line: 21

Stack Trace:


[FileNotFoundException: Could not find file 'e:\kunden\homepages\34\d157063788\www\listentowcdb.com\profiles\1125.txt'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +12796926
   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.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost) +104
   System.IO.StreamReader..ctor(String path) +34
   ASP.profile_aspx.Page_Load(Object sender, EventArgs e) in E:\kunden\homepages\34\d157063788\www\listentowcdb.com\profile.aspx:21
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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