1938597 - Error: UnsafeFileAccessException when system tries to access file - EIS | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

1938597 - Error: UnsafeFileAccessException when system tries to access file - EIS

Symptom

If the software attempts to access a file in a location that is not defined as safe, the application log will display the following error:

com.smartops.exceptions.UnsafeFileAccessException: validateSafeFileAndFileLocation: File <filename> is not in a safe location and cannot be accessed. [<full path & file name>]

Example:

If the software needs to access the 'known_hosts' file on a Windows application server to open a SSH session to the database server, this error would result:

com.smartops.exceptions.UnsafeFileAccessException: validateSafeFileAndFileLocation: File known_hosts is not in a safe location and cannot be accessed. [D:\ssh\known_hosts]                                                                                                                                                           


Read more...

Environment

  • Enterprise Inventory Optimization 6.8 and 6.9
  • Enterprise Inventory and Service-Level Optimization 6.10

Product

SAP Enterprise Inventory Optimization 6.8 by SmartOps ; SAP Enterprise Inventory Optimization 6.9 by SmartOps ; SAP Enterprise Inventory and Service-Level Optimization 6.10

Keywords

EIS, EIO, SmartOps, 6.8, 6.9, 6.10, unsafe file location , KBA , SCM-EIS , SAP Enterprise Inventory and Service-Level Optimization , SCM-EIS-OPS , SAP EIS - Operations , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.