Troubleshooting
Problem
When running the install_acs_32_allusers.js or install_acs_64_allusers.js an error is presented stating Error line 579 path not found.
Cause
Microsoft OS Environment
Environment
Microsoft OS Environment
Diagnosing The Problem
Message box stating [Error line 579 path not found]
Resolving The Problem
The script uses Windows variables to create paths used for the deployment scripts.
The block of code represented by line 579 is as follows:
Shell3 = new ActiveXObject("WScript.Shell");
// Create local install path
// Create the IBM directory if it does not exist
if (!fso.FolderExists(target1)) {
fso.CreateFolder(target1);
}
// Create the IBM directory if it does not exist
if (!fso.FolderExists(log_target)) {
fso.CreateFolder(log_target);
}
The problem that has been identified is with the creation of the log_target folder creation. This is the install log we create.
We are looking at the %HOMEDRIVE% and %HOMEPATH% environment variables.
You can view the %HOMEPATH% and %HOMEDRIVE% variable by opening a Windows Command Prompt and entering the following commands:
echo %HOMEDRIVE%
echo %HOMEPATH%
As an example:
%HOMEPATH% is a value of \users\joeuser
%HOMEDRIVE% is a value of Z:
The would result in the value of log_target being Z:\users\joeuser\IBM
In all cases we have seen, it's been an authority issue creating the path or an invalid value in one of the Windows variables.
There is also a development works article where a user reported this very issue. They resolved by modifying the deployment script. Support doesn't assist with modification of the scripts; however this may be a work around.
Here's the link to the complete article, the issue is described in the comments:
https://developer.ibm.com/articles/i-ibmi-access-client-solutions-customization-trs/
Changing the environmental variables would be the recommendation rather than modifying the scripts.
[{"Product":{"code":"SWG60","label":"IBM i"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Access Client Solutions","Platform":[{"code":"PF033","label":"Windows"}],"Version":"Version Independent","Edition":"All Editions","Line of Business":{"code":"LOB57","label":"Power"}}]
Was this topic helpful?
Document Information
Modified date:
28 June 2023
UID
nas8N1021935