I'm trying to get a VI job to run on the same server as Sage 100 as a Windows Scheduled Task but I keep getting the attached ODBC error. The VI job uses a silent ODBC connection (SILENTMAS90) that tests okay. The job works fine when run manually inside of Sage 100.
In order to troubleshoot, I tried running the job as a batch file (attached). It runs fine if the line includes the MANUAL switch. However, it fails if the same batch file runs with the AUTO switch.
I've also tried this on two separate servers, same Sage 100 install, one a 2003 server, the other 2008 server, both with the same result.
I've scoured the KB and community and can only find a reference to ODBC security (which is not enabled).
If you've experienced this or can offer any additional assistance it would be appreciated.
Details:
> Sage 100 Standard 2013 on a Windows 2003 server.
> Sage 100 user account ""VI"" has full rights within Sage 100. I logged into Sage 100 as ""VI"" and the job runs fine.
> ODBC security is not enabled.
> The jobs have been added to the Jobs menu and ""VI"" has rights.