<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Deployment Issue - Compression?</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Deployment Issue - Compression?</description>
  <pubDate>Wed, 15 Apr 2026 10:23:29 -700</pubDate>
  <lastBuildDate>Tue, 17 May 2011 10:07:40 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=2651</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Deployment Issue - Compression? : Thanks! </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2651&amp;PID=10716#10716</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1097" rel="nofollow">robertg</a><br /><strong>Subject:</strong> 2651<br /><strong>Posted:</strong> 17-May-2011 at 10:07am<br /><br />Thanks!]]>
   </description>
   <pubDate>Tue, 17 May 2011 10:07:40 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2651&amp;PID=10716#10716</guid>
  </item> 
  <item>
   <title>Deployment Issue - Compression? : Robert,Thanks for the follow-up....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2651&amp;PID=10712#10712</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=312" rel="nofollow">Jon S</a><br /><strong>Subject:</strong> 2651<br /><strong>Posted:</strong> 17-May-2011 at 7:36am<br /><br />Robert,<div><br></div><div>Thanks for the follow-up. &nbsp;After a call to Albert, we were able to resolve the problem. &nbsp;Because we are using a custom client config, we needed to add endpoints to the EntityService and EntityServer in our .clientconfig files. &nbsp;We also needed to add a ProxyEvent class like the one below:</div><div><br></div><div><br></div><div><div><font ="Apple-style-span" color="#0000ff">using System.ServiceModel.Channels;</font></div><div><font ="Apple-style-span" color="#0000ff">using IdeaBlade.Core.Wcf.Extensions;</font></div><div><font ="Apple-style-span" color="#0000ff"><br></font></div><div><font ="Apple-style-span" color="#0000ff">public class ProxyEvents : IdeaBlade.EntityModel.ServiceProxyEvents</font></div><div><font ="Apple-style-span" color="#0000ff">{</font></div><div><font ="Apple-style-span" color="#0000ff"><br></font></div><div><font ="Apple-style-span" color="#0000ff">&nbsp; &nbsp; &nbsp;public override void OnEndpointCreated(System.ServiceModel.Description.ServiceEndpoint endpoint)</font></div><div><font ="Apple-style-span" color="#0000ff">&nbsp; &nbsp; &nbsp;{</font></div><div><font ="Apple-style-span" color="#0000ff">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; base.OnEndpointCreated(endpoint);</font></div><div><font ="Apple-style-span" color="#0000ff"><br></font></div><div><font ="Apple-style-span" color="#0000ff">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Sample adding Gzip compression programmatically. &nbsp;</font></div><div><font ="Apple-style-span" color="#0000ff">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;// Use when using a ServiceReferences.ClientConfig where a gzip binding cannot be added declaratively (this is a&nbsp;</font></div><div><font ="Apple-style-span" color="#0000ff">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;// Silverlight limitation since it does not support extensions via config).</font></div><div><font ="Apple-style-span" color="#0000ff"><br></font></div><div><font ="Apple-style-span" color="#0000ff">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;if (endpoint.Binding is CustomBinding)</font></div><div><font ="Apple-style-span" color="#0000ff">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;{</font></div><div><font ="Apple-style-span" color="#0000ff">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;var binding = endpoint.Binding as CustomBinding;</font></div><div><font ="Apple-style-span" color="#0000ff">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;var elements = binding.CreateBindingElements();</font></div><div><font ="Apple-style-span" color="#0000ff"><br></font></div><div><font ="Apple-style-span" color="#0000ff">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// Swap out binary/text message encoding for gzip/binary</font></div><div><font ="Apple-style-span" color="#0000ff">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;var encoding = elements.Find&lt;MessageEncodingBindingElement&gt;();</font></div><div><font ="Apple-style-span" color="#0000ff">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (encoding != null)</font></div><div><font ="Apple-style-span" color="#0000ff">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{</font></div><div><font ="Apple-style-span" color="#0000ff">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;elements.Remove(encoding);</font></div><div><font ="Apple-style-span" color="#0000ff">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</font></div><div><font ="Apple-style-span" color="#0000ff"><br></font></div><div><font ="Apple-style-span" color="#0000ff">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;encoding = new GZipMessageEncodingBindingElement();</font></div><div><font ="Apple-style-span" color="#0000ff">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;elements.Insert(0, encoding);</font></div><div><font ="Apple-style-span" color="#0000ff">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;endpoint.Binding = new CustomBinding(elements);</font></div><div><font ="Apple-style-span" color="#0000ff">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</font></div><div><font ="Apple-style-span" color="#0000ff">&nbsp; &nbsp; &nbsp;}</font></div><div><font ="Apple-style-span" color="#0000ff">}</font></div></div>]]>
   </description>
   <pubDate>Tue, 17 May 2011 07:36:42 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2651&amp;PID=10712#10712</guid>
  </item> 
  <item>
   <title>Deployment Issue - Compression? : Jon,    I just wanted to follow...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2651&amp;PID=10703#10703</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1097" rel="nofollow">robertg</a><br /><strong>Subject:</strong> 2651<br /><strong>Posted:</strong> 16-May-2011 at 1:59pm<br /><br />Jon,<DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>I just wanted&nbsp; to follow up on this, because it's been a while and I never heard back. Did you find a resolution to your problem? If so, what was it, just so we all know?</DIV><DIV>&nbsp;</DIV><DIV>Thanks,</DIV><DIV>Robert</DIV>]]>
   </description>
   <pubDate>Mon, 16 May 2011 13:59:23 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2651&amp;PID=10703#10703</guid>
  </item> 
  <item>
   <title>Deployment Issue - Compression? :  Jon,Could you provide me with...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2651&amp;PID=10600#10600</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1097" rel="nofollow">robertg</a><br /><strong>Subject:</strong> 2651<br /><strong>Posted:</strong> 05-May-2011 at 11:53am<br /><br />Jon,<br><br>Could you provide me with some additional information on your production environment? What version of IIS are you using? What Windows is it on? Is this a stand-alone server, or is it in a cluster?<br><br>Since compression is configured within the application, are you using an app.config or ServiceReferences.ClientConfig in your SL app?&nbsp; Or, are you using a serviceModel section in the web.config?<br><br>Could you verify that deployment was successful, and that both the web side and silverlight side of your application deployed to the server? If one was, but not the other, that could cause this problem.<br><br>There are a lot of things that could cause a 'not listening' error like this. For example, and probably the first thing to check, is your EntityService running? Please see: <a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/deploy-entityserver" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/deploy-entityserver</a><br><br>-- Robert<br>]]>
   </description>
   <pubDate>Thu, 05 May 2011 11:53:41 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2651&amp;PID=10600#10600</guid>
  </item> 
  <item>
   <title>Deployment Issue - Compression? :   We recently updated to the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2651&amp;PID=10598#10598</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=312" rel="nofollow">Jon S</a><br /><strong>Subject:</strong> 2651<br /><strong>Posted:</strong> 05-May-2011 at 11:03am<br /><br /><div>We recently updated to the newest version of DevForce and we're getting the error below. &nbsp;I'm assuming it has something to do with the new GZip compression in this version of DevForce? &nbsp;We can run things just fine from our development environment, but when we deploy it, we get the following error:</div><div><br></div><div><img src="uploads/312/error.png" height="999" width="497" border="0" /><br></div><div><br></div><div>Any ideas?</div><div><br></div>]]>
   </description>
   <pubDate>Thu, 05 May 2011 11:03:08 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2651&amp;PID=10598#10598</guid>
  </item> 
 </channel>
</rss>