I have an application that selects records from a SQL Server table and geocodes the address, returning the XYs and populating fields in the row. This app was originally written for ArcGIS 9.3, later modified for 10. It was called from either a scheduled task (Server 2008) or xp_cmdshell in SQL Server (2008r2) and worked perfectly.
But after moving to 10.1 the application no longer works from batch. It runs fine in a command window logged into the server as any user, including the account used for tasks/jobs. It stops when attempting to bind the license with the following error in the Event Log. Any ideas?
Faulting application name: geocode.exe, version: 0.0.0.0, time stamp: 0x50e6f6bf
Faulting module name: AfCore_libFNP.dll_unloaded, version: 0.0.0.0, time stamp: 0x4f920360
Exception code: 0xc0000005
Fault offset: 0x5963e9b0
Faulting process id: 0x9230
Faulting application start time: 0x01cdea912fe817ed
Faulting application path: C:\tasks\geocode.exe
Faulting module path: AfCore_libFNP.dll
Report Id: 6e229a8d-5684-11e2-9618-78e7d1ec71be