We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

File in use

Thread ID:

Created:

Updated:

Platform:

Replies:

41405 Mar 1,2006 09:41 AM UTC Mar 2,2006 03:55 AM UTC Windows Forms 1
loading
Tags: PDF
Giorgio Vaccarino
Asked On March 1, 2006 09:41 AM UTC

When I execute the following code in a ASP.NET web service I cannot delete the temporary xml file and it remains locked for a undefined time. Any suggestion ? PDFLogicDocument _pdf = new PDFLogicDocument(); _pdf.OpenXml(_xmlFile); string _pdfPath = Path.Combine(TargetPath, Guid.NewGuid().ToString("N") + ".pdf"); _pdf.Save(_pdfPath); File.Delete(_xmlFile);

Ajish [Syncfusion]
Replied On March 2, 2006 03:55 AM UTC

Hi, Sorry for the delay, I was able to see the problem. I will consult with the development team and get back to you shortly on this issue. Thanks, Ajish. >When I execute the following code in a ASP.NET web service I cannot delete the temporary xml file and it remains locked for a undefined time. >Any suggestion ? > >PDFLogicDocument _pdf = new PDFLogicDocument(); >_pdf.OpenXml(_xmlFile); >string _pdfPath = Path.Combine(TargetPath, Guid.NewGuid().ToString("N") + ".pdf"); >_pdf.Save(_pdfPath); >File.Delete(_xmlFile); >

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;