0

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?

B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
  • 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 Answers1

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