Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.

COMException error workaround (other than rebooting the workstation)?

Spider
Spider
edited July 2013 in RobotStudio
<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> </P>
image   M. McGraw

<font face="Verdana, Arial, Helvetica
Post edited by Spider on

Comments

  •  - - I hope this post looks better on your browser than mine.  nothing I attempt seems to make it prettier than this.  whatever - -
    image   M. McGraw

    <font face="Verdana, Arial, Helvetica
  • So.. I get this error frequently ( 1 to 3 times a day ) usually occurs after closing a station and openning another.  This error occurs and I get a station with no virtual controller.  The system and virtual controller worked earlier, and I just got finished working in RobotStudio on the previous system .. so what causes the crash?

    My current work-around is to shut down my workstation and re-start from cold.  My workstation takes about 8 minutes to load-up the operating system and then I can try to load Robot Studio and open the station with the system that recently crashed.  most of the time, the station and system run correctly.  Occasionally I have to shut erything down a second time, (lather, rinse, cross fingers, repeat).

    I hope there is a quicker solution somewhere.

    image   M. McGraw

    <font face="Verdana, Arial, Helvetica