I've managed to solve my earlier problem of connecting to a database using a connection string, but now I want to do it using a DSN (my web hosting service insists on DSNs).
This is the code:
Set objHCDynamicConn = Server.CreateObject("ADODB.Connection") 'line 15
objHCDynamicConn.Open "DSN=DB1","","password"
and this is the error:
Error Type:
Server object, ASP 0177 (0x800700C1)
800700c1
/uigpresql/development/dbtest.asp, line 15
I have checked the DSN setup and it is OK.
My setup is:
Win 2000 Pro
IIS 5
Frontpage 2002
Latest Jet Service Pack installed
MDAC 2.5 or 2.6 - not sure
I'm going nuts over this - it all worked absolutely fine under Win 98!
Pat
-------------------
System 3 2000 Limited
www.system3-2000.co.uk