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
We are dynamically creating web pages using VB .Net 4.5. We are placing the radeditor (we are using Telerik.Web.UI.dll version 2013.1.417.45 which I believe is corresponds to RadControls for ASP.NET AJAX Q1 2013 SP2) on the pages. On the first page if we perform a spell check and there are no errors we can continue to the second page that is again dynamically created with an instance of the radeditor. However, if there was an error that the spell check found then the page will not continue to the next page. One item to note, if an error is found and we try to continue to a second page without the editor it works, however when trying to continue to a third page that has the editor it will not load the page. We also have noted this behavior if just inserting a symbol into the editor. Any ideas?


<div class="ssbUploaderDropZone"> <asp:Label runat="server" ID="lblTop" CssClass="ssbLabel ssbTopLabel"></asp:Label> <telerik:RadAsyncUpload runat="server" ID="RadAsyncUpload" CssClass="ssbImageUploader" DropZones=".ssbUploaderDropZone"> </telerik:RadAsyncUpload> <asp:Label runat="server" ID="lblBottom" CssClass="ssbLabel ssbBottomLabel"></asp:Label></div><asp:HiddenField runat="server" ID="hdnOrganizationNameFolder" /><telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel" RenderMode="Inline" style="display:none;"> <%--Provide support for this element when it is updated by RadAjaxManager or RadAjaxPanel--%> <telerik:RadScriptBlock runat="server"> <script> AsyncUploader.initialize('<%=this.ClientID%>'); </script> </telerik:RadScriptBlock></telerik:RadAjaxPanel><telerik:RadCodeBlock runat="server" ID="RadCodeBlock"> <script> $(document).ready(function () { AsyncUploader.initialize('<%=this.ClientID%>'); }); </script></telerik:RadCodeBlock>/// <summary>/// Wraps the usercontrol in a container div that is the ID of the usercontrol./// </summary>/// <param name="writer"></param>protected override void Render(HtmlTextWriter writer){ //Add a containing div element writer.Write("<div id=\"" + this.ClientID + "\" class=\"ssbUploaderContainer\">"); base.Render(writer); writer.Write("</div>");}.ruDropZone { display: none !important;}// -------------------------------------------------- //AsyncUploader// Async Uploader// -------------------------------------------------- //function AsyncUploader() { // Avoid using the window scope: // return a new util object if we're in the wrong scope if (window === this) { return new AsyncUploader(); } // Return the object return this;};// Prototype FunctionsAsyncUploader.prototype = { initialize: function (controlID) { /// <summary>Initialize the AsyncUploader control</summary> /// <param name="controlID" type="String">The ID of the AsyncUpload control to initialize</param> control = $("[id$='" + controlID + "']"); if (control[0]) { var dropZone = $(control).find(".ssbUploaderDropZone"); dropZone.bind({ "dragenter": function (e) { AsyncUploader.dragEnter(e, dropZone); } }); dropZone.bind({ "dragleave": function (e) { AsyncUploader.dragLeave(e, dropZone); } }); dropZone.bind({ "drop": function (e) { AsyncUploader.drop(e, dropZone); } }); } }, dragEnter: function (e, dropZone) { /// <summary>Handles the DragEnter event</summary> /// <param name="e" type="Event">The event that has occurred</param> /// <param name="dropZone" type="DOM Element">The dropZone DOM element</param> $(dropZone).css('border', '1px solid #000000'); $(dropZone).addClass('ssbUploaderDropZoneDragEnter'); }, dragLeave: function (e, dropZone) { /// <summary>Handles the DragLeave event</summary> /// <param name="e" type="Event">The event that has occurred</param> /// <param name="dropZone" type="DOM Element">The dropZone DOM element</param> $(dropZone).css('border', '0px none'); $(dropZone).removeClass('ssbUploaderDropZoneDragEnter'); }, drop: function (e, dropZone) { /// <summary>Handles the Drop event</summary> /// <param name="e" type="Event">The event that has occurred</param> /// <param name="dropZone" type="DOM Element">The dropZone DOM element</param> $(dropZone).css('border', '0px none'); $(dropZone).removeClass('ssbUploaderDropZoneDragEnter'); }};//intialize SimplePopover for usevar AsyncUploader = new AsyncUploader();