Server Error in '/' Application.

Unknown database 'phc_ncitetech_com'

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: MySql.Data.MySqlClient.MySqlException: Unknown database 'phc_ncitetech_com'

Source Error:


Line 186:            objDataAdapter.Fill(dt)
Line 187:        Catch ex As Exception
Line 188:            Throw
Line 189:        Finally
Line 190:            If m_objConn.State <> ConnectionState.Closed Then m_objConn.Close()

Source File: \\10.102.6.10\primaryhealthcarecenter.org\public\App_Code\mySqlDAL.vb    Line: 188

Stack Trace:


[MySqlException (0x80004005): Unknown database 'phc_ncitetech_com']
   MySql.Data.MySqlClient.MySqlStream.ReadPacket() +202
   MySql.Data.MySqlClient.NativeDriver.Authenticate411() +146
   MySql.Data.MySqlClient.NativeDriver.Authenticate() +72
   MySql.Data.MySqlClient.NativeDriver.Open() +1012
   MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings) +48
   MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection() +11
   MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() +190
   MySql.Data.MySqlClient.MySqlPool.TryToGetDriver() +129
   MySql.Data.MySqlClient.MySqlPool.GetConnection() +106
   MySql.Data.MySqlClient.MySqlConnection.Open() +293
   System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState& originalState) +31
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +112
   System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) +162
   System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) +115
   MySqlDAL.GetDTFromSQL(String sql) in \\10.102.6.10\primaryhealthcarecenter.org\public\App_Code\mySqlDAL.vb:188
   Controls_service.LoadRandomService(Int32 service_to_exclude) in \\10.102.6.10\primaryhealthcarecenter.org\public\Controls\service.ascx.vb:25
   links.Page_Load(Object sender, EventArgs e) in \\10.102.6.10\primaryhealthcarecenter.org\public\links.aspx.vb:15
   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.9174; ASP.NET Version:2.0.50727.9175