Wednesday, May 16, 2018

Learning Kentico: How to Fix Access to Path Denied issue when Saving Code (Custom Module)

I was practicing to create a custom module but I encountered an error when trying to save the code.

So I checked event log and it says, Access to the path 'C:\inetpub\wwwroot\Kentico11\CMS\App_Code\CMSModules\CompanyAlRitch\OfficeInfo.cs' is denied

See screenshot below:


So I searched online for possible solution and to fix this you'll just need to grant access to the account user. 

Below are the steps:

1. Go to inetpub folder 
2. Right Click Properties
3. Go to Security 
4. Select Users
5. Click Edit Permissions 
6. Then Allow permissions


And viola! Code successfully saved! :)



Okay back to studying! If you have more inputs/suggestions, feel free to comment below. I'd love to hear your thoughts on this. 

No comments:

Post a Comment