Product(s): | InRoads/GEOPAK |
Version(s): | 08.11.09.878 |
Area: | ProjectWise |
Question:
When launching InRoads or GEOPAK in ProjectWise V10.00.02.265 using a managed workspace, user gets the error "Last Error [222] Cannot start application for the specified document. Check your program association. Failed to generate managed workspace configuration file. can't open macro file [C:\Program Files (x86)\Common Files/Bentley Shared/Civil Platform/08.11.09/Bentley Civil Assembly Location MS - Required.2.0.cfg],[C:\Program Files (x86)\Bentley\MicroStation V8i (SELECTseries)\MicroStation\config\appl\geopak.3.1.cfg, line 24"

Explanation:
This error is caused because ProjectWise CONNECT V10.00.02.265 is resolving the variable "$(CommonProgramFiles)" to the C:\Program Files\Common Files folder (since it is a 64 application) instead of the C:\Program Files (x86)\Common Files which is required by the 32 bit InRoads and GEOPAK SS2*/SS3*/SS4 products.
GEOPAK Solution:
To resolve the problem for GEOPAK, complete one of the two:
- OPTION 1: Open the geopak.3.1.cfg (SS4) file located here: C:\Program Files (x86)\Bentley\MicroStation V8i (SELECTseries)\MicroStation\config\appl
- Add CommonProgramFiles=C:\Program Files (x86)\Common Files\ to the top of the file after line 11, %if defined (Load_GEOPAK_SS4)

*GEOPAK SS3 users should edit the geopak.3.0.cfg.
- OPTION 2: add a new Managed workspace variable at the Predefined or Global level that sets CommonProgramFiles=C:\Program Files (x86)\Common Files\ This Managed Workspace variable could then be added to the GEOPAK application, or to any files/folders that will use GEOPAK
InRoads Solution:
To resolve the problem for InRoads SS4, complete one of the two:
- OPTION 1: Open the inroads.3.1.cfg (SS4) file located here: C:\Program Files (x86)\Bentley\MicroStation V8i (SELECTseries)\MicroStation\config\appl
- Add the two variables below to the top of the file after line 6, %if defined (Load_InRoads_SS4)
- CommonProgramFiles=C:\Program Files (x86)\Common Files\
- INROADS_PATH=${registryread{"HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Bentley\InRoads Group(SELECTseries 4)\08.11.09\PathName"}}

*InRoads SS3 users should edit the inroads.3.0.cfg. InRoads SS2 users should edit the InRoadsAT.cfg. Note that the file path name for INROADS_PATH will be different for SS3 and SS2.
- OPTION 2: Add two new Managed workspace variables at the Predefined or Global level that sets CommonProgramFiles=C:\Program Files (x86)\Common Files\ and InRoads_Path=C:\Program Files (x86)\Bentley\InRoads Group (SELECTseries 4)\ This Managed Workspace variable could then be added to the InRoads application, or to any files/folders that will use InRoads
- *Note that the file path name for INROADS_PATH will be different for SS3 and SS2.
