We are not a GEOPAK shop any more, but we allow our consultants to use it. Yesterday, they reported an error message during any attempts to open a DGN document. The error comes in the geopak.cfg file, where the file is trying to use a %include to read some other cfg files.
I have narrowed the issue down to the use of the environment variable CommonProgramFiles in that cfg file.
The CFG files it is trying to locate are actually at the path defined by the variable CommonProgramFiles(x86).
As I understand it, a 32 bit program running on a 64 bit platform is supposed to automatically resolve these issues. But this is not occurring. And it appears that trying to use $(CommonProgramFiles(x86)) in a cfg file results in an error due to the (x86) within a $( ) syntax,
Can anyone offer any assistance on this?
In this folder (C:\Program Files (x86)\Bentley\MicroStation V8i (SELECTseries)\MicroStation\config\appl) we create a "00CommonFilesFix.cfg" file so it loads first. This is the variable that we add to the 00CommonFilesFix.cfg file. CommonProgramFiles=C:\Program Files (x86)\Common Files\ Seems to work for us off of ProjectWise
The user reports that GEOPAK works outside of PW. It's only when opening files inside of PW that the error occurs.
Charles (Chuck) Rheault CADD Manager
MDOT State Highway Administration