Server Error in '/' Application.

Could not find a part of the path 'C:\Windows\SysWOW64\inetsrv\~\App_Data\Results\hbrelay.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.DirectoryNotFoundException: Could not find a part of the path 'C:\Windows\SysWOW64\inetsrv\~\App_Data\Results\hbrelay.txt'.

Source Error:


Line 225:
Line 226:				
Line 227:					System.IO.StreamReader sr = new System.IO.StreamReader( System.Configuration.ConfigurationSettings.AppSettings["results-path"].ToString() + "\\" + (string)TextResults.ExecuteScalar());
Line 228:					
Line 229:					Label tl = new Label();

Source File: d:\inetpub\vhosts\westxc.com\httpdocs\west\track\Results.aspx.cs    Line: 227

Stack Trace:


[DirectoryNotFoundException: Could not find a part of the path 'C:\Windows\SysWOW64\inetsrv\~\App_Data\Results\hbrelay.txt'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +193
   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) +30
   WestTrack.Results.Page_Load(Object sender, EventArgs e) in d:\inetpub\vhosts\westxc.com\httpdocs\west\track\Results.aspx.cs:227
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.9061; ASP.NET Version:2.0.50727.9062