What is app_offline.htm file?
Asp.net framework avail offline mode of web application to perform some update and data transfer operation on production server.In offline mode application does not respond to request made for dynamic web page.So,when a request for web page is made from an application in offline mode,it return error message to the user which states:
Asp.net framework avail offline mode of web application to perform some update and data transfer operation on production server.In offline mode application does not respond to request made for dynamic web page.So,when a request for web page is made from an application in offline mode,it return error message to the user which states:
"This application is currently offline.To enable the application, remove the app_offline.htm file from the application root directory."
How app_offline.htm file is created?
SQL Server 2005 express edition and its superceded editions does not support multiple processes.Only single process can access database at a one time.So,when database is accessed through visual studio, visual studio's integrated web server,also known as cassini cannot access database.This will result to internal server error.To prevent these,visual studio places app_offline.htm file under the root of your web application,which put your application in offline mode.