Server Error in '/' Application.

'c:\inetpub\wwwroot\woodship\databases\hbc.mdb' is not a valid path.  Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.

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: 'c:\inetpub\wwwroot\woodship\databases\hbc.mdb' is not a valid path.  Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.

Source Error:


Line 27:         sConStr = ConfigurationSettings.AppSettings("dbConStr")
Line 28:         Dim oCon As New OleDb.OleDbConnection(sConStr)
Line 29:         oCon.Open()
Line 30:         Dim oCmd As New OleDb.OleDbCommand("select * from tblURLs where category='boating' and publish=-1")
Line 31:         oCmd.Connection = oCon

Source File: C:\Inetpub\wwwroot\woodship.com\links.aspx.vb    Line: 29

Stack Trace:


[OleDbException (0x80004005): 'c:\inetpub\wwwroot\woodship\databases\hbc.mdb' is not a valid path.  Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.]
   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
   woodship.links.LoadGrid() in C:\Inetpub\wwwroot\woodship.com\links.aspx.vb:29
   woodship.links.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\woodship.com\links.aspx.vb:23
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   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