Select to view content in your preferred language

pchPrintWidget SOE An error occurs during print

3660
14
02-02-2012 06:08 AM
LuciHawkins
Frequent Contributor
Hi Tom,

I randomly receive this error in a little grey box with an ok button:     Error during print!  An error occurs during print   I click on OK and it just returns me to the web app.

When I look in the arcgisoutput folder the mxd and the pdf are there and they have all of the elements.  Any ideas?

I am using the PCHarcgisSOE.jar dated 2/1/2012, the pchprintwidget dated 1/31/2012, Flexviewer 2.5, AGS Api 2.5 dated 11/30/2011, ArcGIS Server 10, ArcGIS Desktop 10 Service Pack 3, and Java version 1.6.0_16


On a side note, where do you change the selection for the type of North Arrow used in the map?

This is an awesome tool and I cant wait for our staff to be able to use it!

Thank you!

Luci
Tags (2)
0 Kudos
14 Replies
LuciHawkins
Frequent Contributor
The attachment is the console log after replacing function code and debugging.


Thanks,

Luci
0 Kudos
TomSchuller
Frequent Contributor
Luci,
it seems that it didn't took the latest version.

The command "trace("resultString: "+resultString);" shoud write "resultString: xxxxxxx" to the DebugWindow.
I didn't see this line 😞

Could you check this? You can also set a breakpoint in the method and check what it's making.

Tom
0 Kudos
LuciHawkins
Frequent Contributor
Hi Tom,

Sorry it took so long but I was trying to figure out why the traces weren't showing up.  I knew I had the code in the function.  I finally did a 100 dpi print instead of the 600 dpi print and you can see in the attached file that the traces you put in only showed up in the debug window if the print was successful.  If it had an error printing, the traces were not written.

I am using the 4.5.1A Flex SDK

Thanks,

Luci
0 Kudos
TomSchuller
Frequent Contributor
Luci,
that means that the Flex part is OK.

You last server log just contained a working printout, so I supposed the problem would be the Flex.

Could you make a print with:
100dbi
and 600dpi

Please post the server log with the timestamp information you did for each print.

I will look on it.

Tom
0 Kudos
LuciHawkins
Frequent Contributor
Good Afternoon Tom,

I have attached the log and the two PDF print files.  The first print is the 100 dpi and the second is the 600 dpi.  I received the Error during print on the 600 dpi.

Thank you,

Luci
0 Kudos