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

2 posts, 0 answers
  1. dino
    dino avatar
    15 posts
    Member since:
    Jul 2012

    Posted 17 Jul 2012 Link to this post

    VS2010, IIS7, .net 4.0.  The application works fine on localhost but when I upload it to the server I get the following error:

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



    I am currently using the trail version of Rad Controls and would like to get this running ASAP.  Here is my web.config file:

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
      <connectionStrings>
    **** DELETED ****
      </connectionStrings>
      <appSettings>
        <add key="Telerik.Skin" value="Web20" />
        <add key="Telerik.ScriptManager.TelerikCdn" value="Disabled" />
        <add key="Telerik.StyleSheetManager.TelerikCdn" value="Disabled" />
      </appSettings>
      <system.web>
          <customErrors mode="Off" />
          
          
        <compilation debug="true" strict="false" explicit="true" targetFramework="4.0" />
        <pages>
          <controls>
            <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
          </controls>
        </pages>
        <httpHandlers>
          <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
          <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
          <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
          <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
          <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
        </httpHandlers>
        <httpModules>
          <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />
          <add name="RadCompression" type="Telerik.Web.UI.RadCompression" />
        </httpModules>
      </system.web>
      <system.webServer>
        <validation validateIntegratedModeConfiguration="false" />
        <modules runAllManagedModulesForAllRequests="true">
          <remove name="RadUploadModule" />
          <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode" />
          <remove name="RadCompression" />
          <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode" />
        </modules>
        <handlers>
          <remove name="ChartImage_axd" />
          <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />
          <remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
          <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />
          <remove name="Telerik_Web_UI_DialogHandler_aspx" />
          <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />
          <remove name="Telerik_RadUploadProgressHandler_ashx" />
          <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />
          <remove name="Telerik_Web_UI_WebResource_axd" />
          <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" />
        </handlers>
            <defaultDocument>
                <files>
                    <add value="RadDatePickerWebForm.aspx" />
                </files>
            </defaultDocument>
      </system.webServer>
    </configuration>


    Any assistance would be greatly appreciated.

    Thanks.
  2. Plamen
    Admin
    Plamen avatar
    2951 posts

    Posted 18 Jul 2012 Link to this post

    Hello Dino,

     
    Please make sure that you have a correct version of Telerik.Web.UI inside the BIN folder of your application. 
    If it is in GAC, please use a fully qualified name instead because when there are several Telerik.Web.UI assemblies in the GAC an ambiguous reference might occur. 

    Hope this will be helpful.

    Kind regards,
    Plamen
    the Telerik team
    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.
Back to Top