Select to view content in your preferred language

ArcGIS Viewer for Silverlight can't see GIS Server and services

2727
2
08-21-2013 05:09 AM
FilipNevistic
Deactivated User
Hello!

We are using GIS Server 10.1 and GIS Desktop 10.1 installed and configured by ESRI official support team in Croatia.
We have encountered problem with ArcGIS Viewer for Silverlight App Builder.
When new application in Viewer App Builder is created (we use Map Content Menu/Add content Tab/Browse icon - to add our layers to this map), we are unable to add anything.
All our attempts to connect to the GIS Server were unsuccessful. We read a lot of different instructions from this forum, but still have no solution to this problem.
When we write our server name (GIS2) to Browse text box, often we get this error message:

[Arg_NullReferenceException]
Arguments:
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.20513.00&File=mscorlib.dll&Key=Arg_NullRef...
at <Unknown>.AsyncMethodBuilderCore.<ThrowAsync>b__0  (IL offset: 0xffffffff)


Can someone please help us finding a solution to this problem.
Thx!
0 Kudos
2 Replies
FilipNevistic
Deactivated User
Problem solved. 🙂

I edited two xml files below and I placed them into \inetpub\wwwroot folder

clientaccespolicy.xml

<?xml version="1.0" encoding="utf-8" ?>
<access-policy>
<cross-domain-access>
<policy>
<allow-from http-request-headers="*">
<domain uri="*" />
<domain uri="http://*" />
</allow-from>
<grant-to>
<resource path="/" include-subpaths="true" />
</grant-to>
</policy>
</cross-domain-access>
</access-policy>


and crossdomain.xml

<?xml version="1.0" encoding="utf-8" ?>
<cross-domain-policy>
<allow-access-from domain="*" />
<site-control permitted-cross-domain-policies="all" />
<allow-http-request-headers-from domain="*" headers="*" />
</cross-domain-policy>
0 Kudos
Badranali
New Contributor
I have the same Problom But with Arcgis server 10 i couldn't see the service meantime the services in arcgis server working probably
plz let me this made me crazy
0 Kudos