Connection Strings between Web Application and SQL Server
- by Raven Dreamer
Greetings.
I'm writing a web application that is supposed to connect to a SQL Server database; the connection is formed from the following database string:
<add key="DatabaseConnectionString" value="server=DEVPC1\SQLEXPRESS;uid=USERID;pwd=PASSWORD;database=DATABASE"/>
However, whenever I try and run the web application, I get a connection error, specifically:
An error occurred attempting this login:
Login failed for user 'USERID'.
Any suggestions on how to go about debugging this? I'm not really familiar with SQL, so any suggestions would be greatly appreciated.