Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Asp, data base connection.

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
hi, I am recieving thie error and I have no clue what might be worng

Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
/0356-ArcLink/ line 26


the line it points to is this.

SET cn = Server.CreateObject("ADODB.Connection")
cn.Open strConnect

please help me:)
thanks
 
Without seeing your full coding and whether ur using DSN or DSN-less, your code DSN-less should look something like this

set conn=Server.CreateObject("ADODB.Connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open(Server.Mappath("Database.mdb"))
set rs=Server.CreateObject("adodB.recordset")

Maybe you could post your db opening code. Saturday 12.00
im6.gif
im2.gif
im2.gif
20.00
im5.gif
im4.gif
im7.gif
3.00am
im8.gif
Sunday [img http
 
Can you post the content of your strConnect variable. Mighty :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top