Today, when connecting to an ASP database, the SQL server2005 database is used. As usual, the database connection field is written, but the user 'sa 'logon error is prompted. This user is not associated with a trusted SQL server connection. So I tried to find a solution on the Internet. The method is as follows:
Right-click the attribute,
Reset the password, enable the SA account in the status, and restart the service.
There is another small problem,
Network-related or instance-specific errors occur when you establish a connection with SQL Server. The server is not found or cannot be accessed. Verify that the Instance name is correct and SQL server is configured to allow remote connection. (Provider: named pipeline provider, error: 40-unable to open the connection to SQL Server)
This is because of the database connection string problem. In SQL server2005, the server = ". // sqlexpress" is configured to solve this problem.