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

Telerik.RadUploadProgressHandler.ashx issue

11 Answers 1164 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
R Brown
Top achievements
Rank 1
R Brown asked on 30 Jan 2008, 09:41 PM
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?

11 Answers, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 31 Jan 2008, 07:41 AM
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
0
R Brown
Top achievements
Rank 1
answered on 31 Jan 2008, 05:41 PM
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.
0
Petya
Telerik team
answered on 31 Jan 2008, 05:48 PM
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
0
Kevin Carter
Top achievements
Rank 1
answered on 21 Feb 2008, 11:55 PM
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.).


0
Accepted
Sophy
Telerik team
answered on 26 Feb 2008, 03:40 PM
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
0
Gang Xue
Top achievements
Rank 1
answered on 24 Jun 2008, 11:05 AM
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
0
Blaize
Top achievements
Rank 1
answered on 25 Jun 2008, 08:38 AM
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
0
Gonzalo Arturo Giraldo Niño
Top achievements
Rank 2
answered on 20 Aug 2009, 02:47 AM
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
0
Veselin Vasilev
Telerik team
answered on 20 Aug 2009, 12:20 PM
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.
0
Gonzalo Arturo Giraldo Niño
Top achievements
Rank 2
answered on 20 Aug 2009, 04:58 PM
Yes!, 
Thank you !

Gonzalo.

0
Nishat Mazhar
Top achievements
Rank 1
answered on 25 Mar 2011, 05:22 PM
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>
Tags
Upload (Obsolete)
Asked by
R Brown
Top achievements
Rank 1
Answers by
Petya
Telerik team
R Brown
Top achievements
Rank 1
Kevin Carter
Top achievements
Rank 1
Sophy
Telerik team
Gang Xue
Top achievements
Rank 1
Blaize
Top achievements
Rank 1
Gonzalo Arturo Giraldo Niño
Top achievements
Rank 2
Veselin Vasilev
Telerik team
Nishat Mazhar
Top achievements
Rank 1
Share this question
or