Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Connecting to SQL Server in ASP.NET pages

FidzFidz Member Posts: 26
got the following error message whenever I tried connecting to SQL server: "Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection."

here is my Connection string :
'Establish connection with SQL server
Dim SQLcon As New SqlConnection("server=localhost;uid=sa;pwd=;database=myDB")

I am running both SQLServer and IIS on same machine.....using WServer2003 ....

Sign In or Register to comment.