I have an Silverlight App running on server A using AGS mapservices via REST access from server B. Everything works well as long as I access the SL App via a fully qualified URL like http://serverA.domain.ch/app.aspx.
There is also a dns alias 'my.dns.alias.dom' defined for 'serverA.domain.ch', which causes a security exception in the ESRI SL control and no map is displayed???
So why can I not access the SL App via dns alias, but via url everything works fine?
I'm having a similar problem that I need to get resolved. I have the client access policy file in place, it is an exact match to the ESRI listed in the troubleshooting link. When I publish the application I can access the map fine through http://myServerName but when I go through http://myServerName.MyDomain.us I receive the Rest endpoint security exception error on all layers.
I used fiddler and no errors get reported. When I run the app through visual studio - fiddler shows it read the file and it works When I run the app as http://myServerName - fiddler does not show the CAP file, but app works When I run the app as http://myServerName.MyDomain.us - fiddler does not show the CAP file, and app does not work System.Security.SecurityException on feature services and REST endpoint security exception on map services