Select to view content in your preferred language

Strange Security Error - DNS Alias

880
3
12-15-2010 05:27 AM
BerndNierula
Emerging Contributor
Hi

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?
0 Kudos
3 Replies
JenniferNery
Esri Regular Contributor
0 Kudos
KeithNightlinger
Emerging Contributor
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


I can connect through the broswer to the CAP file and each of the Rest endpoints through both http://myServerName and http://myServerName.MyDomain.us

The intent on this application is for it to be used by a number of agencies through VPN connections.

Any advice is much appreciated.

Keith
0 Kudos
JenniferNery
Esri Regular Contributor
I'm not sure if this discusses your issue: http://efreedom.com/Question/1-3425974/Use-Machine-Names-WCF-Services-REST-Windows-Authentication Do you also use windows authentication?

Can you also see if this is related? http://forums.arcgis.com/threads/3240-cannot-connect-to-rest-endpoint

I have not seen the same issue reported anywhere yet but the FAQ page here might help. http://help.arcgis.com/en/webapi/silverlight/help/index.html#//016600000009000000.htm
0 Kudos