I need some help connecting to my Access database.
I have had you enable Parent Paths.
I have ftp'd a databse (mdb) file to my root directory (same level as mydomain.net) and I have tried to connect to it using the following strings (this is for a webwiz forum)
strCon = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & strDbPathAndName
the path used as follows...
strPortalDbPathAndName = Server.MapPath("../mydb.mdb")
error message...
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x684 Thread 0xcb4 DBC 0xa9d3024 Jet'.
/portal/forum/admin/functions/portal_connections.asp, line 62
The other string is...
strCon = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & strDbPathAndName
the path used...
strPortalDbPathAndName = Server.MapPath("../mydb.mdb")
error...
Microsoft JET Database Engine error '80004005'
Could not find file 'D:\hshome\jhoelz\darkrift.net\mydb.mdb'.
/portal/forum/admin/functions/portal_connections.asp, line 62
What could I be doing wrong?
I want to use a dsn less connection if possible..
I have also installed a MsSql db and when I try to access that I get the following...
Microsoft OLE DB Provider for SQL Server error '80040e09'
EXECUTE permission denied on object 'wwfSpActiveUsersWhereIPis', database 'jhoelz_drport', owner 'dbo'.
/portal/forum/includes/active_users_inc.asp, line 85
Thanks for your help
I have had you enable Parent Paths.
I have ftp'd a databse (mdb) file to my root directory (same level as mydomain.net) and I have tried to connect to it using the following strings (this is for a webwiz forum)
strCon = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & strDbPathAndName
the path used as follows...
strPortalDbPathAndName = Server.MapPath("../mydb.mdb")
error message...
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x684 Thread 0xcb4 DBC 0xa9d3024 Jet'.
/portal/forum/admin/functions/portal_connections.asp, line 62
The other string is...
strCon = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & strDbPathAndName
the path used...
strPortalDbPathAndName = Server.MapPath("../mydb.mdb")
error...
Microsoft JET Database Engine error '80004005'
Could not find file 'D:\hshome\jhoelz\darkrift.net\mydb.mdb'.
/portal/forum/admin/functions/portal_connections.asp, line 62
What could I be doing wrong?
I want to use a dsn less connection if possible..
I have also installed a MsSql db and when I try to access that I get the following...
Microsoft OLE DB Provider for SQL Server error '80040e09'
EXECUTE permission denied on object 'wwfSpActiveUsersWhereIPis', database 'jhoelz_drport', owner 'dbo'.
/portal/forum/includes/active_users_inc.asp, line 85
Thanks for your help