hexagon logo

Server Busy Error

Every once in a while during my OLE, I get a server busy message with three buttons, switch to, retry, and cancel (greyed out).

I have read that using the App.OLEServerBusyTimeOut = 9999999 would increase the time to a point that this error would not occur, but when I tried it, I still go the error.

Anyone have a idea of how to suppress this error message?

Thanks.
Parents
  • Try running the WinSPC part using the EXTERNAL command in PC-DMIS.
    That function has the "WAIT" parameter, which I assume should work better than calling WinSPC from a script, where you don't have the needed parameters (wait for process to finish). When it returns, continue the script - you might have to split the script into two parts, one handling stuff before the WinSPC call and one part handling stuff after WinSPC is finished.
Reply
  • Try running the WinSPC part using the EXTERNAL command in PC-DMIS.
    That function has the "WAIT" parameter, which I assume should work better than calling WinSPC from a script, where you don't have the needed parameters (wait for process to finish). When it returns, continue the script - you might have to split the script into two parts, one handling stuff before the WinSPC call and one part handling stuff after WinSPC is finished.
Children
No Data