Live Chat Icon For mobile
Live Chat Icon

Why do I get the error message ‘System.InvalidOperationException: Application is restarting’

Platform: ASP.NET| Category: Error Handling

This problem occurs because of some antivirus applications write back information to the files that they scan. Every time a user changes the Web.config configuration file, the Global.asax file, or the contents of the Bin folder, the application should restart to incorporate these changes. Because antivirus scanning changes cannot be distinguished from the user’s file changes, the application restarts when the antivirus software scans these folders.

Note This problem may occur even when no error is returned. If the virus-scanning software triggers change notifications, every change notification is doubled at the very least: one real change notification and an additional change notification from the antivirus software some time later.
For more information refer PRB: Random application restarts with ‘Application is restarting’ error in ASP.NET

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.