robertw102
Top achievements
Rank 1
robertw102
asked on 13 Mar 2009, 07:33 PM
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:
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
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
8 Answers, 1 is accepted
0
Accepted
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.
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.
0
SamVanity
Top achievements
Rank 2
answered on 16 Mar 2009, 08:39 PM
where is the online documentation mentioned here?
0
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.
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.
0
Grendizer
Top achievements
Rank 1
answered on 08 Apr 2009, 07:41 AM
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
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
0
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.
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.
0
Grendizer
Top achievements
Rank 1
answered on 08 Apr 2009, 10:02 AM
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
Thanks in advance for your support
Best Regards.
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
<?xml version="1.0"?> | |
<configuration> | |
<configSections> | |
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> | |
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> | |
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> | |
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> | |
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/> | |
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> | |
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> | |
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> | |
</sectionGroup> | |
</sectionGroup> | |
<sectionGroup name="telerik.web.ui"> | |
<section name="radCompression" type="Telerik.Web.UI.RadCompressionConfigurationSection, Telerik.Web.UI, PublicKeyToken=121fae78165ba3d4" allowDefinition="MachineToApplication" requirePermission="false"/> | |
</sectionGroup> | |
</sectionGroup> | |
</configSections> | |
<telerik.web.ui> | |
<radCompression enablePostbackCompression="true" /> | |
</telerik.web.ui> | |
<system.web> | |
<!-- release setting --> | |
<compilation debug="false"> | |
<!-- debug setting --> | |
<!-- <compilation debug="true" strict="false" explicit="true" batch="false"> --> | |
<!--<trace enabled="true" requestLimit="100"/>--> | |
<assemblies> | |
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> | |
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> | |
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> | |
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> | |
</assemblies> | |
</compilation> | |
<!-- | |
The <authentication> section enables configuration | |
of the security authentication mode used by | |
ASP.NET to identify an incoming user. | |
--> | |
<httpHandlers> | |
<remove path="*.asmx" verb="*"/> | |
<add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/> | |
<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"/> | |
<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"/> | |
<add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Culture=neutral" validate="false"/> | |
</httpHandlers> | |
<httpModules> | |
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> | |
<!-- Enable Rad Ajax Compression ... see related web server module for IIS7 --> | |
<add name="RadCompression" type="Telerik.Web.UI.RadCompression" /> | |
</httpModules> | |
</system.web> | |
<system.codedom> | |
<compilers> | |
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
<providerOption name="CompilerVersion" value="v3.5"/> | |
<providerOption name="WarnAsError" value="false"/> | |
</compiler> | |
</compilers> | |
</system.codedom> | |
<!-- | |
The system.webServer section is required for running ASP.NET AJAX under Internet | |
Information Services 7.0. It is not necessary for previous version of IIS. | |
--> | |
<system.webServer> | |
<validation validateIntegratedModeConfiguration="false"/> | |
<modules> | |
<remove name="ScriptModule"/> | |
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> | |
<!-- RadCompression module key --> | |
<add name="RadCompression" type="Telerik.Web.UI.RadCompression" /> | |
</modules> | |
<handlers> | |
<remove name="WebServiceHandlerFactory-Integrated"/> | |
<remove name="ScriptHandlerFactory"/> | |
<remove name="ScriptHandlerFactoryAppServices"/> | |
<remove name="ScriptResource"/> | |
<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"/> | |
<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"/> | |
<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"/> | |
</handlers> | |
</system.webServer> | |
<runtime> | |
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | |
<dependentAssembly> | |
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/> | |
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/> | |
</dependentAssembly> | |
<dependentAssembly> | |
<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/> | |
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/> | |
</dependentAssembly> | |
</assemblyBinding> | |
</runtime> | |
</configuration> |
Thanks in advance for your support
Best Regards.
0
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.
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.
0
Grendizer
Top achievements
Rank 1
answered on 14 Apr 2009, 09:14 AM
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.
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.