dsn error

Results 1 to 3 of 3

Thread: dsn error

  1. #1
    Join Date
    Dec 1969

    Default dsn error

    This is my error. I know my system DSN is fine, because it isn&#039t that hard to get it right.<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><BR>&#060;%<BR> Dim conObj<BR> set conObj = Server.CreateObject("ADODB.Connection")<BR> conObj.ConnectionString = "DSN=MDFDB"<BR> conObj.open<BR><BR> Dim propObj<BR> For Each propObj in conObj.Properties<BR> Response.Write propObj.Name & ": " & propObj.Value & "&#060;br /&#062;"<BR> Next<BR> <BR> conObj.close<BR> Set conObj = Nothing<BR>%&#062;

  2. #2
    Jose Cuervo Guest

    Default RE: dsn error

    Check out the DSN in the ODBC. It is not specified correctly. <BR><BR>Or at least that&#039s what I think. Although I killed a crapload of braincells last night, and can&#039t really think right now<BR><BR><BR>Jose

  3. #3
    Chrace Guest

    Default RE: dsn error

    Exact code works fine here. Check the ODBC again, sounds like a spelling error.

Posting Permissions

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