JhonSina Posted October 27, 2021 Share Posted October 27, 2021 I need help with my application, I use version 1.90.0.1549, it's running on windows server 2019 with IIS 10, after a few hours of use it crashes, it only works again by restarting the application pool, it doesn't show any error in the log, only hangs and stops responding. I was monitoring the system through the unigui monitor, observing, there were a couple of sessions, it just freezes and stops responding, and it gets that connection loss transparency. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted October 27, 2021 Administrators Share Posted October 27, 2021 Hello, You can also check Windows Events through Event Viewer to see if there any related logs. Quote Link to comment Share on other sites More sharing options...
JhonSina Posted October 28, 2021 Author Share Posted October 28, 2021 I didn't find application-related crashes in the events, I don't know how to find out what causes this crash. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted October 28, 2021 Administrators Share Posted October 28, 2021 Make sure your IIS pool settings are done as described here: http://www.unigui.com/doc/online_help/iis_7_0.htm You can also try using LocalSystem account for Pool Identity to see if it improves things. http://www.unigui.com/doc/online_help/using-a-different-account-for-.htm Quote Link to comment Share on other sites More sharing options...
JhonSina Posted October 29, 2021 Author Share Posted October 29, 2021 Yes, the settings are ok, it's not a iis problem, I think it's something in the application that causes the isapi module to crash during use, before the iss I put it in apache and I had the same problem, I can't identify what it is . Quote Link to comment Share on other sites More sharing options...
Tokay Posted October 31, 2021 Share Posted October 31, 2021 You can try use the Eurekalog. Quote Link to comment Share on other sites More sharing options...
JhonSina Posted November 1, 2021 Author Share Posted November 1, 2021 I did some more tests, realized that the connection loss occurs when there is no user interaction, I launched the application, opened three sessions, left some forms open and I watched, as time goes by, the connection is lost. I am using synchronous operations equal to true Quote Link to comment Share on other sites More sharing options...
Roberto Nicchi Posted November 1, 2021 Share Posted November 1, 2021 On 10/29/2021 at 10:57 PM, JhonSina said: Yes, the settings are ok, it's not a iis problem, I think it's something in the application that causes the isapi module to crash during use, before the iss I put it in apache and I had the same problem, I can't identify what it is . You can use a Tunitimer to avoid the session timeout: TUniTimer.DummyEvents Property (unigui.com) 1 Quote Link to comment Share on other sites More sharing options...
JhonSina Posted November 3, 2021 Author Share Posted November 3, 2021 I got a north, observing the application for a few days, I noticed that it crashes when it comes to destroying the session (session timeout), I realized that it only crashes or cannot destroy the session when the user has a specific form open , in case it is a budget form, this form I include the budget, select the print model and show the pdf on the user's screen. As it has several budget models, it has several fastraport report components, I don't know if that's a problem, but at the moment I haven't been able to find out why unigui isn't managing to destroy the session when this form is open with a pdf budget open in user screen. Attached is a video showing how the specific form works. VideoN.avi Quote Link to comment Share on other sites More sharing options...
JhonSina Posted November 8, 2021 Author Share Posted November 8, 2021 Problem solved. Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted November 8, 2021 Share Posted November 8, 2021 17 minutes ago, JhonSina said: Problem solved. Can you please explain How ? Quote Link to comment Share on other sites More sharing options...
JhonSina Posted November 8, 2021 Author Share Posted November 8, 2021 Using synchronous operations equal to true, we have to be careful with encoding. In my application there was a form that was causing the crash. A specific routine that contained the while clause, session monitoring helped me a lot in discovering the form involved. A code from sr.farshad helped a lot, it gets the main module crash error and adds it to the servermodule log. the code is attached. ErrorCode.txt Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted November 8, 2021 Share Posted November 8, 2021 3 hours ago, JhonSina said: Using synchronous operations equal to true, we have to be careful with encoding. In my application there was a form that was causing the crash. A specific routine that contained the while clause, session monitoring helped me a lot in discovering the form involved. A code from sr.farshad helped a lot, it gets the main module crash error and adds it to the servermodule log. the code is attached. ErrorCode.txt 3.46 kB · 5 downloads Thank you "It is always preferred to create the web application in asynchronous mode" From : http://www.unigui.com/doc/online_help/synch-and-asynch-operations.htm?zoom_highlightsub=asynchronous 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.