I'm trying to connect to SQL server 7<br>I created the ODBC Machine DSN on the server where the .asp is runnign I'm using IIS 4<br>here is my code<br>----------------------------<br><%@ Language=VBScript %> <br><html><br><br><head><br><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><br><meta name="GENERATOR" content="Microsoft FrontPage 4.0"><br><meta name="ProgId" content="FrontPage.Editor.Document"><br><title>New Page 2</title><br></head><br><br><body><br><% Response.Write("These records are pulled from a SQL Server database"
%> <br><%<br>Set Conn = Server.CreateObject("ADODB.Connection"
<br>Conn.Open "People"<br>Set RS = Conn.Execute("SELECT * FROM Persons"
<br>If Not RS.EOF Then<br> Do<br> Response.Write RS("PersonFName"
& " " & RS("PersonLName"
<br> RS.Movenext<br> Loop Until RS.EOF<br>Else<br> msgbox "Empty Baby"<br>End If<br>%><br></body><br><br></html><br>-------------------------------------<br>here is the result page<br><br><br>These records are pulled from a SQL Server database <br>Microsoft OLE DB Provider for ODBC Drivers error '80040e4d' <br><br>[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'SBSDOMAIN\IUSR_SMALLBSERVER'. <br><br>/test2.asp, line 15 <br>-----------------------<br>Line 15 is the connect line:<br>Conn.Open "People"<br><br>Any Ideas???<br><br>I have an Access database that I wrote a similar test pasge for ant it works just fine.<br>TIA<br> <p>DougP<br><a href=mailto: dposton@universal1.com> dposton@universal1.com</a><br><a href= > </a><br> Ask me how Bar-codes can help you be more productive.