Telerik.RadUploadProgressHandler.ashx issue

Thread is closed for posting
12 posts, 1 answers
  1. R Brown
    R Brown avatar
    8 posts
    Member since:
    May 2007

    Posted 30 Jan 2008 Link to this post

    I have read the online help on you to config the web.config file for the Telerik RadUpload Premetheus server control. I still obtain an error message the "Could not load type "Telerik.Web.UI.RadUploadProgressHandler from assembly "Telerik.Web.UI".

    How do I solve this issue so that I can use the RadUpload server control?
  2. Petya
    Admin
    Petya avatar
    869 posts

    Posted 31 Jan 2008 Link to this post

    Hello R Brown,

    What are your settings in Web.config file? They should be

    <httpHandlers>
              ... 
                <add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler,Telerik.Web.UI"/>
              
    </httpHandlers>
    <httpModules>
                <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>
               .....
    </httpModules>


    In case the problem persists please, send us a very simple test project with which we can reproduce the issue so we can investigate it. Please, include all necessary files and folders such as bin, etc.

    Regards,
    Petya
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. R Brown
    R Brown avatar
    8 posts
    Member since:
    May 2007

    Posted 31 Jan 2008 Link to this post

    I found the issue why the RadUpload server control would not work properly. The issue is with the 
    <add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler,Telerik.Web.UI"/>

    configuration settings defined by the On-line help. Thus, the downloaded on-line help syntax structure is incorrect because the setting that Telerik provide is

    <add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler,Telerik.Web.UI"/>

    As you notice, the Upload is missing from the assembly structure.  Also, I have notice several other incorrect syntax structure within the on-line help with the Telerik RadUpload to the code I see Telerik provides on line.  When I have time, I will post those issues.

    Thank you for you help.
  5. Petya
    Admin
    Petya avatar
    869 posts

    Posted 31 Jan 2008 Link to this post

    Hello R Brown,

    What version of the control are you using? The issue you describe was really present in the release version but with the SP version it should be solved and the control should be working with both kind of settings in the Web.config file. For the other errors you mention, we would be truly grateful if you point them to us so we can fix them and improve the quality of our documentation.

    Sincerely yours,
    Petya
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Kevin Carter
    Kevin Carter avatar
    8 posts
    Member since:
    Nov 2006

    Posted 21 Feb 2008 Link to this post

    I posted this elsewhere, but cannot find the post (search is not working for me atm (my computer I think??)).


    The following solves the Telerik.RadUploadProgressHandler.ashx issue  which was my issue and why the following came about. (the result of no less than 4 different posts and the data within)

    RadUpload works flawlessly on IIS7.  I am running webs made from both VS 2005 and VS 2008 (2008 is express edition though).

    After about 11 (yes, 11, but whatever, it works) and reading every single post on the Forums, the solution is as follows:

    1) Read the documentation for installation (specifically mod your app.config to include the following:

    <

    httpHandlers>

    <

    add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI" />

    ...........................

    <

    httpModules>

    <

    add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" />
    1) Read the documentation for installation (specifically mod your app.config to

    2) within IIS7 within the website, change the APP Pool to an app pool that has Classic .Net.  IIS7 > websites > your website > advanced settings > application pool:  (Classic .NET AppPool... I choose YOU!)

    works fine for me now.  Progress monitor and all.  Did a 80 meg upload just for kickers.   (course, set the directory I was uploading to as Everyone: Full Control)

    I am running anonymous authent only.  But this may be  a kicker for some of you security nuts (yes, this is blasphmeous, but it works).   I set anonymous to specific user: An administrator (in this case : MyAspAdminForSitesUser).
    (just using sub-pages for login.).


  7. Answer
    Sophy
    Admin
    Sophy avatar
    636 posts

    Posted 26 Feb 2008 Link to this post

    Hello,

    Thank you for sharing the this information with the community.

    The other forum post in which you have posted the solution to the problem is in the RadUpload Classic section and its subject is IIS 7 and the Progress Area.

    Best regards,
    Sophy
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  8. Gang Xue
    Gang Xue avatar
    11 posts
    Member since:
    Jun 2008

    Posted 24 Jun 2008 Link to this post

    Hi,

    I am also trying to get the upload progress to work under IIS 7. Tried the suggestions Kevin Carter put in his post. However, when I switched to the 'classic .net AppPool', I have always been given a 500 internal server error with suggestions that I have not registered the handler, even though I have included the configuration sections in both 'system.web' and 'system.webserver'.

    When I tried with a normal AppPool, I got the following exception:

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    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:

    [NullReferenceException: Object reference not set to an instance of an object.]
    Telerik.Web.UI.RadUploadHttpModule.SetTextContent(Type workerRequestType, HttpWorkerRequest workerRequest, Byte[] textContent) +563
    System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +79
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +176

    I am running the test project under VS2008 and IIS 7. Could anyone please give a hint how to resolve this problem?

    Many thanks
  9. Blaize
    Blaize avatar
    88 posts
    Member since:
    Oct 2006

    Posted 25 Jun 2008 Link to this post

    Hey Gang,

    Is the "classic app pool" actually using the Classic pipeline mode? I'm using it this way and I don't have problems with that. Btw, the <system.webserver> tag is needed by app pools running in integrated mode.

    Ok, and another thing - if having nested web applications, it might be that you've encountered the some kind of multiple registration problem...

    Cheers,
    Blaize
  10. Gonzalo Arturo Giraldo Niño
    Gonzalo Arturo Giraldo Niño avatar
    2 posts
    Member since:
    Aug 2008

    Posted 19 Aug 2009 Link to this post

    I'm using teh version 2009.2 701 (Jul 1, 2009)

    And I'm having similar troubles  Win 2008 64 / IIS 7.  I ready changed the APP Pool to an app pool that has Classic, but now , shows me this Error:

    Parser Error Message: Could not load type 'Telerik.Web.UI.RadUploadHttpModule'.
    <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/>
    <add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>
    

    Thanks in advice,

    Gonzalo
  11. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 20 Aug 2009 Link to this post

    Hi Gonzalo Arturo Giraldo Niño,

    Please try this one:

    <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" /> 
     
    Let me know if this helps.

    All the best,
    Veselin Vasilev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  12. Gonzalo Arturo Giraldo Niño
    Gonzalo Arturo Giraldo Niño avatar
    2 posts
    Member since:
    Aug 2008

    Posted 20 Aug 2009 Link to this post

    Yes!, 
    Thank you !

    Gonzalo.

  13. Nishat Mazhar
    Nishat Mazhar avatar
    11 posts
    Member since:
    Feb 2010

    Posted 25 Mar 2011 Link to this post

    I have this entry in web.config and still does not work

    <system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <modules>
    <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"  preCondition="managedHandler" />
    </modules>
    <handlers>
    <remove name="WebServiceHandlerFactory-ISAPI-2.0" />
    <add name="Telerik_RadUploadProgressHandler" path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI" resourceType="Unspecified" preCondition="integratedMode" />
    </handlers>
    </system.webServer>
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017