"ODBC failed in batch processing" wrote:
> HI,
> I created one class with ODBC Connection to get data from external
> database into ax database, myself trying to run the class in Batch Processing
> it throws the following error
>
> Error:
>
> ODBC operation failed.
> Unable to log on to the database.
> [Microsoft][ODBC Driver Manager] Data source name not found and no default
> driver specified
> Object 'OdbcConnection' could not be created
>
> I have one doubt , my computer name is SERVER and also my SqlServer Instance
> name is SERVER, is the error because of this name clashing,
> its very urgent please send me the proper solution, if anybody knows.
>
> Regards,
> Rajesh kumar.P
Assuming you are using AX2009, May be your AOS-user or your AOS-machine does
not contain such a ODBC Data Source as you have on your local client machine.
In AX2009, the batches are proceeded on server.
Hope this information helps.
Best regards
Patrick
Please note: while creating DSN, give default database as your database name
in the drop down box.
Thanks,
Prabu S