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

Problem with Telerik & Ajax

2 Answers 172 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 01 Dec 2013, 03:34 AM

I'm having a ton of problems getting RadAjax controls to work.  I've spent the better part of the past 24 hours trying to resolve this with no luck.

I started to receive the error on a website (not a web application).  Single project, no solution file.

Could not load type 'Telerik.Web.UI.RadUploadHttpModule'.

I thought that odd that it started since the previous run didn't have any errors and I don't use the upload module in this website.

I've tried everything to resolve this.

First I deleted anything to do with Telerik and reinstalled.  This did not solve the problem.

Second, I removed all references to Telerik from web.config then manually added them all back in from another website.  This did not solve the problem.

Next, I deleted all the lines referencing the upload module and uploadprogress from web.config.  After doing this I received the following error:

Could not load type 'Telerik.Web.UI.RadCompression'

Next, I deleted all the lines referencing RadCompression from web.config.  After doing this I received the following error:

ASP.NET Ajax client-side framework failed to load.

I have also done the following:

Uninstalled and reinstalled the 4.0 Framework.

Tried the 4.5 Framework

Tried the 4.5.1 Framework

Uninstalled and reinstalled VS 2012

Uninstalled and reinstalled VS 2013

I thought since this was an Ajax issue, I should try other browsers.  I was using IE 10.  I tried Firefox and Chrome and no problems.  Or so I thought.  Since I had removed the references to upload and compression, ajax worked fine.  But once I put back all the Telerik references the errors continued occurred in Firefox.

I then tried a test scenario. 

I created an empty website.

I added one page, default.aspx.

I added Ajax to the site.

I ran the site.  It ran fine.  Blank page rendered (which was expected since there weren't any controls on the page)

I added Telerik to the site.

The same issues occured, first the upload module issue.  I removed the references in web.config.  Then the radcompression issue.  I removed the references in web.config.  Then I received the ajax error.

I uninstalled IE 10.  The errors continued to occur with IE 9 (Windows 7, 64 bit, reverted to IE 9 on uninstall of IE 10).  I installed IE 11.  The errors continued to occur.

We use Telerik 2011.3.1115.40 at work.  A buddy of mine has 2013 Q1 & Q3.  We tried with both of those.  The error occurs in all three versions.

I have tried other websites we have in development and the errors occur in all three.  Only I have the problem.  Nothing has changed on the computer.  Windows Update is not set to automatic.

I am at a complete loss at this point on what to try next.  I am completely at a standstill with my development.

Below is the full error for the upload module.  I can send the test site if needed.  Let me know how.

Server Error in '/' Application.

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

Could not load type 'Telerik.Web.UI.RadUploadHttpModule'.

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.Web.HttpException: Could not load type 'Telerik.Web.UI.RadUploadHttpModule'.

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:

 [HttpException (0x80004005): Could not load type 'Telerik.Web.UI.RadUploadHttpModule'.]

   System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +9670312

   System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +38

[ConfigurationErrorsException: Could not load type 'Telerik.Web.UI.RadUploadHttpModule'.]

   System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +359

   System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, Boolean checkAptcaBit) +19

   System.Web.Configuration.Common.ModulesEntry.SecureGetType(String typeName, String propertyName, ConfigurationElement configElement) +39

   System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement) +42

   System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList) +160

   System.Web.HttpApplication.GetModuleCollection(IntPtr appContext) +950

   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +82

   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172

   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +336

   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296

[HttpException (0x80004005): Could not load type 'Telerik.Web.UI.RadUploadHttpModule'.]

   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9913572

   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101

   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254

  

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

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18408

 

2 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 05 Dec 2013, 08:28 AM
Hi Dan,

I would suggest you to review the help topic below which elaborates on the error you are facing and provides solution for its fixing:
http://www.telerik.com/help/aspnet-ajax/introduction-troubleshooting.html

I hope this helps.

Regards,
Maria Ilieva
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 the blog feed now.
0
Bruce
Top achievements
Rank 1
answered on 05 Jun 2014, 10:00 PM
Dan,
I'm getting the "Could not load type 'RadCompression' " problem.
It worked fine. I checked a small change into TFS. I reconciled my workspace after the build was complete.
I resumed some work. I tried to run it and got the above error.
I've tried everything I can think of (I'm working on a rather large web app solution.)
I don't have the luxury of removing Telerik and starting over.
Any idea how to get this to work!? I've wasted over a day on this and am at a standstill, too!

Thanks,
Bruce
Tags
General Discussions
Asked by
Dan
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Bruce
Top achievements
Rank 1
Share this question
or