[V8i] User Preferences & Configuration - UPF Saves but Updates Don't Apply

PowerGEOPAK V8i (SELECTseries 10)
Version 08.11.09.918

Power InRoads V8i (SELECTseries 4)
Version 08.11.09.878

Windows 10 Pro
Version 1809
OS build 17763.503

REQUEST:

I'm trying to debug an issue I'm sure I caused when setting up a new company workspace. I'm looking for an "eagle eye" to help troubleshoot.

PROBLEM:

User preferences ARE saving, but the changes aren't being implemented.

The issue presents when beta testers cannot set their preferences to "Open Two Application Windows."  When they check the box, save settings, exit PowerGEOPAK, and reopen, they still have only one application window.  They check the user preference dialog and the box is still checked.

OTHER RELATED SYMPTOMS:

  • Problem is the same with InRoads, V8i SS4, other user names, Windows 7 Pro.  I think this is related to something I did in the config.
  • The application window state never saves to "maximized" (or restore)
  • dfltuser-PowerInRoads.cfg or dfltuser-PowerGEOPAK.cfg update/save, but the next session of the open dialog doesn't "default" to the same USER saved in the dltuser file.
  • Mouse button mapping resets every new session. MS_BUTTONMENU points to the correct location/file.
  • "docking," "TaskNavigation," and "GroupPanels" DO retain their information between sessions.
  • Debugging shows MS_USERPREF (and a handful of others) sets multiple values for the same preference variable:
    • MS_USERPREF : site      = C:\Users\jattanaseo\AppData\Local\Bentley\PowerGEOPAK\8.11\XeG1V46hzk0s_NZaNmnEsQ\prefs\Roadway-PowerGEOPAK.upf
    •                             : project = N:\Standards\CAD\Bentley\interfaces\jattanaseo\prefs\IL-DOT-Preferences.upf
    • Company preferences are saved in a network directory. Though it isn't recommended, the same problems persist when using local C: to store user preferences.

I attached my msdebug.txt if that's any help.  Thank you in advance!

1121.msdebug.txt

Parents
  • You didnt  provide the upf...

    It some times it gets corrupted especially if its too big, my experience is that if its over 250 kb  then it can start to cause problems.. I dont know why or the source of the problem but a temporary fix is to delete it  let msnt  build a new one then you set your config and  layout how you want  and  make a back up copy of the result and  save it where you can retrieve it if it happens  again much later down the track..

    unfortunately you will loose track of the last few files you visited but a small price to pay for not having to re-setup everything every time.. also you can can this as a company default deployment for new users...( you have to remember rename it by the username)... FYI not sure if you need to delete all the docking stuff inside the folder so I just leave it...

    Lorys

    Started msnt work 1990 - Retired  Nov 2022 ( oh boy am I old )

    But was long time user V8iss10 (8.11.09.919) dabbler CE  update 16 (10.16.00.80) 

    MicroStation user since 1990 Melbourne Australia.
    click link to PM me 

Reply
  • You didnt  provide the upf...

    It some times it gets corrupted especially if its too big, my experience is that if its over 250 kb  then it can start to cause problems.. I dont know why or the source of the problem but a temporary fix is to delete it  let msnt  build a new one then you set your config and  layout how you want  and  make a back up copy of the result and  save it where you can retrieve it if it happens  again much later down the track..

    unfortunately you will loose track of the last few files you visited but a small price to pay for not having to re-setup everything every time.. also you can can this as a company default deployment for new users...( you have to remember rename it by the username)... FYI not sure if you need to delete all the docking stuff inside the folder so I just leave it...

    Lorys

    Started msnt work 1990 - Retired  Nov 2022 ( oh boy am I old )

    But was long time user V8iss10 (8.11.09.919) dabbler CE  update 16 (10.16.00.80) 

    MicroStation user since 1990 Melbourne Australia.
    click link to PM me 

Children
  • I didn't include the UPF because it's a brand new one. It was created with the program. I followed the Bentley LEARNserver process to set up the workspace. I think it's a pretty standard setup, but I'm worried I may have over-constrained it.

    Your response helped me think differently about the issue. Since I knew PowerGEOPAK wasn't reading dfltuser-PowerGEOPAK.cfg, I looked through the debug report for when it was called. In that grouping of code, _USTN_HOMEROOT and _USTN_HOMEPREFS were defined at the installation/local directory. Since I define these in my configuration, it wasn't obvious they were being defined locally first, then redefined after trying to read dfltuser-PowerGEOPAK.cfg.

    These two variables are defined in msconfig.cfg on LINE 70 and LINE 94. The description suggests considering defining _USTN_HOMEROOT differently for roaming profiles:

    _USTN_HOMEROOT : $(USTN_UserAppDataPath)

    From there, I followed the lines of msconfig backward.  I figured out I was defining _USTN_HOMEROOT after the program gets to the startup screen. I moved that definition to earlier in the configuration and that fixed the issue I was having.

    Thank you again for your quick response! It helped me focus on the "timing" of the issue, rather than the configuration itself.

    Joe

    Joe

    SOFTWARE
    ProjectWise Explorer: 10.00.03.334
    Power InRoads 08.11.09.918
    Power GeoPak 08.11.09.918
    OpenRoads Designer 10.09.00.91

    SPECIFICATIONS
    Dell Precision 3630 Tower (Win 10 Pro 64-bit)
    CPU: Intel Core i7-9700 @ 3.00 GHz, 3000MHz (8 Core, 8 Logical Processors)
    RAM: 32 GB, 2 x 16 GB, DDR4, 2666MHz, DIMM
    GPU: NVIDIA Quadro P2200 w/5 GB GDDR5X
    STORAGE: M.2 2280 512GB, PCIe x4 Gen 3 NVMe 1.2.1