Re: [development-axapta] Error running export to file as batch but no problem when run normally by the user

2009-06-12 Thread Varden Morris
Hey James, You are most welcome. Please take a look at this article: http://axassociate.blogspot.com/2008/03/service-log-on-account-local-system.html Regards,   Varden Morris Varalth Solutions Inc.   693 Abbottsfield Road NW Edmonton, Alberta T5W 4R4 Canada (780) 752-0406 www.varalth.com

Re: [development-axapta] Error running export to file as batch but no problem when run normally by the user

2009-06-11 Thread Mike
Hi James, The last time I saw this problem it was because the runbasebatch framework needed the pack and unpack methods. The In Process Production Costing report would not run in batch. Path = (Production - Reports - Balance - In Process Production Costing.). We had to create a pack

RE: [development-axapta] Error running export to file as batch but no problem when run normally by the user

2009-06-11 Thread James Flavell
Thank you all who have responded so fast Varden you were right in that once I tested changing the account on the AOS service to an account I know had rights to the folder then it worked perfectly. Thank you and the rest very much for all you speedy help. One question I have is if the AOS

[development-axapta] Error running export to file as batch but no problem when run normally by the user

2009-06-10 Thread James Flavell
H i everyone I have a strange problem that I have a class that basically creates a text file of the item onhand information. The class works fine when run by the user but when I set it to run in batch it gives an error when the following code is called by the batch client: new

Re: [development-axapta] Error running export to file as batch but no problem when run normally by the user

2009-06-10 Thread Varden Morris
Are you using a relative or absolute path? You should share the folder with write access for the user that executes the AOS service. Ensure that you are using an absolute path such as \\ComputerName\ShareFolderName. If you use a relative path such as C:\FolderName\AnotherFolder then it will