Server Error in '/' Application.

Could not find file 'C:\InsiteCreation\resources_secure\files\107\3_CV Annika.pdf'.

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\107\3_CV Annika.pdf'.

Source Error:


Line 153:                context.Response.Clear()
Line 154:                context.Response.AddHeader("content-disposition", "attachment;filename=" & sName)
Line 155:                context.Response.AddHeader("Content-Length", infoFile.Length.ToString)
Line 156:                context.Response.ContentType = "application/octet-stream"
Line 157:                'fix to allow big files    

Source File: D:\websites\helseogidrettsklinikken\helseogidrettsklinikkenWeb2012\systems\file_download.ashx    Line: 155

Stack Trace:


[FileNotFoundException: Could not find file 'C:\InsiteCreation\resources_secure\files\107\3_CV Annika.pdf'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +1344
   System.IO.FileInfo.get_Length() +14953882
   FileDownload.ProcessRequest(HttpContext context) in D:\websites\helseogidrettsklinikken\helseogidrettsklinikkenWeb2012\systems\file_download.ashx:155
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +790
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +88


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