Abfallhandbuch-Generator © 2008 Abfallinfo Schweiz

Das Abfallhandbuch wird erzeugt. Dies kann je nach Auswahl einige Zeit in Anspruch nehmen.
0 %

Die Erzeugung des pdf-Files kann nicht abgebrochen werden.

 


The process cannot access the file 'D:\sites\mpsecure\abfallhandbuch\Temp\Abfallhandbuch9.pdf' because it is being used by another process.

Server Error in '/' Application.

The process cannot access the file 'D:\sites\mpsecure\abfallhandbuch\Temp\Abfallhandbuch9.pdf' because it is being used by another process.

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.IOException: The process cannot access the file 'D:\sites\mpsecure\abfallhandbuch\Temp\Abfallhandbuch9.pdf' because it is being used by another process.

Source Error:


Line 107:                    filename += "0";
Line 108:                    foreach(String file in System.IO.Directory.GetFiles(Server.MapPath("Temp/")))
Line 109:                        File.Delete(file);
Line 110:                }
Line 111:            }

Source File: d:\sites\mpsecure\Abfallhandbuch\generatePDF.aspx.cs    Line: 109

Stack Trace:


[IOException: The process cannot access the file 'D:\sites\mpsecure\abfallhandbuch\Temp\Abfallhandbuch9.pdf' because it is being used by another process.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +227
   System.IO.File.InternalDelete(String path, Boolean checkHost) +13080417
   System.IO.File.Delete(String path) +23
   Abfallhandbuch_generatePDF.Page_Load(Object sender, EventArgs e) in d:\sites\mpsecure\Abfallhandbuch\generatePDF.aspx.cs:109
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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