# robAPI after updating RobotStudio from 2019 to 2022

**URL:** <https://tech-community.robotics.abb.com/t/robapi-after-updating-robotstudio-from-2019-to-2022/11054>\
**Category:** RobotStudio\
**Created:** [March 6, 2023, 10:29am UTC](https://tech-community.robotics.abb.com/t/robapi-after-updating-robotstudio-from-2019-to-2022/11054 "2023-03-06T10:29:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![KIMminseung](https://avatars.discourse-cdn.com/v4/letter/k/4bbf92/32.png) [@KIMminseung](https://tech-community.robotics.abb.com/u/KIMminseung)\
**Post date:** [March 6, 2023, 10:29am UTC](https://tech-community.robotics.abb.com/t/robapi-after-updating-robotstudio-from-2019-to-2022/11054/1 "2023-03-06T10:29:06Z")

</div>

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,

---

<div class="post-metadata">

**Author:** ![KIMminseung](https://avatars.discourse-cdn.com/v4/letter/k/4bbf92/32.png) [@KIMminseung](https://tech-community.robotics.abb.com/u/KIMminseung)\
**Post date:** [March 23, 2023, 11:48pm UTC](https://tech-community.robotics.abb.com/t/robapi-after-updating-robotstudio-from-2019-to-2022/11054/2 "2023-03-23T23:48:18Z")

</div>

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)
