William Buchanan

William Buchanan

  • 1.7k
  • 25
  • 2.6k

Site hangs if page load interrupted

Sep 27 2021 5:11 AM

Hi all

This is a strange problem. We have an ASP.NET MVC application. We have a problem where if you close a page before it has finished loading, then it is impossible to get in to the application again without closing all your browser windows. So, this is the sequence of events:

  • Load application - everything works fine

  • Load a page - while it is loading close the browser/tab

  • Open a new tab and browse to application -> nothing loads

  • Close all open browsers (e.g. Chrome)

  • Reload browser

  • Navigate to application -> works ok.

Has anyone seen this before?
If I press the pause button on the debugger while the page is loading it just tells me nothing is executing. I occasionally get something like below where it looks like a task is awaiting a scheduled task, but this is all in Microsoft code.

Any thoughts where I can start looking?

Thanks

 


Answers (1)