Friday, December 5, 2008

Telerik RadUpload + IIS 7.0

If you've tried upgrading from iis6 to iis7 using an old version of Telerik's upload progress control you've probably experienced an internal server 500 error message.

I contacted Telerik to ask what could be done or how to adjust the web.config accordingly, however they replied "The “classic” RadProgressArea does not work in IIS7. Please upgrade to RadUpload for ASP.NET AJAX." Great!

However its actually really simple to get it to work. See below.


<add name="RadUploadModule" type="Telerik.WebControls.RadUploadHttpModule, RadUpload.Net2" />
<add verb="*" path="Telerik.RadUploadProgressHandler.aspx" type="Telerik.WebControls.RadUploadProgressHandler, RadUpload.Net2"></add>

Add the following to the Sytem.WebServer element

<add name="RadUploadModule" type="Telerik.WebControls.RadUploadHttpModule, RadUpload.Net2" />
<add name="TelerikRadProgress" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.aspx" verb="*" type="Telerik.WebControls.RadUploadProgressHandler, RadUpload.Net2" />

<validation validateIntegratedModeConfiguration="false" />

1 comment:

omar said...

You made my day!!
Thank you very much