
connecting from asp just using system dsn name
Have you considered using a Microsoft Data Link instead of an ODBC DSN? You
can create a .udl file to reference by right clicking in WindowsNT Explorer
or on the desktop and selecting New/Microsoft Data Link. You then set up
the connection using the OLE DB Provider for SQL Server, server name,
authentication info, database, etc. The reference in the ASP would look
something like:
set oConn = Server.CReateObject("ADODB.Connection")
oConn.Open "File Name=<path>\datalinkfile.udl"
set CreateConnection = oConn