Thursday, April 15, 2010

Ducatshell error

Often I encounter error with Ducatshell error. Problem is caused when the permission inherited to sitecore folder is insufficient.

The security that is normally missing is the ISS application pool security

For example, if we have website.localhost as our application pool name,

the security will be : IIS APPPool\website.localhost

The following bat file will apply the security defined as a parameter to folders that generally requires special security permission

icacls WebSite\sitecore\shell\Applications\debug /grant %1:(OI)(CI)M
icacls WebSite\sitecore\shell\Controls\debug /grant %1:(OI)(CI)M
icacls WebSite\sitecore\shell\Override /grant %1:(OI)(CI)M
icacls WebSite\temp /grant %1:(OI)(CI)M
icacls WebSite\upload /grant %1:(OI)(CI)M
icacls Data /grant %1:(OI)(CI)M

To execute the bat file. The following steps are to be taken.

1. Place the bat file on the same folder as the webroot. that is essentially the bat file is a sibling file of webroot
2. Open up Command prompt in admin mode
3. Navigate to the bat file
4. Type in -> .bat "iis apppool\website.localhost"
5. Enter

No comments:

Post a Comment