D
Don Peters
I'm running Win XP Pro with Visual Studio 2002 and have copied a working
ASPX application to my PC in order to support it here. The application uses
SQL Server, i.e., MSDE 2000.
When I bring up Server Explorer in Visual Studio, I can browse all the
tables in the application's database, as expected.
When I right-click on the database and select "Modify Connection...", the
Connection tab of the Data Link Properties form indicates I'm using "Windows
NT Integrated security". When I click on button "Test Connection", the test
is successful. So far, so good.
However, this database actually uses SQL Server authentication. So when I
click on "Use a specific user name and password" instead of "Use Windows NT
Integrated security", and supply a User Name and Password, and then click
button "Test Connection", the test fails. The error given is that the "Login
failed", and the reason given is:
Not associated with a trusted SQL Server connection
I've searched the Internet for this problem, and found it reported numerous
times. But each time the solution seems to be to use Enterprise Manager's
security tab to set the login to use BOTH Windows NT and SQL Server
authentication.
Unfortunately XP Pro doesn't have Enterprise Manager, and this MSDE "Data
Link Properties" form doesn't allow setting both forms of authentication at
the same time.
I've just upgraded my MSDE from SP1 to SP3, but that didn't help.
Any ideas as to how I can fix this problem?
Don
ASPX application to my PC in order to support it here. The application uses
SQL Server, i.e., MSDE 2000.
When I bring up Server Explorer in Visual Studio, I can browse all the
tables in the application's database, as expected.
When I right-click on the database and select "Modify Connection...", the
Connection tab of the Data Link Properties form indicates I'm using "Windows
NT Integrated security". When I click on button "Test Connection", the test
is successful. So far, so good.
However, this database actually uses SQL Server authentication. So when I
click on "Use a specific user name and password" instead of "Use Windows NT
Integrated security", and supply a User Name and Password, and then click
button "Test Connection", the test fails. The error given is that the "Login
failed", and the reason given is:
Not associated with a trusted SQL Server connection
I've searched the Internet for this problem, and found it reported numerous
times. But each time the solution seems to be to use Enterprise Manager's
security tab to set the login to use BOTH Windows NT and SQL Server
authentication.
Unfortunately XP Pro doesn't have Enterprise Manager, and this MSDE "Data
Link Properties" form doesn't allow setting both forms of authentication at
the same time.
I've just upgraded my MSDE from SP1 to SP3, but that didn't help.
Any ideas as to how I can fix this problem?
Don