Friday, March 26, 2010


While running the silverlight application for the first time we tend to face cross-domain policy issue. The error message during the debug mode is show below.
The fix for the above issue is to create two xml files in WWWRoot folder where IIS is hosted. Those two files are 1. clientaccesspolicy.xml and 2. crossdomain.xml

clientaccesspolicy.xml content is shown below

crossdomain.xml content is shown below

Even after adding the above steps, silverlight application fails, then check the Multipurpose Internet Mail Extension (MIME). We have to include the following MIME extenstion.