Errore server nell'applicazione '/'.

Impossibile trovare il file 'C:\Domini\www.torredeironchi.com\App_Data\gare/df549bcf-60a8-4712-8cbe-bd6158b71c6d/1ef74399-79e9-4fb7-9268-c370f8654535.pdf'.

Descrizione: Eccezione non gestita durante l'esecuzione della richiesta Web corrente. Per ulteriori informazioni sull'errore e sul suo punto di origine nel codice, vedere l'analisi dello stack.

Dettagli eccezione: System.IO.FileNotFoundException: Impossibile trovare il file 'C:\Domini\www.torredeironchi.com\App_Data\gare/df549bcf-60a8-4712-8cbe-bd6158b71c6d/1ef74399-79e9-4fb7-9268-c370f8654535.pdf'.

Errore nel codice sorgente:


Riga 15:         context.Response.Clear()
Riga 16:         context.Response.AddHeader("Content-Disposition", "attachment; filename=" + File.Name)
Riga 17:         context.Response.AddHeader("Content-Length", File.Length.ToString())
Riga 18:         context.Response.ContentType = "application/...."
Riga 19:         context.Response.WriteFile(File.FullName)

File di origine: C:\Domini\www.torredeironchi.com\admin\class\getDoc.ashx    Riga: 17

Analisi dello stack:


[FileNotFoundException: Impossibile trovare il file 'C:\Domini\www.torredeironchi.com\App_Data\gare/df549bcf-60a8-4712-8cbe-bd6158b71c6d/1ef74399-79e9-4fb7-9268-c370f8654535.pdf'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +305
   System.IO.FileInfo.get_Length() +7622836
   getDoc.ProcessRequest(HttpContext context) in C:\Domini\www.torredeironchi.com\admin\class\getDoc.ashx:17
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


Informazioni di versione: Versione di Microsoft .NET Framework:2.0.50727.8813; Versione di ASP.NET:2.0.50727.8951