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

Can't load compression module

9 Answers 335 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jimmy Stuart
Top achievements
Rank 1
Jimmy Stuart asked on 17 Jan 2009, 11:24 PM
I'm running SP2 (actually the 1316 build) and I tried to implement the new compression module but it keeps saying that it can't be found.  I've rebuilt the project, verified the right DLL is in the folder etc.  This is occuring on the VS2008 webserver but the site itself is running IIS6.  Any ideas?

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: Could not load type 'Telerik.Web.UI.CompressionModule'.
Source Error:

Line 119:            <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />
Line 120: <add name="TelerikCompressionModule" type="Telerik.Web.UI.CompressionModule" />Line 121:        </httpModules>

9 Answers, 1 is accepted

Sort by
0
Accepted
Steve Y
Top achievements
Rank 2
answered on 18 Jan 2009, 06:12 AM
Hi,

The declaration changed in the latest release.

Use <add name="RadCompression" type="Telerik.Web.UI.RadCompression" /> instead.

Regards, Steve
0
Jimmy Stuart
Top achievements
Rank 1
answered on 18 Jan 2009, 04:10 PM
Thanks that was it.  I had payed attention to the blog post from December that multiple Telerik folks pointed us to as to how to use it.  Guess somebody forgot to update it.
0
CodeR
Top achievements
Rank 2
answered on 20 Jan 2009, 03:38 AM
Thanks for the update, I looked at the same blog entry also.

Now that my app is finding the module I am getting the following error.

Any ideas? I realise that this is a new feature and possibly isn't ready to be fully utilised yet but I have been looking for a way to compress the AJAX requests for a while now and expect that it will yield considerably better performance on some requests.

Thanks
 

Server Error in '/WebApplication' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
   Telerik.Web.UI.RadCompression.Compress(HttpApplication application) +16
   Telerik.Web.UI.RadCompression.PreRequestHandlerExecute(Object sender, EventArgs e) +38
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

0
Sebastian
Telerik team
answered on 20 Jan 2009, 09:16 AM
Hello Damien,

From the stack trace of the exception it seems that due to some reason RadCompression module cannot execute its Compress method (its instance is not initialized). To progress in our investigation, is it possible for you to isolate a test case, illustrating the abnormality, and send it enclosed to a formal support ticket? We will test/debug it locally and will get back to you with our findings.

Additionally, verify that you are using the latest release 2008.3.1314 of RadControls for ASP.NET AJAX (Q3 2008 SP2).

Best regards,
Sebastian
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Christian
Top achievements
Rank 1
answered on 26 Mar 2009, 09:35 AM
Hi,
we have a similar problem. There is no problem to run our software on IIS 6.0, but we get the error message on another server. This server has the following components: Windows Server 2008 with IIS 7.0 and MOSS 2007

We think the MOSS-part is not the reason of our problem. Maybe there are changes in the structure of the IIS. Any Ideas?

Thanks in advance.
Christian Rudat

0
Pavel
Telerik team
answered on 27 Mar 2009, 12:12 PM
Hello Christian,

Could you specify what is the error you receive? Generally you should have no problems running applications with RadCompression on IIS7.

Kind regards,
Pavel
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Christian
Top achievements
Rank 1
answered on 27 Mar 2009, 01:10 PM

Hi,
our error messages are in german, because we use the localized version of the operating system.

----------------------------------------------------------------------------------------------------------------

Serverfehler in der Anwendung /.
--------------------------------------------------------------------------------

Der Typ "Telerik.Web.UI.RadCompression" konnte nicht geladen werden.
Beschreibung: Unbehandelte Ausnahme beim Ausführen der aktuellen Webanforderung. Überprüfen Sie die Stapelüberwachung, um weitere Informationen über diesen Fehler anzuzeigen und festzustellen, wo der Fehler im Code verursacht wurde.

Ausnahmedetails: System.Web.HttpException: Der Typ "Telerik.Web.UI.RadCompression" konnte nicht geladen werden.

Quellfehler:

Beim Ausführen der aktuellen Webanforderung wurde einen unbehandelte Ausnahme generiert. Informationen über den Ursprung und die Position der Ausnahme können mit der Ausnahmestapelüberwachung angezeigt werden.

Stapelüberwachung:

[HttpException (0x80004005): Der Typ "Telerik.Web.UI.RadCompression" konnte nicht geladen werden.]
System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +446
System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +45

[ConfigurationErrorsException: Der Typ "Telerik.Web.UI.RadCompression" konnte nicht geladen werden.]
System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +331
System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement) +66
System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList) +121
System.Web.HttpApplication.GetModuleCollection(IntPtr appContext) +1066
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +97
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +176
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +296
System.Web.HttpApplicationFactory.GetPipelineApplicationInstance(IntPtr appContext, HttpContext context) +54
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +237

[HttpException (0x80004005): Der Typ "Telerik.Web.UI.RadCompression" konnte nicht geladen werden.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +547
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +78
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +334 

--------------------------------------------------------------------------------
Versionsinformationen: Microsoft .NET Framework-Version:2.0.50727.3053; ASP.NET-Version:2.0.50727.3053
------------------------------------------------------------

Our configuration is: Windows Server 2008 with .NET 3.5 SP1, IIS 7.0 and MOSS 2007.
Our solution has no problems with Windows Server 2003, .Net 3.5 SP1, IIS 6.0 an no MOSS 2007.

Any hints are welcome.
Christian

 

0
Pavel
Telerik team
answered on 30 Mar 2009, 12:30 PM
Hello Christian,

We are really not sure why you receive this error. Can you confirm your web.config has all the necessary references? The following help article elaborates on this:
http://www.telerik.com/help/aspnet-ajax/radcompression.html


Regards,
Pavel
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Christian
Top achievements
Rank 1
answered on 17 Apr 2009, 03:21 PM
Hi,
after some bug fixing in our source code all works fine.
Thanks.
Christian.
Tags
General Discussions
Asked by
Jimmy Stuart
Top achievements
Rank 1
Answers by
Steve Y
Top achievements
Rank 2
Jimmy Stuart
Top achievements
Rank 1
CodeR
Top achievements
Rank 2
Sebastian
Telerik team
Christian
Top achievements
Rank 1
Pavel
Telerik team
Share this question
or