Error UserManagement when upgrading from V3.15 to V3.18

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
Search

Post Reply
7 posts • Page 1 of 1
funkey
Posts: 85
Joined: Mon Dec 27, 2010 1:11 pm

Error UserManagement when upgrading from V3.15 to V3.18

Post by funkey »

Hi,

I have troubles when upgrading some of my projects from V3.15 to V3.18.

User management rights does not work anymore and I get following errors in log

Code: Select all

WCCOAui      (9), 2022.06.02 12:34:12.328, CTRL, SEVERE,      0, , Invalid content, cannot be converted to dyn_uint
WCCOAui      (9), 2022.06.02 12:34:12.429, CTRL, WARNING,     5/ctrl, Ort der folgenden Meldung: 
    Module: Modul_L
    Panel: C:\pvss_Projects\BinderK_Test\panels\Haupt.pnl [Basispanel]
    Object: 250 named: "Button1" of type: PUSH_BUTTON
    Script: Initialize
    Library: C:\Siemens\Automation\WinCC_OA\3.18\scripts\libs\classes\userManagement\UserManagementGroup.ctl
    Line: 88
WCCOAui      (9), 2022.06.02 12:34:12.429, PARAM,WARNING,     0, , Ungültige Area Permisson
WCCOAui      (9), 2022.06.02 12:34:12.432, CTRL, WARNING,     5/ctrl, Ort der folgenden Meldung: 
I have no problem with this when upgrading a project from V3.17 to V3.18.
All projects have the same core files and scripts, but I can't figure out what is going wrong with the projects from version V3.15.
There must be something wrong with the AREA_PERMISSION or with the AREA_IDS.

I'm still using getUserPermissionForArea() and I know this is deprecated, but it still works fine in projects made with V3.17 and V3.18, so this should not be a problem. And system panels where nothing has been changed are affected to this issue as well. One project even makes the WCCOAui crash (block) when just opening the standard 'system overview' panel. Then you see again the 'dyn_uint conversion error' in log file.

Is this a known issue? Can someone help me to solve this problem?

Thanks a lot in advance!
Best regards
Christoph

funkey
Posts: 85
Joined: Mon Dec 27, 2010 1:11 pm

Re: Error UserManagement when upgrading from V3.15 to V3.18

Post by funkey »

Hello,

I have found another issue with upgrading from V3.15 to V3.18.
If I want to start the database configuration panel from system management panel, then i get an error in log file.

Code: Select all

    Line: 1777, getPanelSize, Kann die Datei para/archive/archive_select.pnl nicht öffnen
So it wants to open a panel that does not exist anymore. This is because panels are now in folders NGA and RDB.
Where do I have to make changes, that this will work as expected? I tried useNGA=0 in config file, but this did not help of course.

Thanks!
BR
Christoph

User avatar
kilianvp
Posts: 443
Joined: Fri Jan 16, 2015 10:29 am

Re: Error UserManagement when upgrading from V3.15 to V3.18

Post by kilianvp »

funkey wrote: Thu Jun 02, 2022 4:06 pm Hello,

I have found another issue with upgrading from V3.15 to V3.18.
If I want to start the database configuration panel from system management panel, then i get an error in log file.

Code: Select all

    Line: 1777, getPanelSize, Kann die Datei para/archive/archive_select.pnl nicht öffnen
So it wants to open a panel that does not exist anymore. This is because panels are now in folders NGA and RDB.
Where do I have to make changes, that this will work as expected? I tried useNGA=0 in config file, but this did not help of course.

Thanks!
BR
Christoph
i had the change archive_select.pnl to archive_HDB_select.pnl

funkey
Posts: 85
Joined: Mon Dec 27, 2010 1:11 pm

Re: Error UserManagement when upgrading from V3.15 to V3.18

Post by funkey »

Hello, thanks for your answer.
I copied 'archive_HDB_select.pnl' to 'archive_select.pnl' in installation path. This works for this issue, but I don't think this is the official way. Something must have gone wrong with this projects, that this happenes when upgrading to V3.18.

dbindernagel
Posts: 161
Joined: Mon Feb 23, 2015 1:34 pm

Re: Error UserManagement when upgrading from V3.15 to V3.18

Post by dbindernagel »

At least the last error sounds like you have files from the base WinCC OA installation "overwritten/copied" in your project (or in a subproject).
These files then still point to the old place of other files. I would check if there are "overwritten" files.

funkey
Posts: 85
Joined: Mon Dec 27, 2010 1:11 pm

Re: Error UserManagement when upgrading from V3.15 to V3.18

Post by funkey »

I already checked this and renamed all overparametrized panels and scripts. This did not help.
While startup of the project I get always this errors:

Code: Select all

WCCOActrl    (1), 2022.06.03 12:41:26.365, CTRL, SEVERE,      0, , Invalid content, cannot be converted to dyn_uint
WCCOActrl    (1), 2022.06.03 12:41:26.379, CTRL, SEVERE,      0, , Invalid content, cannot be converted to dyn_uint
This comes from 'pvss_scripts.lst' and ther from the scripts 'commandChannel.ctl' and 'updateUserGroups.ctl'.
And everywhere in UI when user permissions are requested, then this error comes again and permission fails.

User avatar
leoknipp
Posts: 2926
Joined: Tue Aug 24, 2010 7:28 pm

Re: Error UserManagement when upgrading from V3.15 to V3.18

Post by leoknipp »

funkey wrote: Thu Jun 02, 2022 4:06 pm
I have found another issue with upgrading from V3.15 to V3.18.
If I want to start the database configuration panel from system management panel, then i get an error in log file.

Code: Select all

    Line: 1777, getPanelSize, Kann die Datei para/archive/archive_select.pnl nicht öffnen
This issue is already known and is fixed with 3.18 P010.
When you cannot do the upgrade to P010 please get in contact with your common WinCC OA support. A simple script is available which solves this problem.

Best Regards
Leopold Knipp
Senior Support Specialist

Post Reply
7 posts • Page 1 of 1