Hi All,
I am making a batch class to insert\update data in SQL external database from X++(AX 2009).
The code is running fine when i am setting my class property RUN ON CLIENT
but i want to run it on server and when i am doing it it is fetching record from external database easily
but throwing an error while updating record in SQL.
Request for the permission of type ‘SqlStatementExecutePermission’ failed.
(S)\Classes\SqlStatementExecutePermission\demand
(S)\Classes\Statement\executeUpdate
(S)\Classes\IntegrationBatch\run - line 53
(S)\Classes\IntegrationBatch\main - line 11
Can anyone please help…
Aman Gupta