Trying to save changes to a SQL databse, results in "Cannot open user default database. Login failed

Posted by Jacob Bellamy on Stack Overflow See other posts from Stack Overflow or by Jacob Bellamy
Published on 2010-02-03T01:36:25Z Indexed on 2010/04/03 4:33 UTC
Read the original article Hit count: 344

Filed under:
|
|

I am building an MVC application with C# as my language which is hosted on Widows 7 IIS. A call to Add a new member to the database works, but when attempting to save the change I get the following error:

Cannot open user default database. Login failed.
Login failed for user 'IIS APPPOOL\myApplication'

The SQL table was added just by adding it within VS.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about asp.net-mvc