AX 2009 - AOS Batch Printing Issue

Get our Free Newletter

Don't you have the time to be online here at DUG every day? So how do you follow what is going on in the Dynamics industry and community?
If you subscribe to the DUG Newsletter then you can relax! We will make sure that you don't miss the big news!

Check out our
Newsletter Subscription Center
page a complete list of our different newsletters.

This post has 4 Replies | 3 Followers

Not Ranked
Posts 14
100 Points
Joined: Jun 9, 2008
Last Online:
Sep 2, 2009 18:34
Jeffer Posted: Jun 9, 2008 23:08
How helpful was this post/question? Please rate here:
Hi


Im quite new to Dynamics AX and we use AX-2009 in Virtual PC for Development.

I’m trying to do Sales order- Invoice as Batch processing. My objective is
to print the Sales Order > Invoice as Batch process in terms of EMail / File
/ Printer


I use my local Virtual PC machine as both AX Client and AOS Batch Server.


To print batch, I setup following things.

1. I set "Server Configuration", "Batch Groups" under Administration > Setup

2. And as per help, I set "Connect to printers on this server" properties
both in Dynamics AX 2009 client and server configuration utility.

Whenever the batch process runs, I got the following errors on different
scenarios.

1. When configured the printer for Email, the InfoLog shows the below
error

Error: Method 'send' in COM object of class 'CDO.Message' returned error code 0x80040211 (<unknown>) which means: <unknown>.

2. When configured the printer for File, the InfoLog shows the below error

Error: "Target file must be in UNC format."

3. When configured the printer to my local Printer got the error saying

Error: "Selected printer is not an AOS printer"


Am I missing something?

Could someone please assist me in this regard?


Thanks in advance

Jaff

Not Ranked
Posts 1
10 Points
Joined: Aug 18, 2008
Last Online:
Aug 18, 2008 17:48
darek replied on Aug 18, 2008 12:53
How helpful was this comment/solution? Please rate here:

1. there is a problem with communication with your email server.

2. is your path to a file accessible from batchserver/aos?

3. is your printer accessible rom batchserver/aos?

is your batchserver thin or fat client?

have you tried printing to a PrintArchive ?

 

[dw].

Not Ranked
Posts 1
10 Points
Joined: Sep 25, 2009
Last Online:
Sep 26, 2009 11:05
Location: Portland, Oregon, US
Lingyan Kong replied on Sep 25, 2009 0:28
How helpful was this comment/solution? Please rate here:

I'm trying to schedule a report via batch server to email the output, but it stuck in "Executing".  When I run the report manually with email option, it pops up a  "Allow, Deny" window that I have to click Allow button to get the email sent.  I have 2 questions here:

1. When a report is run in Batch server, the RunOn property needs to be Client or Server?

2. Has anyone successfully email the report from AX 2009 batch server?  Does it require some code modification?

Thanks in advance for your help!

Top 25 Contributor
Male
Posts 746
8,179 Points
Joined: Jan 21, 2003
Last Online:
Mar 15, 2010 14:27
Location: Herts, England
DynamicsAXMVP
Moderator
Harish Mohanbabu replied on Sep 25, 2009 13:43
How helpful was this comment/solution? Please rate here:

Hi,

By default Ax 2009 batch engine allows only server batches.

But you can configure the engine so that it can run client batches too.  Please click here for more info .

If you want to debug your batch job, please click here

Regards,

Harish Mohanbabu
Long way to go before I sleep ..

View Harish Mohanbabu's profile on LinkedIn

Not Ranked
Posts 28
265 Points
Joined: Aug 16, 2008
Last Online:
Mar 14, 2010 23:12
Pacino88 replied on Jan 11, 2010 16:49
How helpful was this comment/solution? Please rate here:

Have you found your solution yet? I am running into the same problems..

Page 1 of 1 (5 items) | Get this RSS feed | Bookmark and Share