Server Error in '/' Application.

Unspecified error

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.OleDb.OleDbException: Unspecified error

Source Error:


Line 23:         con = ConfigurationManager.ConnectionStrings["conn"].ConnectionString;
Line 24:         OleDbConnection objcon = new OleDbConnection(con);  
Line 25:         objcon.Open();
Line 26:         OleDbCommand objCommands = new OleDbCommand("select top 6 strMessageText from NW_TBL_MessageText", objcon);
Line 27:         OleDbDataAdapter objDataAdapter = new OleDbDataAdapter(objCommands);

Source File: d:\inetpub\westnyackswimclub.com\website\USERCONTROL\ImpNotice.ascx.cs    Line: 25

Stack Trace:


[OleDbException (0x80004005): Unspecified error]
   System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) +1131233
   System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +53
   System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup) +27
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +47
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
   System.Data.OleDb.OleDbConnection.Open() +37
   UserControl_ImpNotice.BindValues() in d:\inetpub\westnyackswimclub.com\website\USERCONTROL\ImpNotice.ascx.cs:25
   UserControl_ImpNotice.Page_Load(Object sender, EventArgs e) in d:\inetpub\westnyackswimclub.com\website\USERCONTROL\ImpNotice.ascx.cs:17
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433