Select to view content in your preferred language

Search not want to show results with own geocode

3957
7
Jump to solution
05-14-2014 03:03 AM
AdolphGrimbeek
Deactivated User
I'm working on a arcgis viewer for Silverlight that are not on the internet.  I've created my own address locator service.  The service shows in internet explorer and it return a coordinate if searching for an address. 

When I add the locator to the Search it shows that it had connected with no errors.  However when I run the search tool and type in my search it only say searching and then "No results to display"

Can I some where see if there is a error message. 

My application and service are on two different machines.

Thanks
Adolph
0 Kudos
1 Solution

Accepted Solutions
RaymondHuang
Regular Contributor
Hi Adolph,

I am not sure if I am right, but my gut feeling tells me that you have successfully connected to your own locator service, but for the "extent" of the search area, it might be depending on http://tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer.

Check this out on your application builder:
http://resources.arcgis.com/en/help/silverlight-viewer/concepts/index.html#//017700000044000000

Change the geometry server to your own network accessible geometry service.

Hope I am pointing you in the right direction.

Regards,
Raymond

View solution in original post

0 Kudos
7 Replies
BrianLeroux
Frequent Contributor
I would start by using a web debugger such as Fiddler to view the request being sent. That way you can make sure the request looks ok and you will get the return messaging back to see if the request was successful or if it had an issue.
0 Kudos
AdolphGrimbeek
Deactivated User
Thank you Brian. 

In Fiddler.  Seems that the service is working fine with no error message.  So it found what I am looking for.

But then in is looking for tasks.arcgisonline.com as the Host.  with a message that the DNS lookup failed.  This could be the issues as I am on an offline system.  At this stage I could not find an answer but are still looking.
0 Kudos
RaymondHuang
Regular Contributor
Hi Adolph,

I am not sure if I am right, but my gut feeling tells me that you have successfully connected to your own locator service, but for the "extent" of the search area, it might be depending on http://tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer.

Check this out on your application builder:
http://resources.arcgis.com/en/help/silverlight-viewer/concepts/index.html#//017700000044000000

Change the geometry server to your own network accessible geometry service.

Hope I am pointing you in the right direction.

Regards,
Raymond
0 Kudos
AdolphGrimbeek
Deactivated User
Hi Adolph,

I am not sure if I am right, but my gut feeling tells me that you have successfully connected to your own locator service, but for the "extent" of the search area, it might be depending on http://tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer.

Check this out on your application builder:
http://resources.arcgis.com/en/help/silverlight-viewer/concepts/index.html#//017700000044000000

Change the geometry server to your own network accessible geometry service.

Hope I am pointing you in the right direction.

Regards,
Raymond



THANKS Raymond....its working 100%
Adolph
0 Kudos
BrianLeroux
Frequent Contributor
Good catch Raymond.

Adolph- Don't forget to mark Raymonds with a Green Checkmark to give credit for the answer.
0 Kudos
RaymondHuang
Regular Contributor
Welcome! I am glad it helped!

Yes, a Green Mark will help or you can use the icons on the far right to vote for any of the replies on any threads that you believe contains useful information. This will allows the ArcGIS user community as a whole to collectively bubble the best replies to the top of the thread and thus allows fellow Silverlight users facing this issue to later to find this post most useful information most quickly without necessarily reading all of the posts in the thread.

Cheers,
Raymond
0 Kudos
PietaSwanepoel2
Frequent Contributor
If used regularly, change your default geometry server to be the local server. Much quicker that trying to access arcgisonline
0 Kudos