-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert methods hangs sometimes. #172
Comments
Hello, We have the same issue with TuesPechkin on the IIS environment - the Convert method hangs randomly and just recycling the App Pool resolve the issue. This is happening usually after a code deploy. Do you have any workaround for this? Thank you, |
Did you try unload RemotingToolset? |
@tloy1966 using unload it will crash the application after second request when trying to convert. |
@vsarunov did you find any solution for hanging or crash? |
I am also facing the same problem. |
Hi,
I am using TuesPechkin v2.0.50727 in a web application hosted on IIS. I have created a static class for converter. To generate a PDF file I am only passing the document details to the convert method written in my static class. But sometimes tuesPechkin hangs while generating a PDF file. In such cases IIS reset is required to start generating PDF again. I have also observed that the html file for which tuesPechkin hangs is coped to the temp folder with name "wktemp-*" but not converted. When a file is converted to PDF, the html file is deleted from temp folder and only PDFfile is present.
Following code is used to create the static class.
public static class PeckinConvertor
{
private static IConverter converter =
new ThreadSafeConverter(
new RemotingToolset(
new Win32EmbeddedDeployment(
new TempFolderDeployment())));
}
In order to generate the PDF I am creating a document object and passing it to the convert method of the static class. This issue is very random in nature. Sometimes it work perfectly for weeks and sometimes I face this issues on daily basis.
Please help me resolve this issue.
Thanks in Advance
The text was updated successfully, but these errors were encountered: