SMARAM Posted July 5, 2018 Share Posted July 5, 2018 Hi, I'm having trouble with my isapi application that is going down when total/active threads reaches it's max like the attached image. What does make it go high and freeze application? Is there any documentation how to configure the ThreadPoolSize? All the components that I'm using in the project; - ADOComponents - SQL Server 2005/2008 (depends the customer) - Report Tools QuickReport 5.05.1 and Rave Reports 10.0 - TClientDataSet Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 6, 2018 Administrators Share Posted July 6, 2018 Hi, First of all, you have enabled the AsyncMode. Is there any reason for this? Normally, it is disabled by default. Reason for above behavior is that some of your requests just don't complete. They freeze so the calling thread never returns. You must find the reason for this. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 6, 2018 Administrators Share Posted July 6, 2018 Report Tools QuickReport 5.05.1 and Rave Reports 10.0 Is there any chance that thread number grows when you request reports? Quote Link to comment Share on other sites More sharing options...
SMARAM Posted July 6, 2018 Author Share Posted July 6, 2018 Hi, First of all, you have enabled the AsyncMode. Is there any reason for this? Normally, it is disabled by default. Reason for above behavior is that some of your requests just don't complete. They freeze so the calling thread never returns. You must find the reason for this. The Async mode is for printing QuickReport. Is there a way to identify threads that never returns? I made a test trying to print a report with too many rows and it never returns. Is there any chance that thread number grows when you request reports? Yes. I made a test and confirmed that when you have one quickreport generating, the thread grows and never get down. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 7, 2018 Administrators Share Posted July 7, 2018 In this case, there is something in your report which is not compatible with uniGUI and ISAPI. You can try to change your pool's identity first. Change it from ApplicationPoolIndentity to LocalSystem. Quote Link to comment Share on other sites More sharing options...
SMARAM Posted July 7, 2018 Author Share Posted July 7, 2018 In this case, there is something in your report which is not compatible with uniGUI and ISAPI. You can try to change your pool's identity first. Change it from ApplicationPoolIndentity to LocalSystem. If a change to LocalSystem, it returns the error when I try to print my report: "there is no default printer currently selected" Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 7, 2018 Administrators Share Posted July 7, 2018 If a change to LocalSystem, it returns the error when I try to print my report: "there is no default printer currently selected" This may help: https://stackoverflow.com/questions/2579946/quickreport-throws-there-is-no-default-printer-currently-selected-exception Quote Link to comment Share on other sites More sharing options...
SMARAM Posted July 10, 2018 Author Share Posted July 10, 2018 This may help: https://stackoverflow.com/questions/2579946/quickreport-throws-there-is-no-default-printer-currently-selected-exception Ok, the error about the default printer is gone but now it doesn't throw an exception on client but on server, it pops this error: "An unhandled win32 exception occurred in w3wp.exe [4408]. The Just-In-Time debugger was launched without necessary security permissions. To debug this process, the Just-In-Time debugger must be run as an Administrator. Would you like to debug this process?" Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 11, 2018 Administrators Share Posted July 11, 2018 Your report contains elements that are not compatible with ISAPI dll. Can you test with a blank or simple report? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.