Configuring IIS

Relatude is a relatively standard ASP.NET application, so installation is fairly straight forward. Below you can see information on how to configure both IIS.

General IIS configuration

Relatude CMS & E-commerce needs full access to the file system within the website root folder. This means giving the ASP.Net user and the App_Pool Process identity user (normally NetworkService) full access in the NTFS file system. On some systems the “Network Service” system user must be given full access to the .Net temp folder as well:

iis_file_rights

By default IIS has turned on App recycling after a period of inactivity. When Relatude is shut down, the cache is cleared. When a request is sent to the website after it has been recycled, the application must start up. This is a fairly heavy process, so the response will be much slower than a normal page request. We therefor recommend that you turn off App Pool recycling as much as possible to give your visitors a good experience:

iis_app_pool_recycling

 

Specific configuration for IIS 7

In IIS7 you must configure the website to run in Full Thrust:

iis_full_trust

 

The application pool that your website is using must run in .Net 4.0 and Integrated mode in IIS 7:

iis_pipeline_mode

With SQL Express with IIS7 you might encounter the following error: "Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed." This error can often be fixed by disabling Asp.Net Impersonation under the Authentication section in IIS manager for your site. Please make sure disabling impersonation is a valid option for your scenario.