Problem: After upgrading CAPSYS to version 2015 the errors below will be seen after logging into the CAPSYTS Web Client. The following steps need to be done to resolve the issue.
GetUserDocTypesXML service error: Not Found
GetAllDocTypesInfoXML service error: Not Found
GetUSerProfiesInfoXML service error: Not Found
GetUserQueuesXML service error: Not Found
GetStatusValuesXML service error: Not Found
Resolution:
To fix:
1) The site is missing a .svc handler mapping. In Windows 2012, simply install HTTP Activation Item under the Application Role->Windows Process Activation Service Support. In Windows 2008 and earlier, the "Revert to Parent" option in Handler Mappings may copy the .svc handler to your site. If that doesn't work, the handler can be added manually.
a. To add the .svc handler manually:
1. Select "Add Managed Handler" from the Handler Mappings dialog for your Capsys site.
2. Set Request Path to *.svc
3. Set Type to System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.
4. Set Name to svc-Integrated-4.0
5. Click OK to exit the dialog.
To add the handler automatically:
Run this: 'aspnet_regiis.exe -i' in %WinDir%\Microsoft.NET\Framework\v4.0.30319.
AND/OR
2) If using SSL, the site may be using the incorrect web.config. - Look for two comments in the file - 'Change to mode="Transport" when using HTTPS' - to find the two locations to edit.
a. Look for this section of code in Web.Config located in the inetpub/capsys directory and make sure it reads as follows (note when this change is made, HTTP will no longer work, only HTTPS). If you want HTTP, then change the value from “Transport” to “None”.
<security mode="Transport">
<!--Change to mode="Transport" when using HTTPS or to mode="None" for HTTP-->
<transport clientCredentialType="None"/>
</security>
</binding>
</webHttpBinding>
<basicHttpBinding>
<binding name="BasicHttpEndpointBinding" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" maxBufferPoolSize="2147483647">
<security mode="Transport">
<!--Change to mode="Transport" when using HTTPS or to mode="None" for HTTP-->
<transport clientCredentialType="None"/>
</security>
b. IISRESET followed by NET START W3SVC
0 Comments