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.

Leave

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


Add the following to the Sytem.WebServer element

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

<validation validateIntegratedModeConfiguration="false" />

1 comment:

omar said...

TOP MAN (Y)
You made my day!!
Thank you very much