Your password parameter seems to have no equals sign in the example above, could this be your problem?
Here's one of mine that works fine:
set RS = Server.CreateObject("ADODB
dbCon = "Driver={SQL Server};" & _
"Server=" & theDBConnectionServer & ";" & _
"Database=" & theSiteDatabaseName & ";" & _
"Uid=" & theDatabaseUsername & ";" & _
"Pwd=" & theDatabasePassword
RS.ActiveConnection = dbCon
------
Set RS = nothing
Main Topics
Browse All Topics





by: angelIIIPosted on 2007-10-22 at 02:33:19ID: 20121799
>I changed the authentication mode to the mixed mode "SQL Server and Windows Authentication mode"
and did you restart sql server since then? that is required...