Я изучаю MVC 3 с сайта asp.net.
Мое приложение MVC 3 уже было протестировано в IIS AppPool\MySiteName
и работает хорошо.
Используя Sql Server Management Studio, я создал новую учетную запись для IIS AppPool\MySiteName
.
Я следовал этому уроку «Создание БД на лету» и получил следующее сообщение:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Cannot open database "Movies" requested by the login. The login failed.
Login failed for user 'IIS APPPOOL\Getting Started'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.