Tuesday, March 20, 2012

Cannot Open Database while Building

Hi Everyone,
I'm facing this problem now.

Cannot open database "C:\myDB" requested by the login. The login failed.
Login failed for user 'myLaptop\ASPNET'.

May i ask how can i resolve?
Please feel free to let me know the information you need.
Thank You!Can you show your connection string?|||Hi Hello,
Here goes:

<connectionStrings>
<add name="CapsLockedConnection" connectionString="Server=(local)\SqlExpress;Integrated Security=True;Database=CapsLockedDB" providerName="System.Data.SqlClient"/>
</connectionStrings
Thanks for responding.|||Here's a screenshot of the build error

http://img65.imageshack.us/my.php?image=error8mf.png

No comments:

Post a Comment