Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sql Connection Error
Message
 
To
10/11/2004 11:12:17
Alvin Lourdes
Children and Youth Services Cluster
Toronto, Ontario, Canada
General information
Forum:
ASP.NET
Category:
Databases
Environment versions
Environment:
ASP.NET
OS:
Windows 2000
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00960022
Message ID:
00960034
Views:
9
Your sql server is setup for windows authentication (the preferred default). Try setting authentication to sql server mode or mixed mode in the server properties in enterprise manager. Alternatively, you may be able to give your windows account a sql login - this is cofigured in sql enterprise manager logins.


>Have you encountered this problem when trying to connect to SQL Server 2000 with .NET?
>Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
>Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
>
>Exception Details: System.Data.SqlClient.SqlException: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
>
>Source Error:
>An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
>
>
>
>
>Not sure why this keeps happening... Anyone have any ideas.?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform