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
Related Q & A:
- How to connect Sql Server Database from android app?Best solution by Stack Overflow
- How to do GROUP_CONCAT in SQL Server?Best solution by Stack Overflow
- How to import XML into SQL Server database?Best solution by Stack Overflow
- How do I connect to SQL Server using C#?Best solution by Stack Overflow
- How to replace Cursor in SQL Server?Best solution by stackoverflow.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.