Results 1 to 2 of 2

Thread: connection

  1. #1
    Join Date
    Dec 1969

    Default connection

    I set up an ODBC connection but I keep getting this same error:<BR><BR>Microsoft OLE DB Provider for ODBC Drivers (0x80004005)<BR>[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified<BR>/exercise/addexercises.asp, line 14<BR><BR>Here is the code I am using:<BR><BR>Set DBConn = Server.CreateObject("ADODB.Connection")<BR> DBConn.ConnectionString = "DSN=fitness;uid=sa;"<BR> DBConn.Open

  2. #2
    Anupama Guest

    Default Try this

    Set DBConn = Server.CreateObject("ADODB.Connection")<BR>DBConn. open= "DSN=fitness;uid=sa;"<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts