RadCompression Problem

9 posts, 1 answers
  1. robertw102
    robertw102 avatar
    265 posts
    Member since:
    Jul 2007

    Posted 13 Mar 2009 Link to this post

    I've downloaded the latest version of the Telerik controls 2009.01.311.20 and I was trying to use the compression module but I get this error:
    Configuration Error  
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.  
     
    Parser Error Message: Unrecognized attribute 'EnablePostbackCompression'. Note that attribute names are case-sensitive. 
     
    Source Error:  
     
     
    Line 25:   </configSections> 
    Line 26:   <telerik.web.ui> 
    Line 27:     <radCompression EnablePostbackCompression="true" /> 
    Line 28:   </telerik.web.ui> 
    Line 29:   <connectionStrings> 
      
     

    I entered it exactly like it says in the online documentation, I pretty copied and pasted it in, and I receive that error. Did you rename that attribute or something?

    Thanks,

    Kevin
  2. Answer
    Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 16 Mar 2009 Link to this post

    Hello robertw102,

    Please excuse us for the discrepancy - the name of this attribute should start with small letter as follows:

     <radCompression enablePostbackCompression="true" /> 

    We will update the relevant help topic for the next versions of the documentation. I updated your Telerik points for pointing out this detail.

    Kind regards,
    Sebastian
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. SamVanity
    SamVanity avatar
    154 posts
    Member since:
    Apr 2006

    Posted 16 Mar 2009 Link to this post

    where is the online documentation mentioned here?
  5. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 17 Mar 2009 Link to this post

    Hello Sam,

    It is part of the online help of RadControls for ASP.NET AJAX and you can view it here:
    http://www.telerik.com/help/aspnet-ajax/radcompression.html

    Best regards,
    Sebastian
    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.
  6. Grendizer
    Grendizer avatar
    51 posts
    Member since:
    Sep 2008

    Posted 08 Apr 2009 Link to this post

    Hello

    small trouble on trying to add radcompression on post back inside web.config

    Unrecognized configuration section telerik.web.ui.

    I think an http handler is missing but I don't manage to solve this one.

    Any help on this would be appreciate.

    Many thanks

  7. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 08 Apr 2009 Link to this post

    Hello Grendizer,

    Have you reviewed the information from the help article linked in my previous reply? If you follow the intructions from there you should be able to register successfully the RadCompression handler.

    Best regards,
    Sebastian
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  8. Grendizer
    Grendizer avatar
    51 posts
    Member since:
    Sep 2008

    Posted 08 Apr 2009 Link to this post

    Hello Sebastian,

    Thanks for your quick answer.

    Sure I have followed information on provided link .. but the Web,config section isn't clear or valid.

    Please find attached sample web.config in order to show you what I have done from provided information

    1 <?xml version="1.0"?>  
    2 <configuration> 
    3     <configSections> 
    4         <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">  
    5             <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">  
    6                 <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>  
    7                 <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">  
    8                     <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>  
    9                     <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>  
    10                     <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>  
    11                     <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>  
    12                 </sectionGroup> 
    13             </sectionGroup> 
    14             <sectionGroup name="telerik.web.ui">  
    15                 <section name="radCompression" type="Telerik.Web.UI.RadCompressionConfigurationSection, Telerik.Web.UI, PublicKeyToken=121fae78165ba3d4" allowDefinition="MachineToApplication" requirePermission="false"/>  
    16             </sectionGroup> 
    17         </sectionGroup>       
    18     </configSections>     
    19       
    20     <telerik.web.ui> 
    21         <radCompression enablePostbackCompression="true" /> 
    22     </telerik.web.ui> 
    23           
    24     <system.web> 
    25         <!-- release setting --> 
    26         <compilation debug="false">  
    27             <!-- debug setting --> 
    28             <!-- <compilation debug="true" strict="false" explicit="true" batch="false"> --> 
    29             <!--<trace enabled="true" requestLimit="100"/>--> 
    30             <assemblies> 
    31                 <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>  
    32                 <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>  
    33                 <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
    34                 <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>  
    35             </assemblies> 
    36         </compilation> 
    37         <!--  
    38             The <authentication> section enables configuration   
    39             of the security authentication mode used by   
    40             ASP.NET to identify an incoming user.   
    41         --> 
    42           
    43         <httpHandlers> 
    44             <remove path="*.asmx" verb="*"/>  
    45             <add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>  
    46             <add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>  
    47             <add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>  
    48             <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Culture=neutral" validate="false"/>  
    49         </httpHandlers> 
    50         <httpModules> 
    51             <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
    52             <!-- Enable Rad Ajax Compression ... see related web server module for IIS7 --> 
    53             <add name="RadCompression" type="Telerik.Web.UI.RadCompression" /> 
    54         </httpModules> 
    55     </system.web> 
    56  
    57     <system.codedom> 
    58         <compilers> 
    59             <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">  
    60                 <providerOption name="CompilerVersion" value="v3.5"/>  
    61                 <providerOption name="WarnAsError" value="false"/>  
    62             </compiler> 
    63         </compilers> 
    64     </system.codedom> 
    65     <!--   
    66         The system.webServer section is required for running ASP.NET AJAX under Internet  
    67         Information Services 7.0.  It is not necessary for previous version of IIS.  
    68     --> 
    69     <system.webServer> 
    70         <validation validateIntegratedModeConfiguration="false"/>  
    71         <modules> 
    72             <remove name="ScriptModule"/>  
    73             <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
    74             <!-- RadCompression module key -->            
    75             <add name="RadCompression" type="Telerik.Web.UI.RadCompression" /> 
    76               
    77         </modules> 
    78         <handlers> 
    79             <remove name="WebServiceHandlerFactory-Integrated"/>  
    80             <remove name="ScriptHandlerFactory"/>  
    81             <remove name="ScriptHandlerFactoryAppServices"/>  
    82             <remove name="ScriptResource"/>  
    83             <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
    84             <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
    85             <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
    86         </handlers> 
    87     </system.webServer> 
    88     <runtime> 
    89         <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">  
    90             <dependentAssembly> 
    91                 <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>  
    92                 <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>  
    93             </dependentAssembly> 
    94             <dependentAssembly> 
    95                 <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>  
    96                 <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>  
    97             </dependentAssembly> 
    98         </assemblyBinding> 
    99     </runtime> 
    100       
    101 </configuration> 

    Thanks in advance for your support

    Best Regards.
  9. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 10 Apr 2009 Link to this post

    Hello Grendizer,

    I prepared a simple test case with RadCompression and postbacks compression enabled which worked properly on my machine. You will find it attached to this message.

    Best regards,
    Sebastian
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  10. Grendizer
    Grendizer avatar
    51 posts
    Member since:
    Sep 2008

    Posted 14 Apr 2009 Link to this post

    Hello Sebastian,

    Thanks for your update .. I notice using provided test case that I have mistaken in the sectionGroup of my web.config file ..

    Everything is fixed now :)

    Thanks again for your support.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017