Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

REP-56133: Access is denied to write to the specified location.

user8854969Oct 16 2018 — edited Oct 18 2018

Hi,

Can anyone help me out for below issue

I am trying to call report with destype=file it  fails with error REP-56133: Access is denied to write to the specified location. I have added below information in rwserver.conf file

<folderAccess>

      <read>C:\APPS\aa\REP</read>

      <write>C:\Output</write>

  </folderAccess>

rwserver.conf

<?xml version = '1.0' encoding = 'ISO-8859-1'?>

<server 

    xmlns="http://xmlns.oracle.com/reports/server"

    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"   

    >

  

   <cache class="oracle.reports.cache.RWCache">

      <property name="cacheSize" value="50"/>

      <!--property name="cacheDir" value="your cache directory"/-->

      <!--property name="maxCacheFileNumber" value="max number of cache files"/-->

   </cache>

   <!--Please do not change the id for reports engine.-->

   <!--The class specifies below is subclass of _EngineClassImplBase and implements EngineInterface.-->

   <engine id="rwEng" class="oracle.reports.engine.EngineImpl" maxEngine="7" minEngine="1" engLife="50" >

      <!--property name="sourceDir" value="your reports source directory"/-->

      <!--property name="tempDir" value="your reports temp directory"/-->

  <property name="sourceDir" value="C:\APPS\TAJ\REP"/>

      <property name="tempDir" value="C:\tempreport"/>

     <envVariable name="REPORTS_ARABIC_NUMERAL" value="HINDI"/>

      <envVariable name="NLS_LANG" value="ARABIC_United Arab Emirates.AR8MSWIN1256"/>

      <property name="keepConnection" value="yes"/>

   </engine>

   <engine id="rwURLEng" class="oracle.reports.urlengine.URLEngineImpl" maxEngine="7" minEngine="1" engLife="50" />

    <environment id="arabicdef">

         <envVariable name="NLS_LANG" value="ARABIC_United Arab Emirates.AR8MSWIN1256"/>

<envVariable name="REPORTS_ARABIC_NUMERAL" value="HINDI"/>

         <envVariable name="NLS_DATE_FORMAT" value="dd/mm/yyyy"/>

<envVariable name="REPORTS_ENHANCED_FONTHANDLING" value="YES"/>

<envVariable name="REPORTS_BIDI_ALGORITHM" value="UNICODE"/>

<envVariable name="REPORTS_ARABIC_NUMERAL" value="HINDI"/>

      </environment>

   <folderAccess>

      <read>C:\APPS\TAJ\REP</read>

      <write>C:\Output</write>

   </folderAccess>

   <!--security id="rwJaznSec" class="oracle.reports.server.RWJAZNSecurity"/-->

  

   <!--

   <security id="rwSec" class="oracle.reports.server.RWSecurity">

     <property name="oidAppEntity" value="$$Self.oidAppEntity$$"/>

     <property name="oidUrl" value="$$Self.oidUrl$$"/>

     <property name="oidPasswdKey" value="$$Self.oidPasswdKey$$"/>

     <property name="portalUserName" value="$$Self.portalUserName$$" />

     <property name="portalConnection" value="$$Self.portalConnection$$" />

     <property name="portalPasswdKey" value="$$Self.portalPasswdKey$$" />

   </security>

   -->

  

   <!--destination destype="oraclePortal" class="oracle.reports.server.DesOraclePortal">

     <property name="dbuser" value="$$PORTAL_DB_USERNAME$$"/>

     <property name="dbpassword" value="csf:$$CSF_ALIAS$$:$$PORTAL_DB_PASSWORD_KEYE$$"/>

     <property name="dbconn" value="$$PORTAL_DB_TNSNAME$$"/>

   </destination-->

   <destination destype="ftp" class="oracle.reports.plugin.destination.ftp.DesFTP"/>

   <destination destype="WebDav" class="oracle.reports.plugin.destination.webdav.DesWebDAV"/>

   <job jobType="report" engineId="rwEng"/>

   <job jobType="rwurl" engineId="rwURLEng"/>

   <notification id="mailNotify" class="oracle.reports.server.MailNotify">

      <property name="succnotefile" value="succnote.txt"/>

      <property name="failnotefile" value="failnote.txt"/>

   </notification>

   <!--notification id="wfNotify" class="oracle.reports.server.WorkflowNotify">

      <property name="connStr" value="%WF_DB_USERNAME%/%WF_DB_PASSWORD%@%WF_DB_TNSNAME%" encrypted="no"/>

   </notification-->

   <!--jobStatusRepository class="oracle.reports.server.JobRepositoryDB">

      <property name="dbuser" value="$$REPO_DB_USERNAME$$"/>

      <property name="dbpassword" value="csf:$$CSF_ALIAS$$:$$REPO_DB_PASSWORD_KEYE$$"/>

      <property name="dbconn" value="$$REPO_DB_TNSNAME$$"/>

   </jobStatusRepository-->

  

   <connection maxConnect="50" idleTimeOut="15">

   </connection>

   <queue maxQueueSize="1000"/>

   <!--jobRecovery auxDatFiles="yes"/-->

   <proxyInfo>

     <proxyServers>

       <proxyServer name="$$Self.proxyHost$$" port="$$Self.proxyPort$$" protocol="all"/>

     </proxyServers>

     <bypassProxy>

      <domain>$$Self.proxyByPass$$</domain>

     </bypassProxy>

   </proxyInfo>

   <pluginParam name="mailServer" value="%MAILSERVER_NAME%">

      <!--property name="enableSSL" value="yes"/-->

      <!--UserName and Password that can be used to connect to the mail server-->

      <!--property name="mailUserName" value="%MAIL_USERID%" /-->

      <!--property name="mailPassword" value="%MAIL_PASSWORD%"/-->

   </pluginParam>

</server>

Url --> http://localhost:9002/reports/rwservlet?Report=test.rep&desformat=pdf&destype=file&userid=username/password@database&ser…

Version FMW 12.2.1.3

OS  Windows 2012 R2 standard

Regards

Comments
Post Details
Added on Oct 16 2018
7 comments
4,341 views