troubleshooting Question

ODBC Connection Failed - Moved to new server

Avatar of bschwarting
bschwarting asked on
ASPMicrosoft AccessOracle DatabaseMicrosoft IIS Web Server
17 Comments1 Solution971 ViewsLast Modified:
I've moved our intranet from Windows 2000 Server to Windows Server 2003 on another box.  I've setup the ODBC connections identical as before, but can't get one connection to work.

Dim rs
Set rs = Server.CreateObject("ADODB.recordset")
Set conn = Server.CreateObject("ADODB.Connection") "Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=C:\Inetpub\wwwroot\updated\database\test.mdb"


Open in new window

The test.mdb has the REPORTS DSN and it has linked tables to an oracle database on DSN PNU.

Here is the error I get:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] ODBC--connection to 'PNU' failed.
/updated/index.asp, line 86

I know the linked tables are working, because when you open the access DB it brings in data fine on the linked tables.

Got any ideas why it's not working from ASP?
Join our community to see this answer!
Unlock 1 Answer and 17 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 17 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros