Results 1 to 2 of 2

Thread: '80004005'

  1. #1
    microsoft ka mara Guest

    Default '80004005'

    Microsoft OLE DB Provider for ODBC Drivers error &#039;80004005&#039; <BR><BR>[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified <BR><BR>I get t he above error, whenever I run an .asp page from IIS. The DSN is perfect and when I test the DSN, it says successful. I tried without DSN also. It is the same. <BR>IF I run the same using a PWS on my local pc, it works fine. I am connecting to the same server.<BR>The code is:<BR><BR>set obj1= server.createobject("adodb.recordset")<BR>obj1.ope n "Select * from tablename",<BR>"dsn=dsnname;uid=the username;pwd=the password"<BR>response.write(obj1.fields(0))<BR>obj 1.close<BR>set obj1=nothing<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: '80004005'

    You should read the post below, of the main 4guys page!

Posting Permissions

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