Error "(405) Method Not Allowed" when opening a document report in NuGenesis LMS - WKB16581
Article number: 16581
SYMPTOMS
- The following error message appears in NuGenesis LMS when opening a document report OR when releasing/signing/approving a document:
- "The remote server returned an unexpected response: (405) Method Not Allowed"
- The document report does not appear within LMS
ENVIRONMENT
- NuGenesis 9 LMS
- Windows Server 2016 or Server 2012
- NuGenesis 8 LMS
- Windows Server 2008 or Server 2012
- NuGenesis 8 ELN
- Windows Server 2008
CAUSE
The "WATERSLMS" site within Microsoft IIS on the NuGenesis LMS server does not have handlers defined or mapped to, HTTP requests for .svc resources.
FIX or WORKAROUND
- Open the IIS Manager control panel on the NuGenesis LMS server.
- Expand Sites > Default Web Site > WATERSLMS.
- Double-click "Handler Mappings".
- Look for the following handlers within the list:
- Name: svc-Integrated-4.0; Path: *.svc; State: Enabled; Handler: System.ServiceModel.Activation.ServiceHttpHandlerFactory
- Name: svc-ISAPI-4.0_32bit; Path: *.svc; State: Enabled; Handler: IsapiModule
- Name: svc-ISAPI-4.0_64bit; Path: *.svc; State: Enabled; Handler: IsapiModule
- The three handler mappings must be present, enabled, and inherited from the parent site. If they are missing, add them with the "Add Managed Handler" link on the Actions pane.
- Request path: *.svc
- Type: either IsapiModule or System.ServiceModel.Activation.ServiceHttpHandlerFactory, per the list above
- Name: specify the names per the list above
- Configure the Request Restrictions as follows:
- Mapping tab: "Invoke handler only if request is mapped to" selection cleared
- Verbs tab: select "All verbs"
- Access tab: select "Script"
- Restart IIS after adding the handler mappings to WATERSLMS.
ADDITIONAL INFORMATION
If the handler mappings cannot be added due to error messages, you most likely need to uninstall and reinstall .NET Framework on the LMS server. Reinstalling the framework restores these mappings in IIS. Use the correct version of .NET for your version of NuGenesis.
id16581, ELN, NGLMS, NGLMSLIC, NGLMSOPT, SUPNG