<?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: Silverlight beta 2 WCF service 404 error</title><link>http://forums.silverlight.net/forums/thread/63010.aspx</link><pubDate>Thu, 19 Jun 2008 13:47:31 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:63010</guid><dc:creator>sladapter</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/63010.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=63010</wfw:commentRss><description>&lt;p&gt;geimas5,&lt;/p&gt;&lt;p&gt;The configuration file looks all right. And you said you already put
the new clientaccesspolicy.xml file on your virwinserv01 server under
inetput\wwwroot folder.&amp;nbsp; I can&amp;#39;t think of anything else. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Do you have a large data to send back on your service call? If not, the buffer size setting change in the binding won&amp;#39;t help you. If you do send a relatively large data ( say size is &amp;gt; 18KB or string length &amp;gt; 8200 chars), then you need change the buffer size. &lt;/p&gt;&lt;p&gt;If you do need change the buffer size use WCF service configuration editor (under tools) to do these changes. Here is the steps for doing that just in case you want to try it. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Open the web.config of your Service Web using WCF Service Configuration Editor:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;
&lt;div&gt;Click the Bindings folder and add a new basicHttpBinding give it a name 
something like &amp;quot;LargeBuffer&amp;quot;.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;
&lt;div&gt;Change the number in 
MaxBufferSize/MaxReceivedMessageSize/MaxArrayLenght/MaxBytesPerRead/MaxDepth/MaxNameTableCharCount/MaxStringContentLenght 
to a large number. Those fields are integer fields. So the max number you can 
enter is 2147483647 which is the upper limit of a integer.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;
&lt;div&gt;Find the first endpoint under Service Folder for Your Service, Click the BindingConfiguration and select the 
&amp;quot;LargeBuffer&amp;quot; binding you just created.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;
&lt;div&gt;Save the web.config.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;Use the same WCF Service Configuration Editor to open 
ServiceReferences.ClientConfig file under Silverlight project.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;
&lt;div&gt;You should see your service under Client/EndPoints folder. Open that 
endpoint. That endpoint&amp;nbsp;has bindingConfiguration set to 
BasicHttpBinding_YourService. Goto that binding and change 
the&amp;nbsp;MaxBufferSize/MaxReceivedMessageSize(Just those 2 fields, not fields under 
the ReaderQuotasProperties)&amp;nbsp;&amp;nbsp;to the same large number you set in the 
Web.Config.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;
&lt;div&gt;Save the config file&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;Now you can try to run your app.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Silverlight beta 2 WCF service 404 error</title><link>http://forums.silverlight.net/forums/thread/62826.aspx</link><pubDate>Thu, 19 Jun 2008 07:27:58 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:62826</guid><dc:creator>SteveWong</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/62826.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=62826</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;geimas5:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;&amp;nbsp;&amp;nbsp;This is a new beta 2 project.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Endpoint in ServiceReference.ClientConfig:&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;lt;endpoint address=&amp;quot;&lt;a href="http://virwinserv01/AdministrativeToolsService/AuthenticationService.svc"&gt;http://virwinserv01/AdministrativeToolsService/AuthenticationService.svc&lt;/a&gt;&amp;quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; binding=&amp;quot;basicHttpBinding&amp;quot; bindingConfiguration=&amp;quot;BasicHttpBinding_AuthenticationService&amp;quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; contract=&amp;quot;AdministrationTools.AuthenticationService.AuthenticationService&amp;quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name=&amp;quot;BasicHttpBinding_AuthenticationService&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;Binding in web.config:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;basicHttpBinding&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;binding name=&amp;quot;userHttp&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- this is for demo only. Https/Transport security is recommended --&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;security mode=&amp;quot;None&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/binding&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/basicHttpBinding&amp;gt;&lt;/p&gt;
&lt;p&gt;Service in web.config:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- this enables the WCF AuthenticationService endpoint --&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;service name=&amp;quot;System.Web.ApplicationServices.AuthenticationService&amp;quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; behaviorConfiguration=&amp;quot;AuthenticationServiceTypeBehaviors&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;endpoint contract=&amp;quot;System.Web.ApplicationServices.AuthenticationService&amp;quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; binding=&amp;quot;basicHttpBinding&amp;quot; bindingConfiguration=&amp;quot;userHttp&amp;quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bindingNamespace=&amp;quot;&lt;a href="http://asp.net/ApplicationServices/v200%22/"&gt;http://asp.net/ApplicationServices/v200&amp;quot;/&lt;/a&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/service&amp;gt;&lt;/p&gt;
&lt;p&gt;the other wcf services im trying to set up is configured in about the same way.&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;I think your ServiceReference.clientconfig should be like this&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;configuration&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;system.serviceModel&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;bindings&amp;gt;&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; &amp;lt;basicHttpBinding&amp;gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;binding name=&amp;quot;BasicHttpBinding_AuthenticationService&amp;quot; &lt;font color="#ff0000"&gt;maxBufferSize=&amp;quot;2147483647&amp;quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; maxReceivedMessageSize=&amp;quot;2147483647&amp;quot;&lt;/font&gt;&amp;gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;security mode=&amp;quot;None&amp;quot; /&amp;gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/binding&amp;gt;&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; &amp;lt;/basicHttpBinding&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/bindings&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;client&amp;gt;&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; &amp;lt;endpoint address=&amp;quot;&lt;/strong&gt;&lt;a href="http://virwinserv01/AdministrativeToolsService/AuthenticationService.svc"&gt;&lt;strong&gt;http://virwinserv01/AdministrativeToolsService/AuthenticationService.svc&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;&amp;quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; binding=&amp;quot;basicHttpBinding&amp;quot; bindingConfiguration=&amp;quot;BasicHttpBinding_AuthenticationService&amp;quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; contract=&amp;quot;AdministrationTools.AuthenticationService.AuthenticationService&amp;quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name=&amp;quot;BasicHttpBinding_AuthenticationService&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/client&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/system.serviceModel&amp;gt;&lt;br /&gt;&amp;lt;/configuration&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;For your Service should also be like this&lt;/p&gt;
&lt;p&gt;&amp;lt;basicHttpBinding&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;binding name=&amp;quot;userHttp&amp;quot; maxBufferSize=&amp;quot;2147483647&amp;quot; maxReceivedMessageSize=&amp;quot;2147483647&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;&amp;lt;readerQuotas maxDepth=&amp;quot;2147483647&amp;quot; maxStringContentLength=&amp;quot;2147483647&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; maxArrayLength=&amp;quot;2147483647&amp;quot; maxBytesPerRead=&amp;quot;2147483647&amp;quot; maxNameTableCharCount=&amp;quot;2147483647&amp;quot; /&amp;gt;&lt;br /&gt;&lt;/em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;security mode=&amp;quot;None&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/binding&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/basicHttpBinding&amp;gt;&lt;/p&gt;
&lt;p&gt;Try if it works, but I wonder there should be some problem of the service contract there&lt;/p&gt;</description></item><item><title>Re: Silverlight beta 2 WCF service 404 error</title><link>http://forums.silverlight.net/forums/thread/62747.aspx</link><pubDate>Thu, 19 Jun 2008 03:36:19 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:62747</guid><dc:creator>johnpapa</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/62747.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=62747</wfw:commentRss><description>&lt;p&gt;I would test to see if you can reference this WCF service from a standard WinForm client jsut as a test to see if its the service or the communicaiton with Silverlight that is off.&lt;/p&gt;</description></item><item><title>Re: Silverlight beta 2 WCF service 404 error</title><link>http://forums.silverlight.net/forums/thread/62744.aspx</link><pubDate>Thu, 19 Jun 2008 03:28:11 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:62744</guid><dc:creator>Geimas5</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/62744.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=62744</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;sladapter:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;&lt;b&gt;Geimas5,&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Was this working in beta 1? Could you check the URL for your service endpoint on your ServiceReference.ClientConfig and what is it? Since this is WCF service, what binding you set on the Web.config on your Service Site?&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;This is a new beta 2 project.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Endpoint in ServiceReference.ClientConfig:&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;lt;endpoint address=&amp;quot;&lt;a href="http://virwinserv01/AdministrativeToolsService/AuthenticationService.svc"&gt;http://virwinserv01/AdministrativeToolsService/AuthenticationService.svc&lt;/a&gt;&amp;quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; binding=&amp;quot;basicHttpBinding&amp;quot; bindingConfiguration=&amp;quot;BasicHttpBinding_AuthenticationService&amp;quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; contract=&amp;quot;AdministrationTools.AuthenticationService.AuthenticationService&amp;quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name=&amp;quot;BasicHttpBinding_AuthenticationService&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Binding in web.config:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;basicHttpBinding&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;binding name=&amp;quot;userHttp&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- this is for demo only. Https/Transport security is recommended --&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;security mode=&amp;quot;None&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/binding&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/basicHttpBinding&amp;gt;&lt;/p&gt;
&lt;p&gt;Service in web.config:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- this enables the WCF AuthenticationService endpoint --&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;service name=&amp;quot;System.Web.ApplicationServices.AuthenticationService&amp;quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; behaviorConfiguration=&amp;quot;AuthenticationServiceTypeBehaviors&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;endpoint contract=&amp;quot;System.Web.ApplicationServices.AuthenticationService&amp;quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; binding=&amp;quot;basicHttpBinding&amp;quot; bindingConfiguration=&amp;quot;userHttp&amp;quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bindingNamespace=&amp;quot;&lt;a href="http://asp.net/ApplicationServices/v200%22/"&gt;http://asp.net/ApplicationServices/v200&amp;quot;/&lt;/a&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/service&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And yes, i do have this part aswell:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;serviceHostingEnvironment aspNetCompatibilityEnabled=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/system.serviceModel&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;system.web.extensions&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;scripting&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;webServices&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;authenticationService enabled=&amp;quot;true&amp;quot; requireSSL=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/webServices&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/scripting&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/system.web.extensions&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;the other wcf services im trying to set up is configured in about the same way.&lt;/p&gt;</description></item><item><title>Re: Silverlight beta 2 WCF service 404 error</title><link>http://forums.silverlight.net/forums/thread/62706.aspx</link><pubDate>Thu, 19 Jun 2008 00:47:12 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:62706</guid><dc:creator>sladapter</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/62706.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=62706</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Geimas5,&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Was this working in beta 1? Could you check the URL for your service endpoint on your ServiceReference.ClientConfig and what is it? Since this is WCF service, what binding you set on the Web.config on your Service Site?&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: Silverlight beta 2 WCF service 404 error</title><link>http://forums.silverlight.net/forums/thread/62672.aspx</link><pubDate>Wed, 18 Jun 2008 23:52:44 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:62672</guid><dc:creator>Geimas5</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/62672.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=62672</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;johnpapa:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;When you say &amp;quot;when I use &amp;quot;Web development helper&amp;quot; to view the request I see that it doesn&amp;#39;t even hit the service, only the&amp;nbsp;Clientaccesspolicy.xml file,&amp;quot; is WebDevHelper showing you the exact location of where it looks for the ClientAccessPolicy.xml file? Is that line yielding the 404? Make sure the file is in the location it is looking for it. It needs to be in the web root and not the web app root.&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Yes using Web development helper, I see the exact location that it looks for the&amp;nbsp;clientaccesspolicy.xml file. it returns a 200 and when I look at the response body I see the correct content(as pasted in my initial post). so this is&amp;nbsp;not a custom error message issues. yes the clientaccesspolicy.xml file is located at my webroot: &lt;a href="http://virwinserrv01/clientaccesspolicy.xml"&gt;http://virwinserrv01/clientaccesspolicy.xml&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When I say that it doesn&amp;#39;t hit the service i mean that it does not even try. after the clientaccesspolicy.xml file is returned from the server, not a single request is sendt from the Silverlight application.&lt;/p&gt;
&lt;p&gt;@sladaper:&lt;br /&gt;I always&amp;nbsp;google and&amp;nbsp;experiment for hours before I try asking (finding the answer on my own is the best way to learn in my opinion). I only ask when I&amp;#39;m stuck and are not getting anywhere on my own. so yeah, I have already gone through all the posts on this forum (and many other sites I found googling) but to no avail.&lt;/p&gt;
&lt;p&gt;@WJamesLord:&lt;br /&gt;Its quite possible that there is a bug somewhere, but I have tried using the video with the built-in authentication service with no luck. so I think the &amp;quot;bug&amp;quot; is a config issue. I was kind of expecting it to be something really easy that someone would quickly point out. I will post some related&amp;nbsp;web.config, etc. in a few hours, maybe there is something there that I have missed.&lt;/p&gt;</description></item><item><title>Re: Silverlight beta 2 WCF service 404 error</title><link>http://forums.silverlight.net/forums/thread/62600.aspx</link><pubDate>Wed, 18 Jun 2008 19:09:58 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:62600</guid><dc:creator>johnpapa</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/62600.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=62600</wfw:commentRss><description>&lt;p&gt;When you say &amp;quot;when I use &amp;quot;Web development helper&amp;quot; to view the request I see that it doesn&amp;#39;t even hit the service, only the&amp;nbsp;Clientaccesspolicy.xml file,&amp;quot; is WebDevHelper showing you the exact location of where it looks for the ClientAccessPolicy.xml file? Is that line yielding the 404? Make sure the file is in the location it is looking for it. It needs to be in the web root and not the web app root.&lt;/p&gt;</description></item><item><title>Re: Silverlight beta 2 WCF service 404 error</title><link>http://forums.silverlight.net/forums/thread/62575.aspx</link><pubDate>Wed, 18 Jun 2008 17:38:03 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:62575</guid><dc:creator>sladapter</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/62575.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=62575</wfw:commentRss><description>&lt;p&gt;Most 404 errors people have seen in beta 2 so far are related to the cross-domain issue. Some of them are related to data size issue (also a configuration change). &lt;/p&gt;&lt;p&gt;People have all different ways to host and call their web service. So there is no single solution to solve them all. Do a search on 404 error (after beta2 release date) you might find serveral threads people have discussed this issue. Most people found their solution at the end. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Silverlight beta 2 WCF service 404 error</title><link>http://forums.silverlight.net/forums/thread/62570.aspx</link><pubDate>Wed, 18 Jun 2008 17:23:48 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:62570</guid><dc:creator>WJamesLord</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/62570.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=62570</wfw:commentRss><description>Oddly, I&amp;#39;ve seen a 404 error returned if there is a bug in the web service.</description></item><item><title>Re: Silverlight beta 2 WCF service 404 error</title><link>http://forums.silverlight.net/forums/thread/62469.aspx</link><pubDate>Wed, 18 Jun 2008 13:47:22 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:62469</guid><dc:creator>Geimas5</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/62469.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=62469</wfw:commentRss><description>&lt;span style="mso-ansi-language:EN-US;"&gt;&lt;font face="Times New Roman" size="3"&gt;yes its hosted and is available at the root of the site with &lt;/font&gt;&lt;/span&gt;&lt;a href="http://virwinserv01/clientaccesspolicy.xml"&gt;&lt;span style="mso-ansi-language:EN-US;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;"&gt;&lt;font face="Times New Roman" size="3"&gt;http://virwinserv01/clientaccesspolicy.xml&lt;/font&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="mso-ansi-language:EN-US;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-US;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&lt;span style="mso-ansi-language:EN-US;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;No i do not have s crossdomain-xml, you do not need both. looking at the logs it dose not ask for one either.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Silverlight beta 2 WCF service 404 error</title><link>http://forums.silverlight.net/forums/thread/62463.aspx</link><pubDate>Wed, 18 Jun 2008 13:37:01 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:62463</guid><dc:creator>doolittle</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/62463.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=62463</wfw:commentRss><description>&lt;p&gt;Where is your WCF-service hosted?&lt;/p&gt;&lt;p&gt;Because it is very important that clientaccesspolicy.xml is in the root of your web-sit.&lt;/p&gt;&lt;p&gt;So for instance http://localhost/clientaccesspolicy.xml or http://virwinserv01/clientaccesspolicy.xml.&lt;/p&gt;&lt;p&gt;The tool &amp;#39;fiddler&amp;#39; has helped me a lot to find the solution of such problems, maybe you should try finding the cause with that tool...&lt;/p&gt;&lt;p&gt;O, and do you have a crossdomain.xml?&amp;nbsp; Because you need that aswell...&lt;/p&gt;&lt;p&gt;Hope you can find the solution.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Silverlight beta 2 WCF service 404 error</title><link>http://forums.silverlight.net/forums/thread/62292.aspx</link><pubDate>Wed, 18 Jun 2008 04:13:09 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:62292</guid><dc:creator>Geimas5</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/62292.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=62292</wfw:commentRss><description>&lt;span style="mso-ansi-language:EN-US;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-US;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;
&lt;p&gt;the asmx version that returns pretty much the same data returns about 1000 bytes, so the size shouldn&amp;#39;t be a problem.&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;</description></item><item><title>Re: Silverlight beta 2 WCF service 404 error</title><link>http://forums.silverlight.net/forums/thread/62283.aspx</link><pubDate>Wed, 18 Jun 2008 03:50:11 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:62283</guid><dc:creator>bartczernicki</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/62283.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=62283</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are returning large amounts of data you need to set the appropriate settings inside your web.config for bindings:&lt;/p&gt;...&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; 
&lt;p&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;binding&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;name&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;LargeBuffer&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;maxBufferSize&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;2147483647&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;maxReceivedMessageSize&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;2147483647&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;readerQuotas&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;maxDepth&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;2147483647&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;maxStringContentLength&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;2147483647&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;maxArrayLength&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;2147483647&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;maxBytesPerRead&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;2147483647&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;maxNameTableCharCount&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;2147483647&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; /&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; 
&lt;p&gt;&amp;lt;/&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;binding&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;...&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Also make sure your ServiceReferences.config in the Silverlight project needs the appropriate buffer settings:&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;binding&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;name&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;LargeBuffer&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;maxBufferSize&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;9999999&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;maxReceivedMessageSize&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;9999999&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; 
&lt;p&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;security&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;mode&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;None&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; /&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;binding&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;</description></item><item><title>Re: Silverlight beta 2 WCF service 404 error</title><link>http://forums.silverlight.net/forums/thread/62270.aspx</link><pubDate>Wed, 18 Jun 2008 02:55:24 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:62270</guid><dc:creator>Geimas5</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/62270.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=62270</wfw:commentRss><description>&lt;p&gt;No one? &lt;/p&gt;</description></item><item><title>Silverlight beta 2 WCF service 404 error</title><link>http://forums.silverlight.net/forums/thread/62157.aspx</link><pubDate>Tue, 17 Jun 2008 19:44:46 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:62157</guid><dc:creator>Geimas5</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/62157.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=62157</wfw:commentRss><description>&lt;span style="mso-ansi-language:EN-US;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-US;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;
&lt;p&gt;when I try to call a WCF service from my Silverlight application I get a 404 error. when I use &amp;quot;Web development helper&amp;quot; to view the request I see that it doesn&amp;#39;t even hit the service, only the&amp;nbsp;Clientaccesspolicy.xml file, and I see that the actual content of the file is returned through the response body.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any thoughts?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Details:&lt;/p&gt;
&lt;p&gt;The service is hosted on a different machine, a windows 2003 server on the local network.&lt;br /&gt;I have no problem calling a asmx service on the same computer, in the same directory(same project actually).&lt;br /&gt;The Silverlight application is hosted in a web application on local IIS in &lt;a href="http://localhost/AdministrationToolsWeb"&gt;http://localhost/AdministrationToolsWeb&lt;/a&gt;&lt;br /&gt;I attempt to access the remote service using hostname(not ip): &lt;a href="http://virwinserv01/...%5bPath%20here%5d.../IIsMan.svc"&gt;http://virwinserv01/...%5bPath%20here%5d.../IIsMan.svc&lt;/a&gt;&lt;br /&gt;For my service i used the Silverlight WCF template.&lt;br /&gt;I have no problem accessing the web service in the browser.&lt;br /&gt;I have the same problem calling the authentication service after I have followed the instructions in this video: &lt;a href="http://silverlight.net/learn/learnvideo.aspx?video=56228"&gt;http://silverlight.net/learn/learnvideo.aspx?video=56228&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;My clientaccesspolicy.xml file:&lt;br /&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;
&lt;p&gt;Exception details:&lt;/p&gt;
&lt;p&gt;System.ServiceModel.ProtocolException: The remote server returned an unexpected response: (404) Not Found.&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String methodName, Object[] args, IAsyncResult result)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at AdministrationTools.AuthenticationService.AuthenticationServiceClient.AuthenticationServiceClientChannel.EndLogin(IAsyncResult result)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at AdministrationTools.AuthenticationService.AuthenticationServiceClient.AdministrationTools.AuthenticationService.AuthenticationService.EndLogin(IAsyncResult result)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at AdministrationTools.AuthenticationService.AuthenticationServiceClient.OnEndLogin(IAsyncResult result)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;</description></item></channel></rss>