Geeks With Blogs
Braulio Díez Botella blog

Normally when I have develop a service layer for my silverlight app I have it all in the same web project (easy, no clientaccesspolicy headaches), … but in some cases I have my service layer in a separate solution, in theory it’s quite easy to setup a client access policy, but… when you try it it fails because that xml policy file is not in the root of the cassini web server :-(.

What to do.. change your settings, good old trick that can be applied even to VS 2005 :-)

http://weblogs.asp.net/scottgu/archive/2006/12/19/tip-trick-how-to-run-a-root-site-with-the-local-web-server-using-vs-2005-sp1.aspx

Posted on Tuesday, March 2, 2010 2:50 PM | Back to top


Comments on this post: Cassini ClientAccessPolicy place it in the root

# re: Cassini ClientAccessPolicy place it in the root
Requesting Gravatar...

I am using Cassini to demonstrate our Silverlight application which connects to another website (containing WCF services) also hosted in Cassini. I don't know where to put the ClientAccessPolicy.xml file which on IIS needs to be in the root (c:\inetpub\wwwroot) to allow communication between the application and the site. Some of the Mortgage ratesWCF calls are working, some are not and it appears to be the lack of a ClientAccessPolicy.xml file which is causing this.
Left by Mortgage rates on Oct 22, 2010 7:24 AM

Your comment:
 (will show your gravatar)


Copyright © Braulio Díez Botella | Powered by: GeeksWithBlogs.net