Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: Login Failed


Message #1 by "Rene Vazquez Moreno" <renevazquez@h...> on Thu, 30 May 2002 21:17:28
Hi, when I declare a sqlDataAdapter and I assign the connection property 
of the selectCommand in this way: 

dAdapt.SelectCommand.Connection  = new SqlConnection("server=
(local);Trusted_Connection=yes;database=RMA;");

when i call the method

dAdapt.Fill(data);

I get the error: Login failed for user 'RENEVAZQUEZ\ASPNET' 

(renevazquez is the name of my sql server)

If you know how can I make the connection in order to access my database, 
the help would be great.


Thanks a lot in advance.


  Return to Index