AR_NoSEDesktop - Cannot communicate with Sage Exchange Desktop 2.0.

Verify the application is installed and running. Contact Sage 100 Customer Support if the problem persists

Has anyone seen this error before? It is happening when I try to write a sales order with SO_SalesOrder. It happens on the nWrite. It actually writes a blank row in SO_SalesOrderHeader.  The customer in question is a prepaid customer. Not sure if that makes a difference or not. They are not on credit hold.

This problem has been intermittent without any pattern that I can see. It works 90% of the time. 

I have tried restarting the Sage Exchange Desktop, as well as keeping it up to date. Even tried a reboot.

I would post some code, but I wrote a C# wrapper for it. It's the same as the sales order writing code we have all seen in the BOI documentation.

Any help is greatly appreciated.

Fred