sql-server-2008connection-stringasp.net-3.5hosted

ASP.Net Connection string woes


My hosted ASP.NET 3.0 Forms application is suddenly throwing Login failed for user 'SQL2008R2_llama_user'.

This means that the database credentials are wrong. I find out my DB Manager changed the DB password, and that the new password is !@#$%^&*llama123456 . So I plug in the new password into my configuration files.

Problem: My application still can't connect and throws the same error.

Connection String:

Data Source=tcp:sql2k804.discountasp.net; Initial Catalog=SQL2008R2_llamadatabase;
uid=SQL2008R2_llama_user; pwd=!@#$%^&*llama123456;Connect Timeout=300;

Troubleshooting Steps:

What else can I try? Is my hosted database throwing a temper-tantrum because of the special characters in my password? Any ideas?


Solution

  • Fixed my own problem.

    I had forgotten that I had connection strings in my Web.config and Global.asax.

    When in doubt, CTRL-F your solution!