SilverLight error on startup and querying

3398
3
06-04-2015 12:55 AM
SindileBidla
New Contributor II

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
Occasional Contributor

make sure  your Web adopter is Register with gis server?

0 Kudos
SindileBidla
New Contributor II

Thanks.

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

0 Kudos
Asgharkhan
Occasional 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