COMException error workaround (other than rebooting the workstation)?
Spider
✭
in RobotStudio
<P>I get this error frequently ( as-in, 3 times a day ). It occurs when I'm starting up an existing system, which ran fine earlier, and always leaves me with an empty station and no virtual controller.</P>
<P>My current workaround is to reboot my workstation and try again, (rinse and repeat if necessary) and reboot again,.. Eventually it runs and, on a good day, may run for several hours. If I have to switch over to work on another station/system, I hold my breath and roll the dice.</P>
<P>RobotStudio .NET exception: The service did not respond to the start or control request in a timely fashion. (Exception from HRESULT: 0x8007041D)<BR>============================================<BR>Base exception: COMException<BR>The service did not respond to the start or control request in a timely fashion. (Exception from HRESULT: 0x8007041D)</P>
<P>Server stack trace: <BR>at RobotStudio.Services.RobApi.Win32.CoGetClassObject(Guid rclsid, CLSCTX dwClsContext, IntPtr pServerInfo, Guid riid)<BR>at RobotStudio.Services.RobApi.RobPlatformDesktop.<.cctor>b__0()<BR>at System.Lazy`1.CreateValue()</P>
<P>Exception rethrown at [0]: <BR>at RobotStudio.Services.RobApi.Win32.CoGetClassObject(Guid rclsid, CLSCTX dwClsContext, IntPtr pServerInfo, Guid riid)<BR>at RobotStudio.Services.RobApi.RobPlatformDesktop.<.cctor>b__0()<BR>at System.Lazy`1.CreateValue()<BR>at System.Lazy`1.LazyInitValue()<BR>at System.Lazy`1.get_Value()<BR>at RobotStudio.Services.RobApi.RobPlatformDesktop.CreateCommServer(String ipAddress, String systemId, RobCtrlType ctrlType, UInt32 netscanId)<BR>at RobotStudio.Services.RobApi.RobControllerConnection.<>c__DisplayClass6.<Connect>b__4(TaskCompletionSource`1 tcs, List`1 _)<BR>at RobotStudio.Services.RobApi.TaskUtils.<>c__DisplayClass1`1.<Run>b__0()</P>
<P>Exception rethrown at [1]: <BR>at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)<BR>at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)<BR>at RobotStudio.Services.Controller.ControllerService.<WaitForConnectionAsync>d__44.MoveNext()</P>
<P>Exception rethrown at [2]: <BR>at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)<BR>at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)<BR>at RobotStudio.Services.Controller.ControllerService.<StartAsync>d__3e.MoveNext()</P>
<P>Exception rethrown at [3]: <BR>at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)<BR>at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)<BR>at RobotStudio.Services.Controller.ControllerService.<StartAsync>d__34.MoveNext()</P>
<P>Exception rethrown at [4]: <BR>at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)<BR>at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)<BR>at RobotStudio.Services.Controller.ControllerService.<Start>d__2f.MoveNext()</P>
<P>Exception rethrown at [5]: <BR>at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)<BR>at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)<BR>at ABBInternal.Controller.StationVirtualControllerManager.<StartLoadedController>d__d.MoveNext()</P>
<P>My current workaround is to reboot my workstation and try again, (rinse and repeat if necessary) and reboot again,.. Eventually it runs and, on a good day, may run for several hours. If I have to switch over to work on another station/system, I hold my breath and roll the dice.</P>
<P>RobotStudio .NET exception: The service did not respond to the start or control request in a timely fashion. (Exception from HRESULT: 0x8007041D)<BR>============================================<BR>Base exception: COMException<BR>The service did not respond to the start or control request in a timely fashion. (Exception from HRESULT: 0x8007041D)</P>
<P>Server stack trace: <BR>at RobotStudio.Services.RobApi.Win32.CoGetClassObject(Guid rclsid, CLSCTX dwClsContext, IntPtr pServerInfo, Guid riid)<BR>at RobotStudio.Services.RobApi.RobPlatformDesktop.<.cctor>b__0()<BR>at System.Lazy`1.CreateValue()</P>
<P>Exception rethrown at [0]: <BR>at RobotStudio.Services.RobApi.Win32.CoGetClassObject(Guid rclsid, CLSCTX dwClsContext, IntPtr pServerInfo, Guid riid)<BR>at RobotStudio.Services.RobApi.RobPlatformDesktop.<.cctor>b__0()<BR>at System.Lazy`1.CreateValue()<BR>at System.Lazy`1.LazyInitValue()<BR>at System.Lazy`1.get_Value()<BR>at RobotStudio.Services.RobApi.RobPlatformDesktop.CreateCommServer(String ipAddress, String systemId, RobCtrlType ctrlType, UInt32 netscanId)<BR>at RobotStudio.Services.RobApi.RobControllerConnection.<>c__DisplayClass6.<Connect>b__4(TaskCompletionSource`1 tcs, List`1 _)<BR>at RobotStudio.Services.RobApi.TaskUtils.<>c__DisplayClass1`1.<Run>b__0()</P>
<P>Exception rethrown at [1]: <BR>at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)<BR>at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)<BR>at RobotStudio.Services.Controller.ControllerService.<WaitForConnectionAsync>d__44.MoveNext()</P>
<P>Exception rethrown at [2]: <BR>at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)<BR>at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)<BR>at RobotStudio.Services.Controller.ControllerService.<StartAsync>d__3e.MoveNext()</P>
<P>Exception rethrown at [3]: <BR>at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)<BR>at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)<BR>at RobotStudio.Services.Controller.ControllerService.<StartAsync>d__34.MoveNext()</P>
<P>Exception rethrown at [4]: <BR>at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)<BR>at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)<BR>at RobotStudio.Services.Controller.ControllerService.<Start>d__2f.MoveNext()</P>
<P>Exception rethrown at [5]: <BR>at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)<BR>at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)<BR>at ABBInternal.Controller.StationVirtualControllerManager.<StartLoadedController>d__d.MoveNext()</P>
M. McGraw
<font face="Verdana, Arial, Helvetica
<font face="Verdana, Arial, Helvetica
0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings