This article provides step-by-step instructions for performing IISReset after Excore installation during MES deployment
Problem:
If you are unable to perform an iisreset
after installing Excore during the MES (Manufacturing Execution System) installation, follow the steps below to resolve the issue.
Solution:
Step 1: Open Services as Administrator
- Open the Services application by typing
services.msc
in the Windows search bar and running it as an Administrator.
Step 2: Check IIS-Related Services
- Verify that the following services are running:
- IIS Admin Service
- World Wide Web Publishing Service
- Windows Process Activation Service
Step 3: Start Any Stopped Services
- If any of these services are not running, right-click on them and select Start to ensure they are running.
Step 4: Start Dependent Services
- If these services fail to start due to dependencies, check for any dependent services that are stopped. Start the dependent services and then try to start the main IIS services again.
Step 5: Investigate Error in Event Viewer
- If all dependent services are running, but the Windows Process Activation Service still fails to start with the error message:
"The request is not supported."
- Continue to the next step.
Step 6: Open Event Viewer to Find Specific Error
- Open the Event Viewer:
- Navigate to Windows Logs > System.
- From the Actions panel, select Filter Current Log.
- In the filter window, select Error under Event Level and click OK.
- Look for an error log with a message similar to:
"The Windows Process Activation Service encountered an error trying to read configuration data from file '\\?\C:\Windows\system32\inetsrv\config\applicationHost.config', line number '1256'. The error message is: 'The configuration section 'system.web' cannot be read because it is missing a section declaration.'"
Step 7: Edit the applicationHost.config
File
- Navigate to the following file path:
C:\Windows\System32\inetsrv\config
- Open the
applicationHost.config
file using a text editor like Notepad++.
Step 8: Comment Out the Problematic Section
- Go to the line number specified in the error message (e.g., line 1256).
- Locate the
<system.web>
section in the configuration file. It may be improperly defined or missing a section declaration. - Comment out the problematic section by adding
<!--
before the line and-->
after the line, as shown in the example below:
- Save the file after making the necessary changes.
Step 9: Restart IIS Services
- After making the changes, attempt to run
iisreset
again from the command prompt to see if the issue is resolved. - If the services still fail to start, ensure that the configuration file changes were saved correctly and try restarting your machine if needed.
Additional Notes:
- Always back up the
applicationHost.config
file before making any modifications to ensure you can restore it if necessary. - If the issue persists, contact support for more advanced troubleshooting.