SAP Knowledge Base Article - Preview

3435823 - TypeError: this.getSAPMountDir() has no properties

Symptom

During System Provisioning (Installation, Uninstallation or System Copy) of SAP System based on SAP NetWeaver/SAP S/4HANA, with Software Provisioning Manager (SWPM, SAP Note: 16800452568783).

In log file sapinst_dev.log, there is message as below:

TRACE[W]   2025-09-10 19:51:22.239 (<Domain>\<user>) (startInstallation) [synxcpath.cpp:1007] id=syslib.filesystem.findFirstFileFailed CSyPath::getOSNodeType(bool)
Unable to get information about file \\<Globalhost>\sapmnt\<SID>\SYS\exe\uc\NTAMD64\sapcontrol.exe using FindFirstFile. Operating system error message: Access is denied. (5)

TRACE[W]   2025-09-10 19:51:22.240 (<Domain>\<user>) (startInstallation) [synxcpath.cpp:1007] id=syslib.filesystem.findFirstFileFailed CSyPath::getOSNodeType(bool)
Unable to get information about file <Drive>:\usr\sap\<SID>\SYS\exe\uc\NTAMD64\sapcontrol.exe using FindFirstFile. Operating system error message: Access is denied. (5)

OR

TRACE      2025-09-10 19:51:22.270 (<Domain>\<user>) (startInstallation) [Installer Callback]
Can't resolve parameter SAPSYSTEM in profile. Returning undefined.

TRACE      2025-09-10 19:51:22.272 (<Domain>\<user>) (startInstallation) [Installer Callback]
While resolving parameter INSTANCE_NAME: can't resolve D$$ because $$ is unknown. Returning undefined.
<..>
TRACE      2025-09-10 19:51:22.274 (<Domain>\<user>) (startInstallation) [Installer Callback]
While resolving parameter DIR_INSTANCE: can't resolve <Drive>:\usr\sap\<SID>\$(INSTANCE_NAME) because INSTANCE_NAME is unknown. Returning undefined.
<..>
TRACE      2025-09-10 19:51:22.275 (<Domain>\<user>) (startInstallation) [Installer Callback]
While resolving parameter DIR_EXECUTABLE: can't resolve $(DIR_INSTANCE)\exe because DIR_INSTANCE is unknown. Returning undefined.
<..>

106074:     var sapmntExeDir = this.getSAPMountDir().concat(this.getSID(), "exe", unicode);

<.>
ERROR      2025-09-10 19:51:22.640 (S4PIMSQAAPP\mindadm) (startInstallation) [EJSGlobal.cpp:48] id=ejs.scriptMessage errno=FJS-00003 EJS_ErrorReporter
TypeError: this.getSAPMountDir() has no properties (in script NW_DBRefreshOnly|ind|ind|ind|ind, line 106074: ???)


Read more...

Environment

  • SAP System Provisioning with SWPM 1.0and 2.0.
  • SAP S/4HANA
  • SAP NetWeaver 7.x

Product

SAP S/4HANA 2021

Keywords

SWPM, INSTANCE_NAME, DIR_EXECUTABLE, stopInstance, TypeError: this.getSAPMountDir(),has no properties, sapcontrol.exe, SAPSYSTEM  , KBA , BC-INS-MIG , OS/DB Migrations with SWPM and DB refresh , Problem

About this page

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

Search for additional results

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