Differences

This shows you the differences between two versions of the page.

Link to this comparison view

asp.net_-_it_is_not_possible_to_run_two_different_versions_of_asp.net_in_the_same_iis_process [2019/01/30 09:22] (current)
Line 1: Line 1:
 +====== ​ ======
 +
 +
 +
 +===== Issue =====
 +
 +
 +
 +Production Terminal seems to lock up and become inoperable after 5 to 7 minutes. Upon further review you may find the following error in the Windows Event Viewer on the server where Production Terminal is installed. ​
 +
 +
 +
 +Error:
 +
 +
 +
 +It is not possible to run two different versions of ASP.NET in the same IIS process. Please use the IIS Administration Tool to reconfigure your server to run the application in a separate process. ​
 +
 +
 +
 +{{::​iis_multiple_dotnet_versions_sameapplicationpool.jpg?​nolink&​|}}
 +
 +
 +
 +===== Cause =====
 +
 +
 +
 +The problem is caused having two different websites configured with the same Application Pool. This sometimes occurs if you have Webview v1 and Production Terminal v2 installed on the same server both configured to utilize the same application pool. At current date, Webview v1 utilizes .NET 2.0 while Production Terminal v2 utilizes .NET 4.0. Both of these sites can not be configured to utilize the same application pool since they use different versions of Microsoft .NET. 
 +
 +
 +
 +===== Resolution =====
 +
 +
 +
 +==== Creating A New Application Pool ====
 +  - Open the IIS Configuration Tool under Control Panel | Administrative Tools | IIS Configuration
 +  - Navigate to the **Application Pools** section.
 +  - Right-click on the **Application Pool** and choose **New Application Pool**.
 +  - Specify an Application Pool name of **ProductionTerminal** and copy the configuration from the existing DefaultAppPool.
 +  - Click **OK** to create your new Application Pool.
 +
 +
 +
 +==== Configuring Production Terminal To Use The New Application Pool ====
 +  - Open the IIS Configuration Tool under **Control Panel** | **Administrative Tools** | **IIS Configuration**
 +  - Navigate to the **Web Sites** section and locate **ProductionTerminal** in the list.
 +  - Right-click on **ProductionTerminal** and choose **Properties**.
 +  - Navigate to the **Home Directory** tab and change the **Application Pool** from the current setting to **ProductionTerminal**. ProductionTerminal is the new Application Pool you created in the previous step.
 +  - Click **OK** to apply your changes.
 +
 +
 +
 +==== Verifying Your Changes ====
 +  - Right-click on the computer icon within the IIS Configuration Tool that is directly below Internet Information Services and choose All Tasks | Restart IIS. The restart process will take between 20 seconds to 1 minute to complete. Once completed please close the IIS Configuration Tool.
 +  - Shutdown the Cyrious SSLIP and re-open it.
 +  - Log into Production Terminal, Log into Control, Log into Webview if you have it installed. Repeat the log in and log out process a few times.
 +  - Check the Windows Event Viewer to see if any new occurrences of errors have been logged. It is a good idea to check over the next 10-15 minutes, then again an hour later.
 +
 +
 +
 +===== Version Information =====
 +  * Entered : 8/03/2010
 +
 +
 +