<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Programming with .NET - General</title><link>http://forums.silverlight.net/forums/17.aspx</link><description>General discussions around authoring Silverlight .NET applications.</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: WCF Service problem</title><link>http://forums.silverlight.net/forums/thread/106641.aspx</link><pubDate>Sat, 11 Oct 2008 14:52:20 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:106641</guid><dc:creator>StefanG</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/106641.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=106641</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks. You&amp;#39;re a life saver. The linked post was very helpful as well. What I did is to simply put the service and the silverlight page as two virtual directories in the same web page and that seemed to resolve the problem. I still a bit (not too much though :) ) curious as to what went wrong. I had the clientaccesspolicy.xml and crossdomain.xml under the root of the Silverlight page and not the service. Perhaps that&amp;#39;s why?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Anyway, thanks a lot for your help!&lt;/p&gt;&lt;p&gt;&amp;nbsp;Stefan &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: WCF Service problem</title><link>http://forums.silverlight.net/forums/thread/106455.aspx</link><pubDate>Sat, 11 Oct 2008 00:15:54 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:106455</guid><dc:creator>sladapter</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/106455.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=106455</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;StefanG:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;As for the deployment, the server is a VPC.&amp;nbsp;I have deployed the WCF Service and the Silverlight app as two separate websites in IIS.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;As for the cross domain xml files, I did just now put them in the wwwroot as well as in the actual website root of the Silverlight website (I thought that&amp;#39;s where they should be) but I still get the same thing. In addition when I open the Silverlight website from within the server (no cross-domain?) I still get the same exact error.&lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;1) The clientaccesspolicy.xml file only needs to be at the wwwroot folder of the Server that host your WCF service and only one file is needed (either clientaccesspolicy.xml or crossdomain.xml).&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2) What do you mean by &amp;quot;When I open the Silverlight web site from within the same server&amp;quot;? If you mean you open up a browser on the server machine to run your silverlight page,&amp;nbsp; this does not change the call from cross-domain to non-cross-domain. Because you put WCF Service in another website than the webSite that host your Silverlight page. So they are cross-domain call no matter where you run your page. &lt;/p&gt;&lt;p&gt;To understand what is cross-domain call and most of the possible causes for Service error,&amp;nbsp; read this thread: &lt;a href="http://silverlight.net/forums/p/24005/86700.aspx#86700" title="http://silverlight.net/forums/p/24005/86700.aspx#86700"&gt;http://silverlight.net/forums/p/24005/86700.aspx#86700&lt;/a&gt;&lt;/p&gt;&lt;p&gt;3) If the error message is still refering to JScript, then it&amp;#39;s not likely a cross-domain issue. Have you had your code worked before you deploy it to IIS? Do you have a particular reason to put the WCF service into another WebSite instead of putting it under the same WebSite that host your page? There is nothing wrong with that, it is just little hard to debug this way. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Re: WCF Service problem</title><link>http://forums.silverlight.net/forums/thread/106290.aspx</link><pubDate>Fri, 10 Oct 2008 17:30:19 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:106290</guid><dc:creator>Brauliod</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/106290.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=106290</wfw:commentRss><description>&lt;p&gt;If you are playing with Cassini you need to configure the path, to make the app run on the root folder, and place the xml file in the root of your project.&lt;/p&gt;
&lt;p&gt;For a real IIS deployment, must be in the IIS root, that&amp;#39;s a pain on the neck if you are sharing hosting :-).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;HTH&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Braulio&lt;/p&gt;</description></item><item><title>Re: WCF Service problem</title><link>http://forums.silverlight.net/forums/thread/106267.aspx</link><pubDate>Fri, 10 Oct 2008 16:31:52 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:106267</guid><dc:creator>StefanG</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/106267.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=106267</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks for the reply and for the idea. I ran Fiddler from within the server and this is what I got: &lt;/p&gt;&lt;p&gt;&lt;img src="http://i36.tinypic.com/298prs.jpg" width="1394" height="430" alt="" /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;The blacked-out is my apps.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;It looks very weird... when I manually try to access clientaccesspolicy.xml and crossdomain.xml I can. They open up in the browser nicely. However when Silverlight tries to access them it gets a 404. Any ideas?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;&lt;p&gt;Stefan &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: WCF Service problem</title><link>http://forums.silverlight.net/forums/thread/106244.aspx</link><pubDate>Fri, 10 Oct 2008 16:00:01 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:106244</guid><dc:creator>NeilChen</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/106244.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=106244</wfw:commentRss><description>&lt;p&gt;I suggest you to use Fiddler or some other HTTP watching tool to see the exact&amp;nbsp;WCF error messages. After that you can easily tell if the problem is related to clientpolicy.xml settings.&lt;/p&gt;</description></item><item><title>Re: WCF Service problem</title><link>http://forums.silverlight.net/forums/thread/106239.aspx</link><pubDate>Fri, 10 Oct 2008 15:43:30 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:106239</guid><dc:creator>HarshBardhan</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/106239.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=106239</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;If your service is running to &lt;a href="http://yourserver.com/service/abc.svc"&gt;http://yourserver.com/service/abc.svc&lt;/a&gt; then it &amp;nbsp;should always go to&amp;nbsp; &amp;quot;&lt;a href="http://yourserver.com/clicntacesspolicy.xml"&gt;http://yourserver.com/clicntacesspolicy.xml&lt;/a&gt; &amp;quot;.&lt;/p&gt;</description></item><item><title>Re: WCF Service problem</title><link>http://forums.silverlight.net/forums/thread/106161.aspx</link><pubDate>Fri, 10 Oct 2008 13:42:08 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:106161</guid><dc:creator>edward_494</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/106161.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=106161</wfw:commentRss><description>&lt;p&gt;about the clientaccesspolicy.xml fle. where does it need to go when running in development? i currently have it in the folder/project root level of my service.&lt;/p&gt;</description></item><item><title>Re: Re: WCF Service problem</title><link>http://forums.silverlight.net/forums/thread/106106.aspx</link><pubDate>Fri, 10 Oct 2008 12:03:08 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:106106</guid><dc:creator>party42</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/106106.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=106106</wfw:commentRss><description>&lt;p&gt;it was something like this. dont have visual studio here so not sure about syntax but&amp;nbsp; something like below should work.&lt;br /&gt;&lt;/p&gt;&lt;pre class="coloredcode"&gt;&lt;b id="1"&gt;1    &lt;/b&gt;BasicHttpBinding binding = &lt;span class="kwd"&gt;new&lt;/span&gt; BasicHttpBinding();
&lt;b id="2"&gt;2    &lt;/b&gt;binding.MaxReceivedMessageSize = 2147483647; &lt;span class="cmt"&gt;// int&amp;#39;s max size&lt;/span&gt;
&lt;b id="3"&gt;3    &lt;/b&gt;binding.MaxBufferSize = 2147483647; &lt;span class="cmt"&gt;// int&amp;#39;s max size&lt;/span&gt;
&lt;b id="4"&gt;4    &lt;/b&gt;EndpointAddress endpoint = &lt;span class="kwd"&gt;new&lt;/span&gt; EndpointAddress(&amp;quot;http:&lt;span class="cmt"&gt;//192.168.1.69:5554/CRMProxyService.svc&amp;quot;)&lt;/span&gt;
&lt;/pre&gt;&amp;nbsp;&lt;br /&gt;</description></item><item><title>Re: Re: WCF Service problem</title><link>http://forums.silverlight.net/forums/thread/106104.aspx</link><pubDate>Fri, 10 Oct 2008 11:58:02 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:106104</guid><dc:creator>Brauliod</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/106104.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=106104</wfw:commentRss><description>&lt;p&gt;Just a silly question, does your web service call return a lot of data? It should fail as well on your dev environment (if you use the same data), I face that some weeks ago, and It take me some time to realize that I had to setup a bigger buffer.&lt;/p&gt;</description></item><item><title>Re: WCF Service problem</title><link>http://forums.silverlight.net/forums/thread/106071.aspx</link><pubDate>Fri, 10 Oct 2008 10:27:46 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:106071</guid><dc:creator>StefanG</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/106071.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=106071</wfw:commentRss><description>&lt;p&gt;Thanks for the reply Braulio.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The only difference that I could see between my setup and the post is that the clientpolicy.xml was different.&lt;/p&gt;
&lt;p&gt;Mine was:&lt;/p&gt;
&lt;p&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;!DOCTYPE cross-domain-policy SYSTEM &amp;quot;&lt;a href="http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"&gt;http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd&lt;/a&gt;&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;cross-domain-policy&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;allow-access-from domain=&amp;quot;*&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;/cross-domain-policy&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;and the post suggests I use &lt;/p&gt;
&lt;p&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;!DOCTYPE cross-domain-policy SYSTEM &amp;quot;&lt;a href="http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"&gt;http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd&lt;/a&gt;&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;cross-domain-policy&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;allow-http-request-headers-from domain=&amp;quot;*&amp;quot; headers=&amp;quot;*&amp;quot;/&amp;gt;&lt;br /&gt;&amp;lt;/cross-domain-policy&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I changed it the but error stays exactly the same. Also, for reference, this is my clientaccesspolicy.xml&lt;/p&gt;
&lt;p&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;access-policy&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;cross-domain-access&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;policy&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;allow-from http-request-headers=&amp;quot;*&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;domain uri=&amp;quot;*&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/allow-from&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;grant-to&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;resource path=&amp;quot;/&amp;quot; include-subpaths=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/grant-to&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/policy&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/cross-domain-access&amp;gt;&lt;br /&gt;&amp;lt;/access-policy&amp;gt;&lt;/p&gt;</description></item><item><title>Re: WCF Service problem</title><link>http://forums.silverlight.net/forums/thread/106059.aspx</link><pubDate>Fri, 10 Oct 2008 10:12:40 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:106059</guid><dc:creator>Brauliod</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/106059.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=106059</wfw:commentRss><description>&lt;p&gt;There must be some silly small detail over there, check out this post&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.msdn.com/cesardelatorre/archive/2008/09/29/using-silverlight-2-0-clientaccesspolicy-xml-vs-crossdomain-xml-for-web-service-cross-domain-access.aspx"&gt;http://blogs.msdn.com/cesardelatorre/archive/2008/09/29/using-silverlight-2-0-clientaccesspolicy-xml-vs-crossdomain-xml-for-web-service-cross-domain-access.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Good luck&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Braulio&lt;/p&gt;</description></item><item><title>Re: WCF Service problem</title><link>http://forums.silverlight.net/forums/thread/105970.aspx</link><pubDate>Fri, 10 Oct 2008 07:44:24 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:105970</guid><dc:creator>StefanG</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/105970.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=105970</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks for the prompt replies.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Bellow is the code I use to call the service from within Silverlight. The reason I didn&amp;#39;t post code is because when I was developing both the WCF service and the Silverlight app I had them in one solution (so no cross-domain calls) and they were working fine.The problems started appearing when I deployed them to the server. I was hoping this would be a common error :) &lt;/p&gt;
&lt;p&gt;Anyway.. this is how I call the service. The code resides in private void Application_Startup(object sender, StartupEventArgs e) in App.xaml.cs because I need to fetch the data and use it to initialize my canvas:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BasicHttpBinding bind = new BasicHttpBinding();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EndpointAddress endpoint = new EndpointAddress(&amp;quot;&lt;a href="http://192.168.1.69:5554/CRMProxyService.svc"&gt;http://192.168.1.69:5554/CRMProxyService.svc&lt;/a&gt;&amp;quot;);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CrmProxyService.CRMProxyServiceClient client = new CRMProxyServiceClient(bind, endpoint);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; client.GetRelationSubjectCompleted += new EventHandler&amp;lt;GetRelationSubjectCompletedEventArgs&amp;gt;(client_GetRelationSubjectCompleted);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; client.GetRelationSubjectAsync(&amp;quot;{A0E89268-37E6-DC11-A6B2-0003FF38484A}&amp;quot;);&lt;/p&gt;
&lt;p&gt;The callback method simply initializes the page:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;void client_GetRelationSubjectCompleted(object sender, GerRelationSubjectCompletedEventArgs e) { RootVisual = new Page(e.Result); }&lt;/p&gt;
&lt;p&gt;As for the deployment, the server is a VPC.&amp;nbsp;I have deployed the WCF Service and the Silverlight app as two separate websites in IIS.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;As for the cross domain xml files, I did just now put them in the wwwroot as well as in the actual website root of the Silverlight website (I thought that&amp;#39;s where they should be) but I still get the same thing. In addition when I open the Silverlight website from within the server (no cross-domain?) I still get the same exact error.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;</description></item><item><title>Re: WCF Service problem</title><link>http://forums.silverlight.net/forums/thread/105967.aspx</link><pubDate>Fri, 10 Oct 2008 07:26:55 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:105967</guid><dc:creator>HarshBardhan</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/105967.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=105967</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think it is policy file which is causing the issue(As it can not be javascript).I think it is some thing else.&lt;/p&gt;
&lt;p&gt;Please proveide some more details for this.&lt;/p&gt;</description></item><item><title>Re: WCF Service problem</title><link>http://forums.silverlight.net/forums/thread/105966.aspx</link><pubDate>Fri, 10 Oct 2008 07:24:03 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:105966</guid><dc:creator>amit_pal1979</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/105966.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=105966</wfw:commentRss><description>&lt;p&gt;&amp;quot;I do have the crossdomain.xml and clientaccesspolicy.xml in the root folder of the Silverlight application&amp;quot;&lt;/p&gt;
&lt;p&gt;You do not need to place these files in Silverlight application rather on the root folder of your webserver. For e.g, if you are using IIS, then it will be C:\inetpub\wwwroot.&lt;/p&gt;
&lt;p&gt;You can place any of these files and that should work however for more flexibility, it is advisable to put only clientaccesspolicy.xml. This is the file which will be checked first and if this is not found then it checks for crossdomain.xml. So, just copying clientaccesspolicy.xml will do the job.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please mark the post as &amp;#39;Answered&amp;#39; if this Answers your question&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: WCF Service problem</title><link>http://forums.silverlight.net/forums/thread/105824.aspx</link><pubDate>Fri, 10 Oct 2008 00:40:58 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:105824</guid><dc:creator>pbromberg</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/105824.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=105824</wfw:commentRss><description>&lt;p&gt;You really need to post a more complete code sample for this, in order to expect more meaningful help posts. The key thing I see here is &amp;quot;Microsoft JScript runtime error&amp;quot;. Can you post some sample code please?&lt;/p&gt;</description></item></channel></rss>