Select to view content in your preferred language

eSearch URL search & print widget error

3670
19
Jump to solution
11-27-2012 06:19 AM
CoryHines
Deactivated User
Good morning,

I am getting a funky error when trying to print when the url contains a search string.  It returns an error of 'esriJobFailed'.  I've poked around firebug and fiddler, but nothing really sticks out.

If I attempt to use the print widget from just my root url, everything works
http://gis.linncounty.org/maps
use 4901 Windmill Dr in the default address search and zoom to the result and print

If I attempt to use the print widget from the url that contains the search above it throws the error.
http://gis.linncounty.org/maps/index.html?search=191225300100000&slayer=0&exprnum=1&showdatagrid=fal...

Has anybody else seen this?  I've been able to reproduce this with the most current versions of IE and Firefox.

Thanks for any insight.

Cory
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Cory,

  Well that is actually a workaround for a bug I now have in the 3.0.14f version. I will get it resolved in the next version and you will not have to use that workaround. (Thanks Rhett for pointing me in the right direction of the error).

View solution in original post

0 Kudos
19 Replies
RobertScheitlin__GISP
MVP Emeritus
Cory,

   Actually I am getting a failure with the first link as well.
0 Kudos
CoryHines
Deactivated User
Hi Robert,

I did too after I had let the site sit.  Not sure what the deal is, but I refreshed the first link and then it worked, but the 2nd one is perplexing.

Thanks for trying this on your end.  I'm looking through my error logs to see if anything looks odd.

Cory
0 Kudos
RhettZufelt
MVP Notable Contributor
Cory/Robert,

It appears as if it is not related to the URL, but rather the selection of the feature.

If you open the second map and try to print, you get the error.  however, if you open the second map, then close the esearch widget the selection is removed (the selected item remains in the datagrid, but is no longer "highlighted" on the map), then it will print just fine.

R_
0 Kudos
CoryHines
Deactivated User
Rhett,

I am seeing the same thing.  I have an older version of my site still running (still 3.0) and tested both url's and it doesn't behave the same.  I don't know exactly which version of the eSearch widget it's running, but the eSearchWidget.swf was generated on 10/10/2012.  Sorry I don't know exactly which one it is Robert, (maybe 3.0.9 or 10?).  I also checked my previous version that was using the eSearch 3.0.13 I believe and it behaved the same as 3.0.14f.  The only thing I've done between the one in October and now is added a scale text to my display after the coordinates.  Wouldn't think that would affect anything, but you never know.

Here's the site that works.
http://gis.linncounty.org/fv2.2 - ignore the 2.2 thing, I just didn't bother changing my proxy server so I left the name.
http://gis.linncounty.org/fv2.2/index.html?search=191225300100000&slayer=0&exprnum=1&showdatagrid=fa...

I hope I didn't open up a huge issue, perhaps it's just my site?

Thanks for your help fellas.

Cory
0 Kudos
RhettZufelt
MVP Notable Contributor
Yes, this "old" site seems to work for me.  The eSearch version is:
[ATTACH=CONFIG]19559[/ATTACH]

R_

Hint:  hold the Alt key and click on the top of the eSearchwidget to get the version information.
0 Kudos
RhettZufelt
MVP Notable Contributor
Curious what happens if you have the eSearch select some features from a "different" service.

I am using the latest version and can print without issues with a search/selection on one of my services.

However, if I try the same thing, but with a selection on a "different" service, I get an error: (not the same error, but still wonder if it is "layer" specific)

[RPC Fault faultString="Unable to complete operation." faultCode="400" faultDetail="Error executing tool.: Layer "hiddenLayer_Buildings": Missing 'symbol' in simple renderer.



R_
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Rhett,

   Not sure I understand this???
However, if I try the same thing, but with a selection on a "different"  service, I get an error: (not the same error, but still wonder if it is  "layer" specific)
0 Kudos
CoryHines
Deactivated User
Using my new site (gis.linncounty.org/maps) it shows the same error regardless of the layer I'm searching.  I can use the Identify widget and the info template widget popup without producing an error.  I'm not sure what the difference would be between those 2 widgets and eSearch though.
0 Kudos
RhettZufelt
MVP Notable Contributor
Rhett,

   Not sure I understand this???


I have two dynamic services in my map.  One is of wastesites polygons, the other is buildings.  both have uniquvalue render symbology.

If I search the wastesite polygon layer, and keep the selection active, it will print just fine.

If I search the buildings polygon layer, and keep the selection active, I get the error.  If I close the eSearchwidget, I can then print without the error.

Went back to 3.0.13 and do not get the error.  it prints just fine regardless of selections.

R_
0 Kudos