One of my friend was trying to install DotNetNuke from Windows Web App Gallery. While installing he was prompted for SQL server administrator user ('sa') credentials. He was clueless about this as he never gave a password for it. He tried using his system password (he was working on his personal system) and got the famous error - Login failed for user 'sa'.
Reason:
Actually while installing SQL server he had used windows authentication and now he was trying to use SQL Server authentication. To resolve this -
Go to Start-> Programs and open SQL server management studio.
Connect to the SQL Server you want to change user authentication for (using windows authentication).
Right click on the SQL Server and select properties.
Now select "Security"and select SQL Server authentication
Save settings.
Now go to Administrative tools and restart the SQL Server service to let the change take effect.
Hope this will help you.
Reason:
Actually while installing SQL server he had used windows authentication and now he was trying to use SQL Server authentication. To resolve this -
Go to Start-> Programs and open SQL server management studio.
Connect to the SQL Server you want to change user authentication for (using windows authentication).
Right click on the SQL Server and select properties.
Now select "Security"and select SQL Server authentication
Save settings.
Now go to Administrative tools and restart the SQL Server service to let the change take effect.
Hope this will help you.
Comments
Post a Comment