[MediaFileInfoProvider.CheckAndEnsureFilePath]: Cannot add files to media library

ugur mahir ozkaya asked on October 25, 2018 12:34

Hello, last night we have used Kentico's import&export tool. After imported data to new server, we tried to upload new file to media library and it says:

"[MediaFileInfoProvider.CheckAndEnsureFilePath]: Access to the path 'D:\sites\preprod\Kentico11\CMS\FB\media\FB' is denied."

Do you guys have any idea? What would be the problem?

Correct Answer

Brenden Kehren answered on October 25, 2018 13:38

Most likely folder permissions are not set correct on the server. The user running the app pool needs to have read and write permissions. In most cases the user is IIS_IUSRS. Check out this post on setting permissions.

0 votesVote for this answer Unmark Correct answer

Recent Answers


ugur mahir ozkaya answered on October 25, 2018 13:48

Yes! this is the correct answer. Thanks for helping.

0 votesVote for this answer Mark as a Correct answer

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