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 30: 
Line 31:         Dim oCon As New OleDb.OleDbConnection(sConStr)
Line 32:         oCon.Open()
Line 33:         Dim sql As String
Line 34:         sql = "select * from tblEvents where publish=-1 "

Source File: C:\Inetpub\wwwroot\woodship.com\events.aspx.vb    Line: 32

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.events.LoadGrid() in C:\Inetpub\wwwroot\woodship.com\events.aspx.vb:32
   woodship.events.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\woodship.com\events.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