RadCompression and IIS 8.5

8 posts, 1 answers
  1. Charlie
    Charlie avatar
    5 posts
    Member since:
    Jun 2013

    Posted 27 May 2014 Link to this post

    I am new to the Telerik tools and am working with the Q1 2014 release of the ASP.Net AJAX tools.  I am trying to understand whether or not I need to set the RadCompression in the Web.config file.

    I see in the documentation on RadCompression that it is not needed for IIS 7.5 because the Dynamic Compression of IIS 7.5 will result in double compression of the response.  Is this also true for IIS 8 and IIS 8.5?  I don't see anything in the forums or documentation for these newer versions of IIS 8 and 8.5.  Any information would be helpful.

    Thanks,
    Charlie
  2. Answer
    Radoslav
    Admin
    Radoslav avatar
    1564 posts

    Posted 30 May 2014 Link to this post

    Hello Charlie,

    Thank you for contacting us.

    Indeed the IIS 8 and IIS 8.5 have built in compression module. If it is enabled you do not need to enable RadCompression into the web.config file, because the result will be double compression of the response. I will make sure that the documentation article will be updated with this information.

    If you need further assistance, do not hesitate to contact us again.

    Regards,
    Radoslav
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. manish
    manish avatar
    2 posts
    Member since:
    Jan 2017

    Posted 19 Jan in reply to Radoslav Link to this post

    Dear Radoslav .

    I have Shared Server and have IIS 8.5 . I am using Telerik reference for Graph . But is is showing error .After search on google . it is related to IIS version . after a lot of search i couldn't find the solution or any article for IIS 8.5 ..In my local server it is working fine . when i upload o server it is showing error ..

     

    ERROR :

    '~/Telerik.Web.UI.WebResource.axd' is missing in web.config. RadScriptManager requires a HttpHandler registration in web.config. Please, use the control Smart Tag to add the handler automatically, or see the help for more information: Controls > RadScriptManager

     

    After Added i got below error :

    500 - Internal server error.
    There is a problem with the resource you are looking for, and it cannot be displayed.

     

     

    Please help me to fix this issue ...

     

    Regards

    J C Manish 

     

     

     

  4. Viktor Tachev
    Admin
    Viktor Tachev avatar
    1788 posts

    Posted 25 Jan Link to this post

    Hi Manish,

    Note that error 500 is a general server error and can be caused by various factors. Try to enable detailed errors and check the detailed exception that is returned from the server. This should give a clue as to where the error originates from.

    The following resources describe how you can enable sending detailed error information to the client.



    Regards,
    Viktor Tachev
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  5. manish
    manish avatar
    2 posts
    Member since:
    Jan 2017

    Posted 25 Jan in reply to Viktor Tachev Link to this post

    Dear Viktor 

    Thanks a lot for your reply. I know 500 internal server error Causes .. I have gone through google and fix it ..

    But ........

    When i add below Telerik Reference in web config , then i got 500 Internal server ERROR ..but in my local server have IIS 7 and it working fine .but on Shared server have IIS 8.5, the i am getting error 

    Telerik Reference code:

     <handlers>
            <add name="Telerik.Web.UI.WebResource"  path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2015.2.826.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />
        </handlers>

    Please Find attached Error Screens....

    Please check and advice where we are doing wrong .....

     

    Regards

    Manish J 

     

  6. Viktor Tachev
    Admin
    Viktor Tachev avatar
    1788 posts

    Posted 26 Jan Link to this post

    Hello Manish,

    If the error is seen only in production it may be due to double compression. This can happen if you have RadCompression enabled on top of the default IIS compression.

    Please examine the web.config and remove any lines referring RadCompression. As a result only the default compression will be enabled in the application.

    Remove the lines highlighted below:


    <httpmodules>
        ...
        <add name="RadCompression" type="Telerik.Web.UI.RadCompression" />
    </httpmodules>
    <system.webserver>
     <modules>
       ...
       <add name="RadCompression" type="Telerik.Web.UI.RadCompression" />
     </modules>
    ...    
    </system.webserver>



    Regards,
    Viktor Tachev
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  7. Omar
    Omar avatar
    12 posts
    Member since:
    Jun 2012

    Posted 13 Oct Link to this post

    I am referring to the following link http://docs.telerik.com/devtools/aspnet-ajax/controls/radcompression
    I have gone over all topics online, all tutorials, all recommendations and they are all pointing at how the "browser" file in the app_browser should be included and how the web.config file should be altered etc..
    The article clearly states that the reduction will be between 40% to 60% or more depending on different factors. So, in order to clearly test the impact, i created an empty ASP.Net web forms application, added a masterpage and a content page with nothing but a RadScriptManager, RadGrid and Radeditor to just test how the viewstate is initially and then how applying the above will affect it.
    The results were the following: Initially, the viewstate size was 9000 bytes without adding anything or any compressions, after applying the above (unless the documentation changed), the bytes have increased to 9100! not even decreased!
    So, i am currently lost and i need to badly shrink the viewstate as much as possible to save on the bandwidth and performance.
    I am using UI for ASP.NET AJAX Q2 2016, not sure if that affects the Radcompression module or not. Your assistance with this is highly appreciated (a sample project/configuration would go a long way)
  8. Viktor Tachev
    Admin
    Viktor Tachev avatar
    1788 posts

    Posted 18 Oct Link to this post

    Hi Omar,

    The behavior you describe if IIS compression is enabled alongside RadCompression. By default IIS has compression enabled. If multiple compression options are used at the same time this will likely result in unexpected behavior. Furthermore, it can cause some controls to stop working. 

    Please ensure that only one type of compression is used at a time and see which one works for you. You can disable the built-in IIS compression and try out RadCompression. After that, remove RadCompression and see how the IIS compression method works. 

    With that said, it is always recommended to use the latest version of the controls. The current release includes the latest updates and improvements - it's version number is 2017.3.913.


    Regards,
    Viktor Tachev
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top