Error 18452 - Login failed for user ‘username’. Reason: Not associated with a trusted SQL Server connection.
Connection failed:
SQL Server Error: Error 18452
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user ‘username’. Reason: Not associated with a trusted SQL Server connection.
SQL Server is not set to use both SQL Server and Windows Authentication Mode.
To resolve this issue, follow the instructions to set User Authentication.
SQL Server 2000:
- Go to Start > Programs > Microsoft SQL Server > Enterprise Manager.
- Right-click the Server name, select Properties > Security.
- Under Authentication, select SQL Server and Windows.
SQL Server 2005:
- Go to Start > Programs > Microsoft SQL Server 2005 > SQL Server Management Studio.
- Right-click the Server name, select Properties > Security.
- Under Server Authentication, select SQL Server and Windows Authentication Mode.
The server must be stopped and re-started before this will take effect
No related posts.