IIS: Incorrect Error Message being thrown from Web Services

Issue Details:
Seeing a different error message from web service other than the already configured error message.

For Example:

We are getting a different error message with copyDocumentType Web Service when the document type already exist.

Expected message:“name entered for new doc type already exist. please enter a unique document name”
Actual Message: “The custom error module does not recognize this error”



This error is coming from IIS side and not because of any issue in Ephesoft. This is specifically because IIS is not configured to PassThrough the existing error message.



Add below to web.xml will fix the issue:


<httpErrors errorMode=”DetailedLocalOnly” existingResponse=”PassThrough”>




Important Links: