I an trying to connect to a sql server in asp.net with the sql connection
object, and every time i try to open the connection i get this
Server Error in '/' Application.
Login failed for user '(null)'. Reason: Not associated with a trusted SQL
Server connection.
why am i getting this? and how do i get around it? I am logged into the
domain on the machine that the asp.net system is on, the sql server is a
seperate machine... vs.net can do a preview of the data and read it in
vs.net ide, and i can connect and retrieve data using the server explorer,
but when i do it programaticly it gives me that error... here is my
connection sub...
Private dbconnectionstr ing As String = "workstatio n id=DELL5100;pac ket
size=4096;integ rated security=SSPI;d ata source=BENE-SQL;persist security
info=False;init ial catalog=ReschIn tranet"
Public dbconnection As New SqlClient.SqlCo nnection(dbconn ectionstring)
object, and every time i try to open the connection i get this
Server Error in '/' Application.
Login failed for user '(null)'. Reason: Not associated with a trusted SQL
Server connection.
why am i getting this? and how do i get around it? I am logged into the
domain on the machine that the asp.net system is on, the sql server is a
seperate machine... vs.net can do a preview of the data and read it in
vs.net ide, and i can connect and retrieve data using the server explorer,
but when i do it programaticly it gives me that error... here is my
connection sub...
Private dbconnectionstr ing As String = "workstatio n id=DELL5100;pac ket
size=4096;integ rated security=SSPI;d ata source=BENE-SQL;persist security
info=False;init ial catalog=ReschIn tranet"
Public dbconnection As New SqlClient.SqlCo nnection(dbconn ectionstring)
Comment