Problem:
I am trying to secure a device to use Sentry Print using the Print Center (MyPrintCenter) web site connecting to my Blueprint or Uniprint server or and it fails immediately with a message “Unable to query server”.
Environment:
Pharos Blueprint Enterprise 5.3 and greater using Sentry Print (SE50)
Pharos Uniprint Suite 9.2 using Sentry Print (SE50)
Technical Diagnostics:
The first step is to open the Web Broswers DevTool feature to inspect the web traffic Request & Response data and look for the below errors.
In the Browsers DevTools window under the Networking TAB > Response TAB the below error is seen as 'MethodNotAllowed'.
"Status": 500,
"UserMessage": "The operation could not be completed. No other information is available."
"ErrorCode": "Unknown",
"ErrorContext": "System",
"ErrorContextOverride": "",
"DeveloperMessage": "Operation returned an invalid status code 'MethodNotAllowed'",
"ExceptionMessage": "Pharos.Rest.HttpErrorResponseException: Operation returned an invalid status code 'MethodNotAllowed'
In the Browsers DevTools window under the Networking TAB > Preview TAB the below error is seen.
DeveloperMessage: "Operation returned an invalid status code 'MethodNotAllowed'"
ErrorCode: "Unknown"
ErrorContext: "System"
ErrorContextOverride: ""
ExceptionMessage: "Pharos.Rest.HttpErrorResponseException: Operation returned an invalid status code 'MethodNotAllowed'
Status: 500
UserMessage: "The operation could not be completed. No other information is available."
Resolution:
Open the Windows Server Manager and go to the Remove Roles and Features function.

Then validate that under Web Server > Common HTTP Features > WebDAV Publishing is not installed.

If it is, it will have to be removed and a server restart will likely be required to complete the removal.
This feature in IIS takes over some of the HTTPS Requests that the PharosAPI (for Uniprint and Blueprint) uses such as an HTTPS PUT & DELETE Request that causes this failure.
If securing a device for Sentry Print still fails please contact Pharos Support with the details of your challenge.