How to restrict access to a sql server database from Azure?

How to access database in SQL server from ASP website?

  • I was trying to connect database in SQL Server 2008. the error shown is: Cannot open database "signature" requested by the login. The login failed. Login failed for user 'IIS APPPOOL\DefaultAppPool' where "signature" is the name of database

  • Answer:

    Check connection string in web.config file The database name is either incorrect or you're trying to find it on a wrong server example of a connection string: "Data Source=.\SERVERNAME; Initial Catalog=DatabaseName; Persist Security Info=True; User ID=sa; Password=yourpassword"

Masha at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.