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

progress handler error

3 Answers 151 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
mww
Top achievements
Rank 1
mww asked on 02 Nov 2009, 01:57 PM
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.



3 Answers, 1 is accepted

Sort by
0
Vesko
Top achievements
Rank 2
answered on 05 Nov 2009, 08:03 AM
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.
0
mww
Top achievements
Rank 1
answered on 05 Nov 2009, 11:01 AM
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>
0
Vesko
Top achievements
Rank 2
answered on 06 Nov 2009, 03:56 PM
These settings are not taken into account in IIS7. What about the trust permissions?
Tags
Upload (Obsolete)
Asked by
mww
Top achievements
Rank 1
Answers by
Vesko
Top achievements
Rank 2
mww
Top achievements
Rank 1
Share this question
or