WebMatrix error "The specified password for user account 'root' is not valid...."

James picture James · Oct 1, 2012 · Viewed 17.9k times · Source

When creating a new Joomla, Drupal or any website involving a database from the 'App Gallery', I get the errors:

MySQL

"The specified password for user account 'root' is not valid, or failed to connect to the database server"

SQL Server

"The specified password for user account 'sa' is not valid, or failed to connect to the database server"

What can be done to stop this error occurring? I don't believe it's with the databases, I blame WebMatrix because it's the same problem for both DBs.

Thanks in advance

Answer

Ravi Reddy picture Ravi Reddy · Dec 13, 2012

I had the same problem and i performed the below steps to resolve the issue:

  1. Open Sql Server Management Studio as Administartor

  2. Login to .\SQLEXPRESS using Windows Authentication

  3. Go to Security Tab -- > Logins --> Change the "sa" password and Press Ok

  4. Use the newly created Password in WebMatrix and you should be all Set.