Kentico CMS 6.0 Context Help

Disk permissions problems

Disk permissions problems

Previous topic Next topic Mail us feedback on this topic!  

Disk permissions problems

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

Kentico CMS is able to perform most operations without writing to disk. However, there are situations when the web application needs to write to the disk for optimal operations or performance, such as importing/exporting a site or storing uploaded files in the files system (which is optional).

 

If you receive the error message depicted below, saying that the web application cannot write to disk, you need to grant the Modify permissions on the whole website folder to the appropriate user account.

 

devguide_clip1343

 

User account of the web application

 

The web application runs under a user account that depends on your environment. Please note that the accounts listed below are just the default ones, they may be different in your environment. However, the name of the account is always displayed with the error message, as highlighted in the screenshot above.

 

1.On Windows 7, the user account is the local IIS_IUSRS account by default.

 

2.On Windows Vista or Server 2008, the user account is the local NETWORK SERVICE account by default.

 

3.On Windows XP, the user account is the local ASPNET account (aspnet_wp) by default.

 

4.On Windows 2003, the user account is the local account NT Authority\Network Service by default.

 

5.If you're using Visual Studio's built-in web server, it is running under your account.

 

You can see the name of the user account under which the application runs in Site Manager -> Administration -> System dialog.

 

Choosing the component for directory operations

 

If you're running Kentico CMS under restricted trust level, you may need to use the managed component for directory operations (create/delete/rename directory). You can configure it by setting the following web.config parameter:

 

<add key="CMSDirectoryProviderAssembly" value="CMS.DirectoryProviderDotNet" />

 

If you're running Kentico CMS on a shared hosting server, some providers require that you use the non-managed methods for directory operations:

 

<add key="CMSDirectoryProviderAssembly" value="CMS.DirectoryProviderWin32" />