Every time I ran the app I kept getting the following:
"A security exception occurred while trying to connect to the REST endpoint. Make sure you have a cross domain policy file available at the root for your server that allows for requests from this application."
I check that I had the cross domain policy file at C:\inetpub\wwwroot on the server. I then reference a 10.0 ArcGIS server map service and the map appeared. I copied the cross domain policy file from the 10.0 server to 10.1 and still got the same error. After a while I tried the following url to the 10.1 Server:
ESRI, Since I am using the Webadaptor on my 10.1 ArcGIS Server do I need to reference port 6080 used by the Webadaptor??
I have not seen any documentation on this.
Note: When I first reference the 10.1 map service without the 6080 port number I could see the map on the Design Preview pane but when I ran the app I got the error message. Also my Dev machine and the Servers are on different boxes.
ESRI, Since I am using the Webadaptor on my 10.1 ArcGIS Server do I need to reference port 6080 used by the Webadaptor??
Since version 10.1, ArcGIS server communicates over port 6080 and not the standard web port 80. From the client you can either hit directly arcgis server (port 6080) or hit the web adaptor with the port you choose during installation (generally 80).