Select to view content in your preferred language

custom printing

2171
3
03-02-2013 12:32 AM
samehsaras
Deactivated User
I used ArcGIS Server 10.1 ,and i created some layout template(MXD) , i registed custom folder and create new Print service tools and publish GP result . when i use GP Service (Print) using Silverlight API 3.0 occutred this error .

please any body help me
0 Kudos
3 Replies
DominiqueBroux
Esri Frequent Contributor
Likely PrintResult is null becasue you got an erro during the print process.
I suggest you change the PrintCompleted Handler by this one:
private void printTask_PrintCompleted(object sender, PrintEventArgs e)
{
    if (e.Error != null)
        MessageBox.Show("Error:" + e.Error.Message);
    else
        System.Windows.Browser.HtmlPage.Window.Navigate(e.PrintResult.Url, "_blank");
}

The error, which will be displayed in a message box, might give a clue about the origin of the problem.
0 Kudos
samehsaras
Deactivated User
i changes my code and i made handleing error . the error is changed "Error Performing Execute Operation". any body help me
0 Kudos
JohanCarlsson
Regular Contributor
Hard to say without seeing any of your code, but it could be something wrong with the printparamters that you supply when you execute the operation.
0 Kudos