Computing.Net > Forums > Programming > ASP ODBC Error

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

ASP ODBC Error

Reply to Message Icon

Name: Dustin
Date: October 30, 2002 at 18:23:18 Pacific
OS: Windows NT
CPU/Ram: Enough
Comment:

When I try to load an .asp script it gives me this exact error:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access 97 Driver] Can't open database '(unknown)'. It may not be a database that your application recognizes, or the file may be corrupt.

/guestbook/dsn.asp, line 6


Any ideas? Respond or e-mail me. Thanks!




Sponsored Link
Ads by Google

Response Number 1
Name: Guti
Date: October 31, 2002 at 01:29:04 Pacific
Reply:

Is the DSN properly created and configured?


0

Response Number 2
Name: Adnan
Date: November 2, 2002 at 01:44:00 Pacific
Reply:

this may gelp u if u r not using DSN
its the tested code

dim conn
dim rec
set conn = server.createobject("ADODB.connection")
set rec = server.createobject("ADODB.recordset")
conn.provider = "microsoft.jet.oledb.4.0"
conn.open "DATABASE NAME"


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Developers wanted -- any ... Mfc



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: ASP ODBC Error

ASP display error www.computing.net/answers/programming/asp-display-error/1030.html

ASP error 80070520 www.computing.net/answers/programming/asp-error-80070520/14355.html

asp.net web access failed error www.computing.net/answers/programming/aspnet-web-access-failed-error-/9592.html