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