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

RadCompression breaks classic ASP postbacks

5 Answers 117 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 23 May 2009, 04:44 AM
As title says, U get a server 500 error when I have RadCompression enabled and I do a postback in a classic ASP page. Using W2k8 IIS7 with the latest internal build.

Any fix to this?

5 Answers, 1 is accepted

Sort by
0
Pavel
Telerik team
answered on 26 May 2009, 11:19 AM
Hello Michael,

We are not able to reproduce the problem locally. Can you confirm that it cannot be observed if you disable the compression? Also note that the compression is intended to work with Asp.Net AJAX.

Best wishes,
Pavel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Michael
Top achievements
Rank 1
answered on 27 May 2009, 11:32 AM
Hi

Yes when i remove RadCompression the ASP pages work again.

I don't necessarily want to compress any ASP pages, 2 of my sites just have a couple of asp pages which haven't been converted to aspx as yet. So I have to disable the whole RadCompression to get those ASP pages working again.
0
Pavel
Telerik team
answered on 29 May 2009, 09:26 AM
Hello Michael,

I am afraid that in this case there is little we can do to help you since we cannot reproduce the issue. I can suggest you to disable the compression until you convert all of your pages to Asp.Net AJAX.

Greetings,
Pavel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Son
Top achievements
Rank 1
answered on 29 Mar 2010, 08:08 PM
I don't know if the cause is the RadCompression, but I had trouble with classic ASP postbacks after uploading an ASP.NET page with the RadEditor control.  I switched back to the previous version of  the web.config file and the postbacks worked again.  Something about the web.config file broke the postback in all my classic ASP apps on the site.
0
Pavel
Telerik team
answered on 30 Mar 2010, 07:09 AM
Hi Son,

You can disable compression for classic asp pages by adding a preCondition to the RadCompression handler:

<add name="RadCompression" type="Telerik.Web.UI.RadCompression, Telerik.Web.UI"
preCondition="managedHandler" />

This will force the compression to by applied only for *.aspx pages as is explained here.
If you are not using IIS 7 you can use the approach suggested in the following link to disable compression for specific pages:

http://www.telerik.com/help/aspnet-ajax/radcompression.html

Best wishes,
Pavel
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.
Tags
General Discussions
Asked by
Michael
Top achievements
Rank 1
Answers by
Pavel
Telerik team
Michael
Top achievements
Rank 1
Son
Top achievements
Rank 1
Share this question
or