{"id":12062,"date":"2017-04-24T07:48:56","date_gmt":"2017-04-24T14:48:56","guid":{"rendered":"https:\/\/ephesoft.com\/docs\/?p=12062"},"modified":"2020-09-01T12:53:45","modified_gmt":"2020-09-01T19:53:45","slug":"iis-incorrect-error-message-being-thrown-from-web-services","status":"publish","type":"post","link":"https:\/\/ephesoft.com\/docs\/iis-incorrect-error-message-being-thrown-from-web-services\/","title":{"rendered":"IIS: Incorrect Error Message being thrown from Web Services"},"content":{"rendered":"
Applies to: <\/b>All versions of Ephesoft Transact<\/span><\/span><\/p>\n You may see the following error message with the <\/span>copyDocumentType <\/b>web API if a document type already exists: <\/span><\/span>\u201cThe custom error module does not recognize this error\u201d.<\/span><\/p>\n This is different than the expected error message for this issue: <\/span>\u201cName entered for new doctype already exists. Please enter a unique document name\u201d.<\/span><\/p>\n This error appears from the Microsoft IIS side and is not due to any issue in Ephesoft. This is specifically because IIS is not configured to <\/span>PassThrough<\/b> the existing error message.<\/span><\/span><\/p>\n To resolve this issue, add the following to the <\/span>web.xml<\/b>, located at <\/span>[Ephesoft_Directory]<\/span><\/i>\\Application\\WEB-INF:<\/span><\/span><\/p>\n Applies to: All versions of Ephesoft Transact Issue You may see the following error message with the copyDocumentType web API […]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12392,12369],"tags":[361],"yoast_head":"\nIssue<\/b><\/span><\/h2>\n
Root Cause\u00a0<\/b><\/span><\/h2>\n
Solution<\/b><\/span><\/h2>\n
<system.webServer><\/span>\r\n<httpErrors errorMode=\"DetailedLocalOnly\" existingResponse=\"PassThrough\"><\/span>\r\n<\/httpErrors><\/span>\r\n<\/system.webServer><\/span><\/pre>\n","protected":false},"excerpt":{"rendered":"