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.

 


Opening Output file failed: The process cannot access the file because it is being used by another process.<br>

Server Error in '/' Application.

Opening Output file failed: The process cannot access the file 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.Runtime.InteropServices.COMException: Opening Output file failed: The process cannot access the file because it is being used by another process.


Source Error:


Line 116:            if (!Directory.Exists(Server.MapPath("Temp/"))) 
Line 117:                Directory.CreateDirectory(Server.MapPath("Temp/"));
Line 118:            filename_end = doc.Save(Server.MapPath("Temp/" + filename + ".pdf"), true);
Line 119:
Line 120:            String size = "";

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

Stack Trace:


[COMException (0x800a002e): Opening Output file failed: The process cannot access the file because it is being used by another process.
]
   ASPPDFLib.IPdfDocument.Save(String Path, Object Overwrite) +0
   Abfallhandbuch_generatePDF.Page_Load(Object sender, EventArgs e) in d:\sites\mpsecure\Abfallhandbuch\generatePDF.aspx.cs:118
   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