radcompression in sl4 & wcf ria 1.0

7 posts, 0 answers
  1. Adrian Pay
    Adrian Pay avatar
    28 posts
    Member since:
    Nov 2009

    Posted 11 Jun 2010 Link to this post

    hi,

    im using radcompression to compress my wcf ria requests but im having error. when i use fiddler, it says, the reported size doesnt match the actual size being sent? i suppose this becuase of the compression but it should match right.

    is there anything wrong in my implementation? i just copy the Telerik.Web.UI.dll in my servers bin folder. then add in webconfig's httpmodules. anything else?

    thank you!
  2. Rosen
    Admin
    Rosen avatar
    3234 posts

    Posted 14 Jun 2010 Link to this post

    Hello Adrian,

    Can you please verify that you are using RadControls for ASP.NET AJAX latest internal build, as the current official version (Q1 2010 SP2) of RadCompression does not support official version of WCF RIA services.

    If you continue to experiencing difficulties, please consider providing (through a formal support ticket) a small runnable project in which this behavior can be observed. This way we will be able to debug it locally and provide you with more to- the-point answer.

    Kind regards,
    Rosen
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Scott R
    Scott R avatar
    63 posts
    Member since:
    Jun 2008

    Posted 04 Aug 2010 Link to this post

    This problem is very easy to duplicate. Just create a WcfService using the template provided by VS 2010 then enable RadCompression in web.config. The WCF calls will start returning a content-type mismatch.

    I will provide a working (or non-working) sample via a ticket, but I'm wondering if the problem has already been fixed in the internal build and, if so, when the next release or SP will be available?

    Thanks,
    Scott
  5. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2284 posts

    Posted 05 Aug 2010 Link to this post

    Hello Scott,

    Indeed we are aware of this behavior.This unwanted behavior is replicated only when using IE and VS2010 build-in web server set to run on .NET4.0. The same page runs ok in FireFox and in IE if ran on IIS7.5 with .NET 4.0 pool or on integrated web server under .NET 2.0/3.5.

    Unfortunately we need further investigations. As temporary solution you can exclude the service from being compressed.
    <configuration>
    ...
      <configSections>
        <sectionGroup name="telerik.web.ui">
          <section name="radCompression" type="Telerik.Web.UI.RadCompressionConfigurationSection, Telerik.Web.UI, PublicKeyToken=121fae78165ba3d4" allowDefinition="MachineToApplication" requirePermission="false"/>
        </sectionGroup>
      </configSections>
      <telerik.web.ui>
        <radCompression>
          <excludeHandlers>
            <add handlerPath="Service.svc" matchExact="false"/>
          </excludeHandlers>
        </radCompression>
      </telerik.web.ui>
    ....




    Regards,
    Nikolay
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Scott R
    Scott R avatar
    63 posts
    Member since:
    Jun 2008

    Posted 05 Aug 2010 Link to this post

    Thanks for the info Nikolay. I had disabled all RadCompression, but excluding just the service is better. Thanks for the tip!
  7. Kevin
    Kevin avatar
    27 posts
    Member since:
    Aug 2012

    Posted 24 Nov 2010 Link to this post

    I too am experiencing this issue and it doesn't appear to have been fixed for the Q3 2010 release.  I have some extra information that might help Telerik resolve this issue.

    I am using a WCF service that sends the bytes of a .docx file to the new RadRichTextBox.  I have tested the 4 permutations of IIS6/7 vs. Compression on/off and it appears that the bug with RadCompression lies in using IIS 6.

    IIS 6 + RadCompression ON = Failure, size mismatch. HTTP Header says to expect a size of 33,635 bytes where the actual size returned is 34,549 bytes.  Something somewhere in my code fails at that point, I have not dug into that

    IIS 6 + RadCompression OFF = Success.  HTTP Header and actual size match at 33,635

    IIS 7 + RadCompression ON = Success. HTTP Header = 34,812, actual is the same.

    IIS 7 + RadCompression OFF = Success. HTTP Header = 33,635, actual is the same

    --Tested using IIS 6 (Windows Sever 2003) and IIS 7.5 (Windows 7) both with .NET 4 using .NET 4 app pools.
  8. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2284 posts

    Posted 30 Nov 2010 Link to this post

    Hello Kevin,

    This is known behavior so far. You can find the issue logged in MS Connect and keep track of its status:
    WCF Compression Issue

    Regards,
    Nikolay
    the Telerik team
    Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017