2621454 - "Access to the path specified by the connection is not permitted. Contact your Administrator" when using Import File Server Connection in SAP Analytics Cloud (SAC)

SAP Knowledge Base Article - Public

2621454 - "Access to the path specified by the connection is not permitted. Contact your Administrator" when using Import File Server Connection in SAP Analytics Cloud (SAC)

Symptom

"Access to the path specified by the connection is not permitted. Contact your Administrator" when using Import File Server Connection in SAP Analytics Cloud (SAC)

C4A+File+Connector+Error (1).jpg

Environment

  • SAP Analytics Cloud 2018

Reproducing the Issue

  1. Create whitelist.txt file, which lists all of folder paths used for imporing data or exporting models.
  2. Define the file server whitelist using  one of the following two methods
    • Add the whitelist location in your Tomcat JVM properties.
  1.              In Apache Tomcat 7.0, in the Properties menu, select the Java tab. Under Java Options, add one of these lines:

      • For import data: -DSAP_CLOUD_AGENT_FILE_SERVER_WHITELIST_PATH=<WhitelistFilepath>
      • For export model: -DSAP_CLOUD_AGENT_FILE_SERVER_EXPORT_WHITELIST_PATH=<WhitelistFilepath>

    • Set the operating system environment variable SAP_CLOUD_AGENT_FILE_SERVER_WHITELIST_PATH or SAP_CLOUD_AGENT_FILE_SERVER_EXPORT_WHITELIST_PATH to the location of the whitelist file.
  1. Restart SAP Analytics Cloud Agent
  2. In SAP Analytics Cloud, go to Start of the navigation path'' (Main Menu) Next navigation step '' System Next navigation step '' Administration Next navigation step System ConfigurationEnd of the navigation path.
  3. For data import, turn on Allow model import from File Server. For model export, turn on Allow model export to File Server
  4. Go to Start of the navigation path'' (Main Menu) Next navigation step '' Connection Next navigation step Connections Next navigation step '' (Add Connection) Next navigation step Import Data Connection Next navigation step File ServerEnd of the navigation path.
  5. In the dialog, enter a Connection Name, Description, and the Folder Path.
  6. The Folder Path should match the path listed in your whitelist file.
  7. Select Create.

Cause

Incorrect Java option or environment variable.

Resolution

You would need to specify the complete path including whitelist.txt in the Java Option -DSAP_CLOUD_AGENT_FILE_SERVER_WHITELIST_PATH  or environment variable SAP_CLOUD_AGENT_FILE_SERVER_WHITELIST_PATH

 More details can be found in Product Help.

See Also

Your feedback is important to help us improve our knowledge base.
Please rate how useful you found this article by using the star rating feature at the beginning of this article.
Thank you.

Keywords

EPM, SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, EPM-ODS, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics , KBA , LOD-ANA , SAP Analytics Cloud , LOD-ANA-BI , SAP Analytics Cloud - Business Intelligence (BOC) , LOD-ANA-BR , SAP Analytics Cloud - Digital Boardroom , LOD-ANA-PL , SAP Analytics Cloud – Planning (BOC) , LOD-ANA-PR , SAP Analytics Cloud – Predictive (BOC) , Problem

Product

SAP Analytics Cloud 1.0