Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I want to create a webgis using arcgis viewer for silverlight. i install arcgi viewer . when i want to connect to arcgis server service , the application show the error" unable to connect to "http://server name/ArcGIS/services/test". I copied clientaccesspolicy.xml into C:\inetpub\wwwroot but the application show same error . i tried "http://server name:8399/arcgis/services/test" but it doesn't solve my problem. i couldn't find any good help for this reason . what's my problem ?

share|improve this question

closed as not a real question by Simon, whuber Nov 4 '12 at 20:55

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

add comment

1 Answer 1

up vote 1 down vote accepted

Answer these questions by editing your Question to include the additional information.

Open a browser.

  1. Can you hit servername/ArcGIS/rest/services/ ?
  2. Can you hit servername:8399/ArcGIS/rest/services/ ?
  3. Can you hit servername/ArcGIS/rest/services/yourmapservice/mapserver ?
  4. Can you confirm the error is happening when your browsing to your ArcGIS Server, or when you add a particular map service from that ArcGIS Server?
  5. Can you confirm your clientaccesspolicy.xml looks similar to this?

Also from the Esri Help:

Use the InitializationFailure event on the layer to determine if an error is occurring, and interrogate the error message. View the HTTP request and response using a standard tool for interrogating HTTP communication such as Fiddler, Silverlight Spy, FireBug (FireFox add-on), and so on.

In particular, would be interesting to see the HTTP logs to identify whats causing the issue.

share|improve this answer
    
i can't connect to : servername/ArcGIS/rest/services/ servername:8399/ArcGIS/rest/services/ servername/ArcGIS/rest/services/yourmapservice/mapserver –  wetland Oct 24 '12 at 14:52
    
If u cant hit them in a browser, then its not going to work. Please elaborate more by putting more info in your original Q. –  Simon Oct 24 '12 at 23:25
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.