Hi,
I am trying to run a logIn form application using MS Visual Studio 10, running on windows 7. When trying to open connection with SQL server 2005, i get an error. My connection is as follows:
Data Source=XXX;Initial Catalog=XXX;Integrated Security=True
and the following error appears:
System.Data.SqlClient.SqlException was unhandled
Class=14
ErrorCode=-2146232060
LineNumber=0
Message=Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
Number=18452
Procedure=""
Server=XXXXX
Source=.Net SqlClient Data Provider
State=1
I am trying to run a logIn form application using MS Visual Studio 10, running on windows 7. When trying to open connection with SQL server 2005, i get an error. My connection is as follows:
Data Source=XXX;Initial Catalog=XXX;Integrated Security=True
and the following error appears:
System.Data.SqlClient.SqlException was unhandled
Class=14
ErrorCode=-2146232060
LineNumber=0
Message=Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
Number=18452
Procedure=""
Server=XXXXX
Source=.Net SqlClient Data Provider
State=1