This is a migrated thread and some comments may be shown as answers.

RadCompression and IIS 8.5

7 Answers 271 Views
Compression
This is a migrated thread and some comments may be shown as answers.
Charlie
Top achievements
Rank 1
Charlie asked on 27 May 2014, 05:22 PM
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

7 Answers, 1 is accepted

Sort by
0
Accepted
Radoslav
Telerik team
answered on 30 May 2014, 07:30 AM
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.

 
0
manish
Top achievements
Rank 1
answered on 20 Jan 2017, 05:42 AM

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 

 

 

 

0
Viktor Tachev
Telerik team
answered on 25 Jan 2017, 07:16 AM
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.
0
manish
Top achievements
Rank 1
answered on 25 Jan 2017, 08:31 AM

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 

 

0
Viktor Tachev
Telerik team
answered on 26 Jan 2017, 03:58 PM
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.
0
Omar
Top achievements
Rank 2
answered on 13 Oct 2017, 11:28 AM
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)
0
Viktor Tachev
Telerik team
answered on 18 Oct 2017, 09:34 AM
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.
Tags
Compression
Asked by
Charlie
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
manish
Top achievements
Rank 1
Viktor Tachev
Telerik team
Omar
Top achievements
Rank 2
Share this question
or