Server Error in '/' Application.

Could not find file 'C:\InsiteCreation\resources_secure\files\76\1_IMG_3777.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:\InsiteCreation\resources_secure\files\76\1_IMG_3777.JPG'.

Source Error:


Line 167:                context.Response.Clear()
Line 168:                context.Response.AddHeader("content-disposition", "attachment;filename=" & sName)
Line 169:                context.Response.AddHeader("Content-Length", infoFile.Length.ToString)
Line 170:                context.Response.ContentType = "application/octet-stream"
Line 171:                'fix to allow big files    

Source File: d:\web\localuser\hjk-isolering.dk\public_html\systems\file_download.ashx    Line: 169

Stack Trace:


[FileNotFoundException: Could not find file 'C:\InsiteCreation\resources_secure\files\76\1_IMG_3777.JPG'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +12796926
   System.IO.FileInfo.get_Length() +13062351
   FileDownload.ProcessRequest(HttpContext context) in d:\web\localuser\hjk-isolering.dk\public_html\systems\file_download.ashx:169
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +195
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +73


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