title: REP-501 Unable to connect to the specified database
body: <p>We are in the process of upgrading our Oracle Fusion middle ware from 11g to 12c. We use report server to produce reports in pdf. We've configured the middle ware. Almost all functions work except a few. One of those is report does not work. The report works fine in 11g. <a href="https://aabbcc.com/reports/rwservlet?rpt_info=&amp;destype=cache&amp;report=/tmp/test.rdf&amp;desformat=PDF" rel="nofollow noreferrer">This</a> is the call to get report.</p>
  
  <p>rpt_info is defined in cgicmd.dat as follows</p>
  
  <pre><code>rpt_info: userid/password@tnsname
  </code></pre>
  
  <p>running the above URL returns this error:</p>
  
  <pre><code>REP-501: The specified database cannot be connected.
  </code></pre>
  
  <p>The <code>TNSNAME</code> was tested. From <a href="https://aabbcc.com/reports/rwservlet/showmap" rel="nofollow noreferrer">https://aabbcc.com/reports/rwservlet/showmap</a>, the rpt_info also read correctly.</p>
  
  <p>Does anybody have some ideas? Thank you.</p>