While testing my Razor/asp.net web site, I continually find a file named "app_offline.htm" in my Recycle Bin. Is this something that will plague the poor unsuspecting visitor to my site?
Asked
Active
Viewed 220 times
0
-
Try it from another computer! That way you can easily determine if it's generated by the server side or client side of the application. Of course, a VM will do just fine. – Tomas Aschan May 05 '13 at 15:10
-
Something is generate it for probably make an update of your page, or something similar, after the update is simple delete it. – Aristos May 05 '13 at 15:23
1 Answers
1
It won't be the case while you publish your site. Reason is:
SQL Server 2005 express edition does not support multiple processes. Only single process can access database at a time. So when a database is accessed through visual studio, ASP.net runtime cannot access the database. This will result into the internal server error. To prevent this, VS 2005 places app_offline.htm file in the application's root directory. The file contain above message. This causes ASP.net to put the application in offline mode.
source: http://www.codeproject.com/Articles/21319/Putting-ASP-net-Application-In-Offline-Mode-Using

Bhavik
- 4,836
- 3
- 30
- 45
-
Strange, as I'm not using SQL Server express of any year or edition in this site. – B. Clay Shannon-B. Crow Raven May 06 '13 at 03:28
-
app_offline.htm is a method that is used by VS2005 to keep your application safe. – Bhavik May 06 '13 at 19:35
-
Okay, but I'm not using VS2005; This is a web site built with VS2012 that does not use any database features. – B. Clay Shannon-B. Crow Raven May 06 '13 at 20:21