When deploying the Lucity Web map, the web server that hosts Lucity Web must be able to talk to the web server that hosts ArcServer. If both of these applications are on the same server there is no further setup that needs to be done. However, it is common for these to be on two separate servers. When Lucity Web and Arc Server are hosted on two separate servers admins must setup either a ClientAccessPolicy.xml or a CrossDomainPolicy.xml.
One or both of these files MUST be placed on the ArcServer in the root folder that ArcGIS is installed to. For example:
C:\inetpub\wwwroot\ArcGIS\Manager
- Place these files in C:\inetpub\wwwroot
C:\inetpub\gisroot\ArcGIS\Manager
- Place these files in C:\inetpub\gisroot
The ClientAccessPolicy.xml and CrossDomainPolicy.xml open up a hole in the ArcServer machine's security that allows Silverlight applications on other servers to communicate with ArcServer. Which machines this hole allows depends on the policy used. Below are examples of these policies. Feel free to copy, paste, and modify these.
ClientAccessPolicy.xml
Allows traffic from any domain/site
Allows traffic from a specific site (http://www.mysite.com)
Allows traffic from an intranet web server (Norway)
CrossDomainPolicy.xml
See Also |