You are currently reviewing an older revision of this page.
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"
Answer:
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.
To resolve the problem the user can either
1.) For GEOPAK: edit the geopak.3.1.cfg (SS4) file and add "CommonProgramFiles=C:\Program Files (x86)\Common Files\" to the top of the file
For InRoads:
a.) edit the inroads.3.1.cfg (SS4) file and add "CommonProgramFiles=C:\Program Files (x86)\Common Files\" to the top of the file
b.) also, add "INROADS_PATH=${registryread{"HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Bentley\InRoads Group(SELECTseries 4)\08.11.09\PathName"}}" to the top of the file
or
2.) Add a new Managed workspace variable at the Predefined or Global level that sets "CommonProgramFiles=C:\Program Files (x86)\Common Files\" and if using InRoads, this: "InRoads_Path=C:\Program Files (x86)\Bentley\InRoads Group (SELECTseries 4)\". This Managed Workspace variable could then be added to the InRoads/GEOPAK application, or to any files/folders that will use InRoads/GEOPAK.
*GEOPAK SS3 users should edit the geopak.3.0.cfg. InRoads SS3 users should edit the inroads.3.0.cfg. InRoads SS2 users should edit the InRoadsAT.cfg. Note that file path names will be different for (1b)depending on what select series is being used.