Error 503 when accessing Web App
If you get error 503 when loading the Web App, this can indicate that there is a problem with IIS rather than with the Web App configuration.
This is usually accompanied by the ‘Application Pool’ processes crashing. This can be checked by:
- Loading IIS.
- Expanding the main server node.
- Double Clicking on ‘Application Pools’.
- If any of the application pools have a stopped symbol (small black square) on their icon, they have probably crashed.
The root cause of the 503 error is usually that there are links to old Dataflex Web App components that have been uninstalled or moved.
To check the Dataflex components, the following needs to be checked on the main server node, each website note, and each folder node.
Checking the Installed Native Modules At the Server level
- Select the main server node in the ‘Connections’ treeview on the left hand panel
- From the main ‘Features View’, double click on ‘Modules’
- Click on ‘Configure Native Modules’ in the panel on the right hand side
- Check for any modules for invalid DataFlex components. The location of the component can be checked with the ‘Edit’ button (server node only).
- Click on them, then click on the ‘Remove’ button (this only shows up on the server level page)
Checking the Installed Native Modules at the folder level
- Select the folder in the ‘Connections’ treeview.
- From the main ‘Features View’, double click on ‘Modules’
- Check for any modules pointing to invalid Dataflex Components.
- Click on them, and then click on remove in the panel on the right
Checking the Handler Mappings
- Select the folder in the ‘Connections’ treeview.
- From the main ‘Featues View’, double click on ‘Handler Mappings’.
- Look for any mappings with ‘Path’ as ‘*.wso’ that point to invalid Dataflex components.
- Select them and click on ‘Remove’ on the right hand side panel.
Stop and restart the IIS service by right clicking on the server node and selecting stop, then start.