
February 11th, 2004, 02:25 PM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
ASP/ODBC Connection Problem
Hi!
I'm having a strange problem... this morning, my app worked great - I connected to my .mdb file fine. Something hosed up in IIS and I had to uninstall and reinstall it. Ever since, I can't seem to connect to my db.
My ASP code works, but when I try to connect I get the following error:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot open the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view its data.
Here's my connection code (which was working perfectly just this morning...):
Dim db
Set db = Server.CreateObject("adodb.connection")
db.open "miscolpittsDSN"
I've deleted and re-created the ODBC DSN, I've tried to connect directly (DSN-less), I've prayed to the Gods of ASP... but nothing works.
It seems like it has to do with my re-installing of IIS, but I don't see how... especially since all my ASP code works fine.
If anyone has any suggestions, I'd REALLY appreciate it!
Thanks!! -Barbie
p.s. If it helps the idea process, I'm running XP... also, I definitely don't have the db open in access, and no one is connecting to it over the network...
|