Select to view content in your preferred language

Unable to access to load featurelayer with servername or IP server

543
1
09-27-2012 02:26 AM
BenouhoudAnass
Emerging Contributor
Helo;
i have a serieus problem,
if i debug my application in localhost I have no problem
but if i debug (or publish ) my application in Servername or IP of server, i have a problem.
i can see silverlight composant but in fiew second i have white page  😞
application can't access to feauturelayer "http://192.168.10.4/ArcGIS/rest/services/carte_pub2/MapServer/24".
I can access to Mapservice in the browser.

NB: if a delete the webservice in my XAML i can see this map <esri:ArcGISTiledMapServiceLayer ID="Carte en ligne"
            Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"/>.

Help Me plzzzz
I apologize for English proficiency
0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor
Likely a cross domain access security issue.

You need to add a ClientAccessPolicy.xml file at the root of your web server. For more info, read this topic Making a Service Available Across Domain Boundaries
0 Kudos