Select to view content in your preferred language

Silverlight Viewer - how to display a service from a web server that has two names

3285
3
11-11-2013 05:16 AM
MiriEshel
Esri Contributor
Hi,

Our client has the attached configuration (using web adaptor). This means that the IIS server has two names: internal (ags-edge) and external (ags.moin.gov.il).

How can we build one application that will be available for both the internal users and the external users?
I advised them to create an alias in the DNS so when internal users will have : ags.moin.gov.il it will direct them to ags-edge (external users have already direct access to ags.moin.gov.il).

It worked in REST in the browser but not in Silverlight Viewer.
Is it possible to do and how?

Thanks a lot,
Miri
0 Kudos
3 Replies
PietaSwanepoel2
Frequent Contributor
Miri,

can you consume the REST services using the external name or just the internal name? That will determine how you consume the services in the Silverlight application. If external then configure the application using these URL's.
The network settings (firewall/proxy usually but network configurations vary widely) will determine how the internal users consume URLs (services in this case) and decode the external URL to in internal server name URL. Otherwise the external users might not be able to consume the services when the internal name is used.

Speak to the network administrator about this.
0 Kudos
MiriEshel
Esri Contributor
Hi Pieta,

Thank you for your reply. I asked the client's system administrator to cretae a DNS alias for the internal name that will be able to call the same server but with the external name. It worked in the browser (i.e. http://externalname/arcgis/rest/services showed the services for the internal users) but it did not work in Silverlight Viewer.

Thanks,
Miri
0 Kudos
PietaSwanepoel2
Frequent Contributor
Permissions?
The account that IIS uses to consume the service might not have access. Could also be the ArcGIS user account the REST services uses. But I know to little about all of this except it can become very complicated in large corporates with restrictive access
0 Kudos