{"id":4254,"date":"2013-06-03T14:43:08","date_gmt":"2013-06-03T14:43:08","guid":{"rendered":"https:\/\/pitss.org\/us\/2013\/06\/03\/running-a-report-from-url-in-forms-reports-11-1-2-1-0-results-in-rep-51002\/"},"modified":"2017-09-05T15:42:26","modified_gmt":"2017-09-05T19:42:26","slug":"rep-51002-bind-to-reports-server-failed","status":"publish","type":"post","link":"https:\/\/pitss.org\/us\/2013\/06\/03\/rep-51002-bind-to-reports-server-failed\/","title":{"rendered":"Running a Report from URL in Forms &amp; Reports 11.1.2.1.0 Results in REP-51002"},"content":{"rendered":"<p>[et_pb_section bb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221; custom_padding=&#8221;0px||50px|&#8221; _builder_version=&#8221;3.0.51&#8243;][et_pb_row custom_padding=&#8221;0px|||&#8221; _builder_version=&#8221;3.0.51&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243;][et_pb_text _builder_version=&#8221;3.0.64&#8243; custom_margin=&#8221;||30px|&#8221;]<\/p>\n<h1 style=\"margin-bottom: 15px;\">Running a Report from URL in Forms &amp; Reports 11.1.2.1.0 Results in REP-51002<\/h1>\n<p>There is a bug in Forms and Reports 11.1.2.1.0 and 11.1.2.2.0 (11gR2) where no reports can be run directly from the URL when using the standalone reports server. The bug occurs when no userid is specified in the URL.<\/p>\n<p>Before applying any Oracle patches, it is recommended to review the README file which comes with the Oracle patch as well as to make a backup of your Middleware environment.<\/p>\n<p>[\/et_pb_text][et_pb_divider color=&#8221;#e2e2e2&#8243; show_divider=&#8221;on&#8221; divider_position=&#8221;center&#8221; _builder_version=&#8221;3.0.51&#8243; custom_css_main_element=&#8221;margin-bottom:30px !important;&#8221; \/][et_pb_text _builder_version=&#8221;3.0.51&#8243; custom_margin=&#8221;||30px|&#8221;]<\/p>\n<h3><strong>What you&#8217;ll learn in this article:<\/strong><\/h3>\n<p><strong style=\"font-size: 16px; padding-right: 5px; background-color: #ffffff; color: #abd25e;\">\u2713<\/strong> How to reproduce the error<br \/> <strong style=\"font-size: 16px; padding-right: 5px; background-color: #ffffff; color: #abd25e;\">\u2713<\/strong><span style=\"font-size: 16px; background-color: #ffffff;\">&nbsp;How to download the patch and implement our solution<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row custom_padding=&#8221;40px|40px|30px|40px&#8221; background_color=&#8221;#006bb3&#8243; background_position_1=&#8221;top_left&#8221; background_repeat_1=&#8221;no-repeat&#8221; _builder_version=&#8221;3.0.51&#8243;][et_pb_column type=&#8221;4_4&#8243;][et_pb_text background_layout=&#8221;dark&#8221; _builder_version=&#8221;3.0.64&#8243; background_color=&#8221;#006bb3&#8243;]<\/p>\n<h2><strong>Fill out this form to get immediate access to the article.<br \/>\n<\/strong><\/h2>\n<p>[\/et_pb_text][et_pb_code module_class=&#8221;white-text&#8221; _builder_version=&#8221;3.0.67&#8243;][ninja_form id=24][\/et_pb_code][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Running a Report from URL in Forms &amp; Reports 11.1.2.1.0 Results in REP-51002 There is a bug in Forms and Reports 11.1.2.1.0 and 11.1.2.2.0 (11gR2) where no reports can be run directly from the URL when using the standalone reports server. The bug occurs when no userid is specified in the URL. Before applying any [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"There is a bug in Forms and Reports 11.1.2.1.0 and 11.1.2.2.0 (11gR2) where no reports can be run directly from the URL when using the standalone reports server. The bug occurs when no userid is specified in the URL.\r\n\r\n<strong>Reproducing the Error:<\/strong>\r\n\r\n1. Run a report from URL using the standalone reports server (Example: http:\/\/server.domain:9002\/reports\/rwservlet?server=name_of_standalone_reports_server&report=name_of_report&desformat=pdf&destype=cache\r\n\r\n<a class=\"thickbox\" href=\"https:\/\/pitss.org\/files\/2013\/06\/image.png\"><img style=\"padding-left: 0px; padding-right: 0px; padding-top: 0px; border-width: 0px;\" title=\"image\" src=\"https:\/\/pitss.org\/files\/2013\/06\/image_thumb.png\" alt=\"image\" width=\"552\" height=\"289\" border=\"0\" \/><\/a>\r\n\r\n2. After logging in with the database credentials, the REP-51002 error (REP-51002: Bind to Reports Server name_of_standalone_reports_server failed) appears:\r\n\r\n<a class=\"thickbox\" href=\"https:\/\/pitss.org\/files\/2013\/06\/image1.png\"><img style=\"padding-left: 0px; padding-right: 0px; padding-top: 0px; border-width: 0px;\" title=\"image\" src=\"https:\/\/pitss.org\/files\/2013\/06\/image_thumb1.png\" alt=\"image\" width=\"561\" height=\"243\" border=\"0\" \/><\/a>\r\n\r\n\u00a0\r\n\r\n<strong>Solution:<\/strong>\r\n\r\n<strong>IMPORTANT: Before applying any Oracle patches, it is recommended to review the README file which comes with the Oracle patch as well as to make a backup of your Middleware environment.<\/strong>\r\n\r\n<strong><u>UPDATE REGARDING REPORTS VERSION 11.1.2.2.0 (3\/10\/14):<\/u> This bug also occurs in Reports 11.1.2.2.0. The below fix is only for Reports 11.1.2.1.0. There is currently no patch available for version 11.1.2.2.0 as the patchset below fails when trying to apply in Reports 11.1.2.2.0.<\/strong>\r\n<ol>\r\n \t<li>Download Patch 16426793 from My Oracle Support.<\/li>\r\n \t<li>Extract the zip file in the machine where the problem is occurring.<\/li>\r\n \t<li>Shutdown all WebLogic servers and instances in the affected domain.<\/li>\r\n \t<li>Open up Command Prompt as an administrator (or open a terminal session if using Linux\/Unix)<\/li>\r\n \t<li>Set the following environment variables:\r\n<ul>\r\n \t<li>Windows:\r\n<ul>\r\n \t<li>set ORACLE_HOME=C:\\Oracle\\Middleware\\as_1 (can also be Oracle_FRHome1 or something equivalent)<\/li>\r\n \t<li>set PATH=%PATH%;C:\\Oracle\\Middleware\\oracle_common\\OPatch<\/li>\r\n<\/ul>\r\n<\/li>\r\n \t<li>Linux\/Unix:\r\n<ul>\r\n \t<li>export ORACLE_HOME=$MW_HOME\/as_1 (can also be Oracle_FRHome1 or something equivalent) (Replace $MW_HOME with the path to your Middleware home)<\/li>\r\n \t<li>export PATH=$PATH:$MW_HOME\/oracle_common\/OPatch<\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ul>\r\n<\/li>\r\n \t<li>Go to the directory where you extracted the zip file and go into the 16426793 in Command Prompt or your terminal window.<\/li>\r\n \t<li>Run: opatch apply<\/li>\r\n \t<li>Press \u2018y\u2019 when it asks if the system is ready for patching.<\/li>\r\n \t<li>When complete, start up your WebLogic servers and instances.<\/li>\r\n<\/ol>\r\nAfter completing the steps above, the report should run without a problem after logging into the login screen shown in step 1 in the \u201cReproducing the Error\u201d section using the same URL.\r\n\r\nIn parallel, there could be a possibility that your firewall could be blocking a port which the report server uses:\r\n<ol>\r\n \t<li>Create a rule to allow port 14021 in your firewall.\r\n<ul>\r\n \t<li>Run rwdiag.bat -findAll (Gives you port 14021 and the channel address)<\/li>\r\n \t<li>Open port 14021<\/li>\r\n<\/ul>\r\n<\/li>\r\n \t<li>In the firewall, allow requests from your host IP address to the channel address found above.<\/li>\r\n<\/ol>\r\n<strong>Sources: Oracle Support Notes 1454773.1 and 415407.1\r\n<\/strong>","_et_gb_content_width":"","footnotes":""},"categories":[36,14,19,10],"tags":[16,51,32,17,37,45,43,24],"class_list":["post-4254","post","type-post","status-publish","format-standard","hentry","category-reports","category-resolve-issues","category-unix-linux","category-windows","tag-11gr2","tag-aix","tag-bug","tag-linux","tag-reports","tag-solaris","tag-unix-based","tag-windows"],"_links":{"self":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/4254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/comments?post=4254"}],"version-history":[{"count":12,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/4254\/revisions"}],"predecessor-version":[{"id":10099,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/4254\/revisions\/10099"}],"wp:attachment":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/media?parent=4254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/categories?post=4254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/tags?post=4254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}