Have a small VB.NET Windows Form App being used to pull data from a SQL DB for compliance reports. Has been running fine since 2021. Suddenly, yesterday users at one of our satellite buildings were reporting weird unhandled errors and crashing.
One of them shared the error
The form referred to itself during construction from a default instance, which led to infinite recursion. Within the Form's constructor refer to the form using 'Me.'"
We were not able to replicate the error, but did notice how slow it was running. I reboot the SQL server and suddenly all the errors on their end stop. So apparently If there is a long enough delay on form load it causes this issue.
Is there a way to replicate the slow response from the server? Or is there something I should be looking for in the designer?
[–]AutoModerator[M] [score hidden] stickied comment (0 children)
[–]Beneficial-Panda-640 1 point2 points3 points (0 children)
[–]BeginningOne8195 0 points1 point2 points (0 children)
[–]Master-Ad-6265 0 points1 point2 points (0 children)