Need Help! DSN not working

Results 1 to 3 of 3

Thread: Need Help! DSN not working

  1. #1
    Chad1 Guest

    Default Need Help! DSN not working

    I just brought my Web site in house. I am getting the error message:<BR><BR>Microsoft OLE DB Provider for ODBC Drivers error &#039;80004005&#039; <BR><BR>[Microsoft][ODBC Access 97 ODBC driver Driver]General error Unable to open registry key &#039;DriverId&#039;. <BR><BR>login.asp, line 6 <BR><BR>Anyone know what or why?<BR><BR>Thanks<BR>CMS

  2. #2
    Joe Maj Guest

    Default RE: Need Help! DSN not working

    Make sure you have all your variables declared and assigned properly.<BR><BR>Check spellings of this area, stupid things are usually the problem.<BR><BR>Set Conn = Server.CreateObject("ADODB.Connection")<BR> Conn.Open "DSN=;UID=sa;=;"

  3. #3
    chad1 Guest

    Default Here's the code

    I don&#039;t see any errors, but it doesn&#039;t look like what you mentioned...<BR><BR>&#060;%@ LANGUAGE="VBSCRIPT" %&#062;<BR>&#060;% <BR><BR>Set Conn = Server.CreateObject("ADODB.Connection") <BR>"sec")<BR>set rstemp=conn.execute("SELECT * FROM users WHERE user=&#039;" & Request.form("username") & "&#039; AND password=&#039;" & Request.form("userpassword") & "&#039;")<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