Server Error in '/' Application.

Could not find file 'C:\Inetpub\vhosts\755751972.localhost\ancientcorinth.net\resources_secure\files\1032\1_DSC_2093.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:\Inetpub\vhosts\755751972.localhost\ancientcorinth.net\resources_secure\files\1032\1_DSC_2093.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: C:\Inetpub\vhosts\755751972.winzone49.grserver.gr\ancientcorinth.net\systems\file_download.ashx    Line: 169

Stack Trace:


[FileNotFoundException: Could not find file 'C:\Inetpub\vhosts\755751972.localhost\ancientcorinth.net\resources_secure\files\1032\1_DSC_2093.jpg'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +1404
   System.IO.FileInfo.get_Length() +14665157
   FileDownload.ProcessRequest(HttpContext context) in C:\Inetpub\vhosts\755751972.winzone49.grserver.gr\ancientcorinth.net\systems\file_download.ashx:169
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +542
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +93


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