Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 db connectivity error

Author  Topic 

sparrow37
Posting Yak Master

148 Posts

Posted - 2009-08-30 : 15:17:32
Hi all,

I have installed new sql server on my computer and I have started getting following error while connecting to sql server from my asp.net application.

Cannot open database "IBAP" requested by the login. The login failed.
Login failed for user 'CHRISU\ASPNET'.

Please help me on this.

Regards,
Asif Hameed

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2009-08-30 : 17:06:42
Maybe your new sql server has no database named IBAP?
In this case you should create the database OR alter the connection string.


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

sparrow37
Posting Yak Master

148 Posts

Posted - 2009-08-31 : 13:41:52
i have db with this name and connection string is also correct
Go to Top of Page

rohitkumar
Constraint Violating Yak Guru

472 Posts

Posted - 2009-08-31 : 14:15:42
and you added "aspnet" in the security list for that db?
Go to Top of Page

afrika
Master Smack Fu Yak Hacker

2706 Posts

Posted - 2009-08-31 : 15:11:13
Have you tried login with sql authentication with that server name and username ?

also paste your connection string here
Go to Top of Page
   

- Advertisement -