Running Kentico 8.0 from IIS 7.5

Sherry Collins asked on January 24, 2015 18:24

Has anyone ever gotten this message when running CMS from IIS 7.5

The application could not connect to the database, please check the connection string in the web.config file and SQL server availability.

Login failed for user 'IIS APPPOOL\ASP.NET v4.0'.

Recent Answers


Roman Hutnyk answered on January 24, 2015 19:51

You need to make sure service account 'IIS APPPOOL\ASP.NET v4.0' the app is running under has an access to SQL server/database. You may either add 'IIS APPPOOL\ASP.NET v4.0' user to the database, or run the app under another user (e.g. your windows account). Another approach is to create new account within SQL server an specify it in web.config for CMSConnectionString along with SQL server authentication mode. I'd also like to admit this is not Kentico related issue, this is something you have to do for any ASP.NET application.

2 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.