
February 11th, 2004, 01:37 PM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 13
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
ODBC Problem...DSN Related..HELP!!
I am trying to make a shoppingcart, and the first page i have to do loads of code to do with the connections, etc.
I have made a DSN on a testing server called 'splatware' and im using dreamweaver mx 2004.
When i view the page this comes up:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
/websites/splatware/shop.asp, line 15
Line 14-18 are as follows:
set conn = server.CreateObject ("ADODB.connection")
conn.open = "fgh"
conn.execute "INSERT INTO ASPSessionPages (SessionID, PageName) values (" _
& Session("SessionID") & ", " _
& "'ShoppingCart')"
I have tried everything, but im guessing it has something to do with the conn.open (highlighted in blue) part of it.
If anyone can please fix the code, it would be very much appreciated!
Thanks for any help given
Tyrone
|