Server Error in '/' Application.

Could not locate entry in sysdatabases for database 'schools_web'. No entry found with that name. Make sure that the name is entered correctly.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Could not locate entry in sysdatabases for database 'schools_web'. No entry found with that name. Make sure that the name is entered correctly.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[SqlException (0x80131904): Could not locate entry in sysdatabases for database 'schools_web'. No entry found with that name. Make sure that the name is entered correctly.]
   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +1960938
   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4890347
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194
   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2412
   System.Data.SqlClient.SqlInternalConnectionTds.ChangeDatabaseInternal(String database) +84
   System.Data.SqlClient.SqlInternalConnection.ChangeDatabase(String database) +95
   System.Data.SqlClient.SqlConnection.ChangeDatabase(String database) +85
   APNBIG.Components.Utils.OpenConn(String database) +83
   APNBIG.Components.Utils.FillListBox(String database, String table, String[] aSelVals, String valuefield, String textfield, HtmlSelect listbox, String orderby) +41
   APNBIG.Components.SearchPage.InitSearchForm() +827
   APNBIG.Components.SearchPage.Page_Load(Object sender, EventArgs e) +176
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.8000; ASP.NET Version:2.0.50727.8001