If you open an ODBC connection to a particular Navision company and then close that connection and try open one to a different company, the second connection is refused, even if all the handles are closed and the connection objects destroyed. If you then quit the application/vbscript and try the connection to the second company again, it then works, but the original connection then fails. Basically you seem to only be able to open an ODBC connection to a single Navision company during the lifetime of any given application.
We’re using C/ODBC version 3.70.01.16172 and the problem happens consistently no matter how we access Navision. I’ve seen it from:
1. vbscript connections
2. SQL DTS packages
3. Third party query tools such as dbQwikEdit Pro 3
I suspect it can also be reproduced from MS Excel or MS Query, but I haven’t tried.
It also happens on multiple machines, including the Navision servers itself.
Any Ideas why?
0