I have a codeunit that updates an Excel Spreadsheet in order to provide inventory feed to customers. This works fine when I run from a client. Works fine when I run the codeunit on the server. Works fine when I run the codeunit in client on NAS Machine. But when I put the codeunit in the Job Queue it bombs trying to create the Excel Automation object. I have assured that the NAS Service User has Admin rights, but I can't get past this error!!! I have read threads and posts and google articles and tried so many things, but no avail.
It blows up as soon as it hits this code:
CREATE(MSExcel,FALSE,TRUE);
Variable Declaration is as follows.
Name Subtype DataType Length
MSExcel 'Microsoft Excel 16.0 Object Library'.Application Automation
I realize that the false, true is setting it to create on the client, but you can't save and compile if the second option is not TRUE, unless I am missing something simple.
It errors saying that Client Callbacks are not supported.
There are no dialogs being shown. Hasn't gotten to the point of actually doing anything, just trying to create the Object.
HELP!
It blows up as soon as it hits this code:
CREATE(MSExcel,FALSE,TRUE);
Variable Declaration is as follows.
Name Subtype DataType Length
MSExcel 'Microsoft Excel 16.0 Object Library'.Application Automation
I realize that the false, true is setting it to create on the client, but you can't save and compile if the second option is not TRUE, unless I am missing something simple.
It errors saying that Client Callbacks are not supported.
There are no dialogs being shown. Hasn't gotten to the point of actually doing anything, just trying to create the Object.
HELP!