Server Error in '/hls' Application.

Could not find file 'C:\Domains\104593\hlssecure.com\wwwroot\hls\App_Data\Images_V2\newforestholidaylets\b49f64d3-f150-4695-b758-d9c7c8ff76a0\Dane Stream 8 BBQ & balcony.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.FileNotFoundException: Could not find file 'C:\Domains\104593\hlssecure.com\wwwroot\hls\App_Data\Images_V2\newforestholidaylets\b49f64d3-f150-4695-b758-d9c7c8ff76a0\Dane Stream 8 BBQ & balcony.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:


[FileNotFoundException: Could not find file 'C:\Domains\104593\hlssecure.com\wwwroot\hls\App_Data\Images_V2\newforestholidaylets\b49f64d3-f150-4695-b758-d9c7c8ff76a0\Dane Stream 8 BBQ & balcony.jpg'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +305
   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