Hi Guys,
I have a web api, it will call IOrganizationService Execute() method to insert records, but I encountered error: Connection State is closed. Please open the connection before executing the command, I don't really know why, sometimes it also report:"Generic SQL error." or "A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The semaphore timeout period has expired.)". But the first situation is the most common. They don't come up every time. Does anybody know why that is?
I'm using Dynamics 365 OP version.
Thanks,
Stone