when I’m closing a company (or the database), I receive more or less always the error message
“TCP/IP network sent error code 10093” or alternatively “10038”, I tried to find out what the meaning of these errors is and found the following in MSDN:
10038
WSAENOTSOCK = An operation was attempted on something that is not a socket
10093
WSANOTINITIALISED = Either the application has not called WSAStartup, or WSAStartup failed.
The error comes (when debugging) somewhere around the “LoginEnd” of the CU 1.
Any ideas how to avoid that ?
Running 4.0 SP2 Build 22611 on client and native server
This is all no problem, and the worst thing: it happens 4 out of 5 times only.
My guess would be that the command for “Company”,“Close” is running in a kind of multithread. On one hand trying to run through some C/AL code and on the other hand already disconnecting somehow from the server. The error actually comes inside debugger on a table operation !!!
This problem might be coming when you are trying to access the database from server & your close command already lost connection with server.
Try to reinstall Navision again & also check the TCP/IP property of the system also check that this error occurs on a single machine or on all machine.