Server: Msg 18452, Level 16, State 1[Microsoft][ODBC SQL Server Driver][SQL Server]
Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection.
After you set up a SQL Server 2000 server by using the Setup Wizard to perform a Typical installation or by using the Sqlins.iss file for a typical unattended installation, the default security authentication mode is Microsoft Windows NT Authentication, which is different from Microsoft SQL Server 7.0. In SQL Server 7.0 the default authentication mode is Mixed (Windows NT Authentication Mode and SQL Server Authentication).
You cannot use a SQL Server Standard security login account after a Typical installation of SQL Server 2000 until you change the authentication mode to Mixed.
To change the authentication mode from Windows NT Authentication Mode (only) to Mixed Mode, use the following steps:
- Open the Enterprise Manager.
- Expand a Server group.
- Right-click a server name, and then click Properties.
- Click the Security tab.
- Under Authentication, click the SQL Server and Windows option button.
- Restart SQL Server in order for the change to take effect.