Any function using UserAuthorizationSystem causes Unknown error (0xC004FFFF) by RW 6.08

RunesmacherRunesmacher Belgium
edited April 2 in Developer Tools
We recently updated our Robots from RW 6.05.00.04 to RW 6.08.01.00

We use a program to change some config settings in the robot more easily.
Since the upgrade to RW 6.08 i am getting the following error while executing anything with the UserAuthorizationSystem. I tested multiple things (even getCurrentGrants and GetGrantTypes) All are giving me the following error.

The controller is already logged on as Default User and i am trying to check if this user has the grants for writing configurations. (To see if i need to show a seperate login screen for ex. Administrator)

Small code snipet (2nd line gives error)
UserAuthorizationSystem uas = controller.AuthenticationSystem;
if (!uas.CheckDemandGrant(Grant.WriteConfiguration))

Error:

ABB.Robotics.GenericControllerException
  HResult=0xC004FFFF
  Message=C004FFFF : Unknown error (0xC004FFFF)
剅佒㩒爠桤损湯牴汯敬⹲灣孰㐵㈴㩝漠杲损摯㩥ⴠ㔷‷敮彷潣敤›砰っ㐰晦晦※
Url:  Cmd:READ  Prop:UASConfig -Part Grants  Args:  Elapsed:17  CurrentCmds:0
History:
-00:00:16.1914043 [4] status:294912 data:-noelts,all,mark,cc     6,1,         0, ...
-00:00:16.1914043 [3] status:294912 data:0
-00:00:16.1854204 [5] SendCommand url: cmd:Set prop:LogoffUser arg:-Uid 2
-00:00:16.1634799 [5] status:294912 data:
-00:00:16.1594907 [6] SendCommand url: cmd:Set prop:LogonUser arg:<hidden> -locale Remote -app "" -loc "PC_NAME" -alias "PC_USER"
-00:00:16.1325634 [6] status:294912 data:-Uid 3
-00:00:16.1325634 [7] SendCommand url: cmd:Get prop:IsOptionPresent arg:-Option PCIN
-00:00:16.1126168 [7] status:294912 data:-OptionPresent 1
-00:00:16.1126168 [8] SendCommand url:/CONFIG/MMC/IOVIEW_BLOCK/IOViewBlockIfMotorsOff/enabled cmd:Get prop:Value arg:
-00:00:16.0926705 [9] SendCommand url: cmd:Set prop:LogoffUser arg:-Uid 3
-00:00:16.0926705 [8] status:294912 data:0
-00:00:16.0717267 [9] status:294912 data:
-00:00:16.0707312 [10] SendCommand url: cmd:Set prop:LogonUser arg:<hidden> -locale Remote -app "" -loc "PC_NAME" -alias "PC_USER"
-00:00:16.0467953 [10] status:294912 data:-Uid 6
-00:00:16.0467953 [11] SendCommand url: cmd:Get prop:IsOptionPresent arg:-Option PCIN
-00:00:16.0268482 [11] status:294912 data:-OptionPresent 1
-00:00:16.0268482 [12] SendCommand url:/CONFIG/MMC/IOVIEW_BLOCK/IOViewBlockIfMotorsOff/enabled cmd:Get prop:Value arg:
-00:00:15.9989231 [12] status:294912 data:0
-00:00:00.0189629 [13] SendCommand url: cmd:READ prop:UASConfig -Part Grants arg:
-00:00:00.0010109 [13] status:-1073414145 data:剅佒㩒爠桤损湯牴汯敬⹲灣孰㐵㈴㩝漠杲损摯㩥ⴠ㔷‷敮彷潣敤›砰っ㐰晦晦※

  Source=ABB.Robotics.Controllers.PC
  StackTrace:
   at Adapters.Uas.GetUasConfig()
   at Internal.Uas.LoadConfiguration()
   at Internal.Uas.LoadGrants()
   at Internal.Uas.CheckGrant(String grant)
   at ABB.Robotics.Controllers.UserAuthorizationSystem.CheckDemandGrant(String grant, String& value)
   at ABB.Robotics.Controllers.UserAuthorizationSystem.CheckDemandGrant(Grant grant)
   at RobotInstaller.FormRobotInstaller.buttonInstallRobotConfig_Click(Object sender, EventArgs e) in C:\Git\Robotics\tooling\RobotInstaller\RobotInstaller\FormRobotInstaller.cs:line 83
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(Form mainForm)
   at RobotInstaller.Program.Main() in C:\Git\Robotics\tooling\RobotInstaller\RobotInstaller\Program.cs:line 16

Inner Exception 1:
RobApiException: C004FFFF : Unknown error (0xC004FFFF)
剅佒㩒爠桤损湯牴汯敬⹲灣孰㐵㈴㩝漠杲损摯㩥ⴠ㔷‷敮彷潣敤›砰っ㐰晦晦※
Url:  Cmd:READ  Prop:UASConfig -Part Grants  Args:  Elapsed:17  CurrentCmds:0
History:
-00:00:16.1914043 [4] status:294912 data:-noelts,all,mark,cc     6,1,         0, ...
-00:00:16.1914043 [3] status:294912 data:0
-00:00:16.1854204 [5] SendCommand url: cmd:Set prop:LogoffUser arg:-Uid 2
-00:00:16.1634799 [5] status:294912 data:
-00:00:16.1594907 [6] SendCommand url: cmd:Set prop:LogonUser arg:<hidden> -locale Remote -app "" -loc "PC_NAME" -alias "PC_USER"
-00:00:16.1325634 [6] status:294912 data:-Uid 3
-00:00:16.1325634 [7] SendCommand url: cmd:Get prop:IsOptionPresent arg:-Option PCIN
-00:00:16.1126168 [7] status:294912 data:-OptionPresent 1
-00:00:16.1126168 [8] SendCommand url:/CONFIG/MMC/IOVIEW_BLOCK/IOViewBlockIfMotorsOff/enabled cmd:Get prop:Value arg:
-00:00:16.0926705 [9] SendCommand url: cmd:Set prop:LogoffUser arg:-Uid 3
-00:00:16.0926705 [8] status:294912 data:0
-00:00:16.0717267 [9] status:294912 data:
-00:00:16.0707312 [10] SendCommand url: cmd:Set prop:LogonUser arg:<hidden> -locale Remote -app "" -loc "PC_NAME" -alias "PC_USER"
-00:00:16.0467953 [10] status:294912 data:-Uid 6
-00:00:16.0467953 [11] SendCommand url: cmd:Get prop:IsOptionPresent arg:-Option PCIN
-00:00:16.0268482 [11] status:294912 data:-OptionPresent 1
-00:00:16.0268482 [12] SendCommand url:/CONFIG/MMC/IOVIEW_BLOCK/IOViewBlockIfMotorsOff/enabled cmd:Get prop:Value arg:
-00:00:15.9989231 [12] status:294912 data:0
-00:00:00.0189629 [13] SendCommand url: cmd:READ prop:UASConfig -Part Grants arg:
-00:00:00.0010109 [13] status:-1073414145 data:剅佒㩒爠桤损湯牴汯敬⹲灣孰㐵㈴㩝漠杲损摯㩥ⴠ㔷‷敮彷潣敤›砰っ㐰晦晦※

Does anyone has any idea why this can be? and how i can get this resolved?
The exact same program works on the RW 6.05 version.

Thanks in advance for any info.
Sign In or Register to comment.