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

IIS 7.0

1 Answer 94 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Stoick
Top achievements
Rank 2
Stoick asked on 16 Jun 2010, 05:30 PM

I have an Silverlight site deployed to a Server running IIS 6.0 and the RadUpload works just fine. When we try to deploy the same site to a server running IIS 7.0 I get an error (Handler not found or execution of the handler failed) when trying to upload a file.

So I tried to access the RadUploadHandler.ashx directly through IE (http://..../RadUploadHandler.ashx and I get the following -

HTTP Error 500.21 - Internal Server Error

Handler "MyRadUploadHandler_ashx" has a bad module "ManagedPipelineHandler" in its module list

We recently switched to VS2010 and .Net 4.0 and this is the first deployment of a build since the upgrade. It worked previously on IIS 7.0 with .Net 3.5. and works currently with IIS 6.0 and .Net 4.0

I assume its something in IIS 7.0 and probably something I need to add in the Handler Mappings but I an not very familar with IIS 7.0 and don't know how to proceded.

1 Answer, 1 is accepted

Sort by
0
Stoick
Top achievements
Rank 2
answered on 16 Jun 2010, 07:46 PM
I resolved my problem by adding preCondition="integratedMode" to the <handlers> section of the web config

<handlers>

<add name="MyRadUploadHandler_ashx" path="RadUploadHandler.ashx" preCondition="integratedMode" verb="*"  type="Telerik.Windows.RadUploadHandler"/>

</handlers>

Tags
Upload
Asked by
Stoick
Top achievements
Rank 2
Answers by
Stoick
Top achievements
Rank 2
Share this question
or