Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6767127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:54:51+00:00 2026-05-26T14:54:51+00:00

I was working(learning) with Data bound controls in ASP.Net and suddenly got the error:

  • 0

I was working(learning) with Data bound controls in ASP.Net and suddenly got the error:

This application is currently offline. To enable the application, remove the app_offline.htm file from the application root directory.

I started searching it on google but ended up with no helpful solution. I was not able find app_offline.htm file also. And then I suddenly tried to open my project in browser again and it opened successfully and now its working. And now I have observed that in between as I am working on the project it shows this error in between (cant say when and on what criteria) and then after some time it starts working again. Can anybody help me why its happening?

I am using ASP.Net4.0 and Sql Server Express Edition.

EDIT

With somemore searching on google it seems that this gets created automatically in the solution. If we delete it the program works fine and even if you do not delete it gets deleted after sometime by itself. but will be created again after some time.

Its hard to post any code because there is no code that is giving error. But when I press (ctrl+F5) to open my project its giving error. Still for reference I created a webform Review.aspx based on a masterpage. I created a combobox and a gridview inside it. Here Combobox has some collection of numbers (GenreId) and when you select a GenreId it do Autopostback and Gridview shows the entry associated with the selected GenreId. enter image description here

And then I tried to debug it in a browser, its giving error (for some time).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T14:54:52+00:00Added an answer on May 26, 2026 at 2:54 pm

    Here is the reason. have you try after closing all the design windows?

    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. Please note the accessing database
    means opening any component of the database (I.e. table, view, stored
    procedure etc.) into the design window. When design window is closed,
    VS 2005 removes app_offline.htm file making the application in onliner
    mode again.

    http://www.codeproject.com/KB/aspnet/app_offline.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As I am learning and working on Asp.Net MVC application, I want to know
I'm learning mysql and have been trying to get this working, but an error
I'm learning C# and working on my first ASP.Net e-commerce website. I have the
I'm currently learning ASP.NET MVC and using Nhibernate. I would like to use Cascading
I am learning ASP.net Ajax. I want to pull data from a db table
I'm currently learning to use Core Data on iOS , in my test application
I'm just starting out learning ASP.NET MVC. I'm working on a project created with
I am working on a small project for learning PHP better. This project has
I'm working on a simple application to start learning my way around WPF. I
I'm currently working on a semantic web e-learning project. I've made an ontology and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.