Select to view content in your preferred language

SilverLight error on startup and querying

3503
3
06-04-2015 12:55 AM
SindileBidla
Deactivated User

On starting my SilverLight application I get the following error in a window.

Upon clicking OK, the application loads.

Running a query within the application also produces the same error.

I have both the clientaccesspolicy.xml and crossdomain.xml in the root folder of my webserver.

When running the application within our network there are no error, using both the IP address and machine name of the server.

This errors seems to occur when we go through our webserver.

I must add that we are able to see the services when going through our webserver.

Can some give me pointers on what the problem could be.

error_window.PNG

0 Kudos
3 Replies
Asgharkhan
Regular Contributor

make sure  your Web adopter is Register with gis server?

0 Kudos
SindileBidla
Deactivated User

Thanks.

I have checked and it is registered with the web adaptor.

0 Kudos
Asgharkhan
Regular Contributor

Reference web adopter base Rest  url in Querytask url , hope this will fix ur problem

Example: DELL1 is my Register web adopter name the url will be look like

http://dell1/arcgis/rest/services/Search/DISTRICT/MapServer/0

0 Kudos