progress handler error

Thread is closed for posting
4 posts, 0 answers
  1. mww
    mww avatar
    257 posts
    Member since:
    Sep 2012

    Posted 02 Nov 2009 Link to this post

    Ive uploaded my website to a hosted environment and im getting an error with the upload progress component.
    In my web.config file i have this line

    <add name="Telerik_RadUploadProgressHandler_ashx" verb="*" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI"/>

    but im getting this error

    RadUpload Ajax callback error. Source url returned invalid content:



    <html>

        <head>

            <title>The resource cannot be found.</title>

            <style>

             body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}

             p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}

             b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}

             H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }

             H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }

             pre {font-family:"Lucida Console";font-size: .9em}

             .marker {font-weight: bold; color: black;text-decoration: none;}

             .version {color: gray;}

             .error {margin-bottom: 10px;}

             .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }

            </style>

        </head>



        <body bgcolor="white">



                <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>



                <h2> <i>The resource cannot be found.</i> </h2></span>



                <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">



                <b> Description: </b>HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. &nbsp;Please review the following URL and make sure that it is spelled correctly.

                <br><br>



                <b> Requested URL: </b>/Telerik.RadUploadProgressHandler.ashx<br><br>



        </body>

    </html>





    ../Telerik.RadUploadProgressHandler.ashx?RadUrid=4ccf6f2b-5268-462d-abc0-d5fc9c3dcd15



    Did you register the RadUploadProgressHandler in web.config?



    Please, see the help for more details: RadUpload for ASP.NET Ajax - Configuration - RadUploadProgressHandler.



  2. Vesko
    Vesko avatar
    122 posts
    Member since:
    Mar 2009

    Posted 05 Nov 2009 Link to this post

    What is the version of IIS on the hosting environment?

    You showed that you have registered the handler for IIS7, but what about IIS6?
    Check this Configuration article and also make sure that the progress area needs Full Trust to operate. Usually, the shared hosting providers allow Medium Trust.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. mww
    mww avatar
    257 posts
    Member since:
    Sep 2012

    Posted 05 Nov 2009 Link to this post

    the hosted environment uses IIS 7.  In my web.config I also have a separate handler area for earlier versions of IIS

    <httpHandlers>
                <remove path="*.asmx" verb="*"/>
                <add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
                <add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
                <add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
                <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" verb="*" validate="false"/>
                <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI" verb="*" validate="false"/>
                <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" verb="*" validate="false"/>
                <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" verb="*" validate="false"/>
            </httpHandlers>
            <httpModules>
                <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>
            </httpModules>
  5. Vesko
    Vesko avatar
    122 posts
    Member since:
    Mar 2009

    Posted 06 Nov 2009 Link to this post

    These settings are not taken into account in IIS7. What about the trust permissions?
Back to Top