{"id":221,"date":"2019-05-14T20:07:09","date_gmt":"2019-05-14T20:07:09","guid":{"rendered":"https:\/\/www.dabbler.dk\/?p=221"},"modified":"2019-05-15T18:42:06","modified_gmt":"2019-05-15T18:42:06","slug":"dbc-an-error-occurred-while-trying-to-display-the-report","status":"publish","type":"post","link":"https:\/\/www.dabbler.dk\/index.php\/2019\/05\/14\/dbc-an-error-occurred-while-trying-to-display-the-report\/","title":{"rendered":"DBC: &#8220;An error occurred while trying to display the report.&#8221;"},"content":{"rendered":"\n<p>If you get this error when you try to preview a report in Dynamics 365 Business Central:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"125\" src=\"https:\/\/www.dabbler.dk\/wp-content\/uploads\/2019\/05\/AnErrorOccuredWhileTryingToDisplayTheReport.png\" alt=\"An error occured while trying to display the report\" class=\"wp-image-222\" srcset=\"https:\/\/www.dabbler.dk\/wp-content\/uploads\/2019\/05\/AnErrorOccuredWhileTryingToDisplayTheReport.png 500w, https:\/\/www.dabbler.dk\/wp-content\/uploads\/2019\/05\/AnErrorOccuredWhileTryingToDisplayTheReport-300x75.png 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/figure>\n\n\n\n<p><span lang=\"EN-US\" style='font-size:11.0pt;font-family:&#10;\"Calibri\",sans-serif;mso-fareast-font-family:Calibri;mso-ansi-language:EN-US;&#10;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;mso-no-proof:yes'><span lang=\"EN-US\" style='font-size:11.0pt;font-family:&#10;\"Calibri\",sans-serif;mso-fareast-font-family:Calibri;mso-ansi-language:EN-US;&#10;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;mso-no-proof:yes'>An error occurred while trying to display the report.<\/span><\/span><\/p>\n\n\n\n<p>&#8230;your firewall may be to restrictive.<\/p>\n\n\n\n<p>A symptom of the same error is if you hit the Print button instead of the Preview button, and the preview during printer selection shows a &#8220;403 &#8211; Forbidden: Access is denied&#8221;-error.<\/p>\n\n\n\n<p>We have seen this on Azure Firewall when it was set to &#8220;Prevention mode&#8221; instead of &#8220;Detection mode&#8221;. I guess one could whitelist the requests and keep &#8220;Prevention mode&#8221;, but how to do that is off cause Firewall dependent and outside the scope of this posts.<\/p>\n\n\n\n<p>If you have a solution for your firewall, feel free to add it as a comment :-).<\/p>\n\n\n\n<p><span lang=\"EN-US\" style='font-size:11.0pt;font-family:&#10;\"Calibri\",sans-serif;mso-fareast-font-family:Calibri;mso-ansi-language:EN-US;&#10;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;mso-no-proof:yes'><span lang=\"EN-US\" style='font-size:11.0pt;font-family:&#10;\"Calibri\",sans-serif;mso-fareast-font-family:Calibri;mso-ansi-language:EN-US;&#10;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;mso-no-proof:yes'><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"125\" src=\"file:\/\/\/C:\/Users\/gert\/AppData\/Local\/Temp\/msohtmlclip1\/01\/clip_image001.png\" border=\"0\" v:shapes=\"Billede_x0020_1\"><\/span><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"125\" src=\"file:\/\/\/C:\/Users\/gert\/AppData\/Local\/Temp\/msohtmlclip1\/01\/clip_image001.png\" border=\"0\" v:shapes=\"Billede_x0020_1\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you get this error when you try to preview a report in Dynamics 365 Business Central: An error occurred while trying to display the report. &#8230;your firewall may be to restrictive. A symptom of the same error is if you hit the Print button instead of the Preview button, and the preview during printer &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.dabbler.dk\/index.php\/2019\/05\/14\/dbc-an-error-occurred-while-trying-to-display-the-report\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;DBC: &#8220;An error occurred while trying to display the report.&#8221;&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":190,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,5],"tags":[32,25,24],"class_list":["post-221","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dynamics-nav","category-software","tag-business-central","tag-dynamics","tag-microsoft"],"_links":{"self":[{"href":"https:\/\/www.dabbler.dk\/index.php\/wp-json\/wp\/v2\/posts\/221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dabbler.dk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dabbler.dk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dabbler.dk\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dabbler.dk\/index.php\/wp-json\/wp\/v2\/comments?post=221"}],"version-history":[{"count":2,"href":"https:\/\/www.dabbler.dk\/index.php\/wp-json\/wp\/v2\/posts\/221\/revisions"}],"predecessor-version":[{"id":224,"href":"https:\/\/www.dabbler.dk\/index.php\/wp-json\/wp\/v2\/posts\/221\/revisions\/224"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dabbler.dk\/index.php\/wp-json\/wp\/v2\/media\/190"}],"wp:attachment":[{"href":"https:\/\/www.dabbler.dk\/index.php\/wp-json\/wp\/v2\/media?parent=221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dabbler.dk\/index.php\/wp-json\/wp\/v2\/categories?post=221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dabbler.dk\/index.php\/wp-json\/wp\/v2\/tags?post=221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}