Installing or upgrading Litium Studio in IIS7 - Process Model Settings
Worker processes in IIS 7 run as NetworkService by default. Application Pool Identities allow you to run Application Pools under a unique account without having to create and manage domain or local accounts.
When installing or upgrading Litium Studio on a machine with IIS7, you should be aware of the settings in the Process Model and security new to IIS7.Particularly the "Application Pool Identity".
Read more about the "Application pool identity" introduced with IIS 7.0 at the Internet Information Services (IIS) website. There you also find an article on Process Model Settings for an Application Pool.
Implications on Litium Studio Installing and Upgrading
Application Pool Identity controls the security and authorization the IIS worker process (w3wp.exe). Under normal circumstances, the permissions set automatically are correct, and no extra configuration is needed.
However, there can be situations, depending on the configuration of the IIS, where you are not able to start the Litium Studio application and a "SecurityException" is thrown. In such cases:
1. Go through the installation procedure again and check whether you have set all permissions correctly.
2. Start the IIS Manager.
2.1 In the Connections pane, expand the server name, click Application Pools, and click the application pool you want to edit.
2.2 In the Actions pane, click Advanced Settings…
2.3 In the Advanced Settings dialog box:
• under Process Model make sure the Identity attribute is set to “ApplicationPoolIdentity” and the LoadUserProfile attribute is set to “True”.
• under General, if the Managed Pipeline Mode is set to Integrated, you can try and change it to Classic. If your application works in Classic mode, but not in Integrated mode, most probably your Web.Config file has IIS6 specific settings. You should then convert them to IIS7 compatible form.