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

Issue with Azure on onClick event

3 Answers 46 Views
Compression
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 23 May 2013, 06:30 PM
I am receiving this error when i click on a radbutton when running my website in Azure, but it runs perfectly in the emulator.

[NullReferenceException: Object reference not set to an instance of an object.]
   System.Object.GetType() +0
   Telerik.Web.UI.RadCompression.Compress(HttpApplication application) +803
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +270

This error was gotten by using Fiddler...

Thoughts

Michael

3 Answers, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 28 May 2013, 06:53 AM
Hi Michael,

The described issue is very strange and we have not encountered it so far and we are not sure what could be the reason for experiencing the problem. Could you please try changing the RadButton with the standard asp.net Button and let me know if the issue still persists.
Additionally could you please try disabling the postback compression and see whether this changes the behavior.

Looking forward for your reply.

Regards,
Radoslav
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Michael
Top achievements
Rank 1
answered on 28 May 2013, 12:59 PM
I tried both of those suggestions. No change.

Michael
0
Radoslav
Telerik team
answered on 31 May 2013, 07:18 AM
Hello Michael,

Another thing I can suggest you is to temporarily disable ViewState compression just to ensure it is not interfering with the AppFabric SessionState caching and see if you still get exceptions.
Also if you have set runAllManagedModulesForAllRequests property to true, could you please try removing it and add preCondition="managedHandler"  and let me know if the issue still persist.
<modules>
        <addname="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="managedHandler"/>
</modules>
Also is the exception is thrown on all pages which has RadButton on only on some pages? If this is the case I would suggest that you review the following forum thread:

Stop compression for a separate page

Regards,
Radoslav
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Compression
Asked by
Michael
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Michael
Top achievements
Rank 1
Share this question
or