IIS 7.0

2 posts, 0 answers
  1. Stoick
    Stoick avatar
    11 posts
    Member since:
    Jan 2009

    Posted 16 Jun 2010 Link to this post


    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.

  2. Stoick
    Stoick avatar
    11 posts
    Member since:
    Jan 2009

    Posted 16 Jun 2010 Link to this post

    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>

  3. DevCraft banner
Back to Top