RobotStudio event

robAPI after updating RobotStudio from 2019 to 2022

Hello,
I have used RobotStudio well till few days ago.
However, I have faced some issue on RobotStudio.

As the title, I updated RS from 2019 to 2022 that the latest version.
Then, I can't do anything through RS2022.

I can't create new station with backup file, and I can't not access to robot through one click connect with below error.

RobotStudio .NET exception: One or more errors occurred.
============================================
Base exception: AggregateException
One or more errors occurred.
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at RobotStudio.Services.RobApi.RobNetscan.get_Local()
   at RobotStudio.UI.Controller.Commands.OneClickConnect.<Connect>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ABB.Robotics.RobotStudio.Environment.CommandBarButton.<RaiseExecuteCommand>d__52.MoveNext()
Inner exception: AggregateException
One or more errors occurred.
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at RobotStudio.Services.RobApi.Desktop.Transport.RobApiDesktopContext.<>c.<.cctor>b__2_1()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
Inner exception: COMException
클래스가 등록되지 않았습니다. (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
   at RobotStudio.Services.RobApi.Interop.Win32.CoGetClassObject(Guid rclsid, CLSCTX dwClsContext, IntPtr pServerInfo, Guid riid)
   at RobotStudio.Services.RobApi.Desktop.Transport.RobApiDesktopContext.<>c.<.cctor>b__2_0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()

Unfortunately, I have to set up the robot tmrw....
Is there anyone who knows some solutions to solve this problem...???
I'd really really appreciate for it.

Thanks in advance,

Answers

  • Dear All,
    I solved above issue finally,

    I had removed RS several times and reinstalled it in same directory(C drive), but it was still happend.
    So I reinstalled RobotStudio in different directory and the issues was finally gone away (C drive to D drive)