Server Error in '/hls' Application.

Could not find a part of the path 'C:\Domains\104593\hlssecure.com\wwwroot\hls\App_Data\Images_V2\LettingsOfDistinction\f0b1818d-6c4c-4ea1-8412-69bab546ed07\aaran_upstairs-1071.jpg'.

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:\Domains\104593\hlssecure.com\wwwroot\hls\App_Data\Images_V2\LettingsOfDistinction\f0b1818d-6c4c-4ea1-8412-69bab546ed07\aaran_upstairs-1071.jpg'.

Source Error:


Line 42:                     Response.Clear();
Line 43:                     Response.ContentType = "Image/Jpeg";
Line 44:                     Response.TransmitFile(fileName);
Line 45:                 }
Line 46:             }

Source File: c:\Domains\104593\hlssecure.com\wwwroot\hls\GetImage.aspx.cs    Line: 44

Stack Trace:


[DirectoryNotFoundException: Could not find a part of the path 'C:\Domains\104593\hlssecure.com\wwwroot\hls\App_Data\Images_V2\LettingsOfDistinction\f0b1818d-6c4c-4ea1-8412-69bab546ed07\aaran_upstairs-1071.jpg'.]
   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) +66
   System.Web.HttpResponse.TransmitFile(String filename, Int64 offset, Int64 length) +134
   System.Web.HttpResponse.TransmitFile(String filename) +12
   GetImage.Page_Load(Object sender, EventArgs e) in c:\Domains\104593\hlssecure.com\wwwroot\hls\GetImage.aspx.cs:44
   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.9168; ASP.NET Version:2.0.50727.9161