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

Alert displaying error when submitting

11 Answers 243 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Dreamscape
Top achievements
Rank 1
Dreamscape asked on 10 Mar 2011, 01:01 PM
When the Upload control is submitted on our website, the following alert popup message appears. Why is this, and how can I prevent it from happening so that the Upload control works as it should?

Thanks
Curtis

--------------

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>



            <hr width=100% size=1 color=silver>



            <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4955



            </font>



    </body>

</html>

<!--

[HttpException]: The file '/Telerik.RadUploadProgressHandler.ashx' does not exist.

   at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)

   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)

   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)

   at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)

   at System.Web.UI.SimpleHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)

   at System.Web.UI.SimpleHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)

   at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

--><!--

This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using &lt;customErrors mode="Off"/&gt;. Consider using &lt;customErrors mode="On"/&gt; or &lt;customErrors mode="RemoteOnly"/&gt; in production environments.-->



../../../Telerik.RadUploadProgressHandler.ashx?RadUrid=de1f69fb-afd7-4a8f-98d8-fc492fe42d8d

11 Answers, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 15 Mar 2011, 05:12 PM
Hi JimB,

Please make sure that you have the Telerik.RadUploadProgressHandler. ashx registered in the web.config. In order to do that, please click on design view for the page that contains RadProgressManager, click on the manager's smart tag and select register RadUploadProgressHandler.
 
Regards,
Genady Sergeev
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Dreamscape
Top achievements
Rank 1
answered on 21 Mar 2011, 10:35 AM
Thanks for your reply. I've clicked on the control, but I only get the following options (see attached)

Please advise
0
Peter Filipov
Telerik team
answered on 23 Mar 2011, 05:59 PM
Hi JimB,

This issue happens because you are using right-button click on the control. Please use left-button click on the control's smart tag. I am sending you a screenshot as attachment how would it look like. For additional information please consult with this helpful article.

Regards,
Peter Filipov
the Telerik team
0
Nishat Mazhar
Top achievements
Rank 1
answered on 24 Mar 2011, 11:47 PM
I am also getting this error, but could not resolve it. I moved from ASP.NET 2.0 to 4.0 on IIS7.0.
Here is complete error message

Global Handler: System.Web

Page: /Claims/Telerik.RadUploadProgressHandler.ashx

The file '/Claims/Telerik.RadUploadProgressHandler.ashx' does not exist.

at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)
at System.Web.UI.SimpleHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 

0
Peter Filipov
Telerik team
answered on 28 Mar 2011, 11:28 AM
Hello Nishat Mazhar,

To resolve this issue you need to turn off the "verify file exists" setting on the handler mapping in IIS7. In the UI, do this by double clicking on a handler, click on "request restrictions" and uncheck "invoke handler only if request is mapped to:".

Regards,
Peter Filipov
the Telerik team
0
Dreamscape
Top achievements
Rank 1
answered on 30 Mar 2011, 01:08 PM
Thanks for your reply. I gave that a try, however I don't get the options which you print-screened. Attached is what I get.
0
Peter Filipov
Telerik team
answered on 31 Mar 2011, 04:15 PM
Hello JimB,

You need to add the RadProgressManager to your .aspx file.
After that, register the Telerk.Web.UI.RadProgressManagerHandler.ashx and RadUploadModule(with left button click on the smart tag(screenshot).

The reason why you got that error(described into your first post and the Nishat Mazhar's post) is because you don't have registered Telerk.Web.UI.RadProgressManagerHandler.ashx .
After the registration they should appear into your web.config file.
For more information see this help article.

Kind regards,
Peter Filipov
the Telerik team
0
Dreamscape
Top achievements
Rank 1
answered on 20 May 2011, 03:45 PM
I've worked out why I couldn't register the handler and the module, and thats now been done. Cheers.

The error no longer appears, but the progress area doesn't appear! It just takes ages to process (like a normal FileUpload would do with such a large file).

Any ideas?

Thanks!
0
Peter Filipov
Telerik team
answered on 25 May 2011, 09:51 AM
Hello JimB,

Please consult with the following help article how to configure your RadProgressArea. If you find difficulties, please open a support ticket and send us your project for a local investigation.

Kind regards,
Peter Filipov
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
SF
Top achievements
Rank 1
answered on 09 Mar 2016, 01:26 PM

Hello,

I have migrated my server from 2003 to 2012 implying IIS has been changed from IIS V6 to IIS V8.

Now I see get below message when trying to upload a file. Any help is greatly appreciated.

 

"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;}…" 

0
Hristo Valyavicharski
Telerik team
answered on 14 Mar 2016, 11:12 AM
Hi,

Please make sure that the RadUploadProgressHandler is registered in the web.config file:
<httpHandlers>
  <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
  <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
  <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
  <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
  <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
</httpHandlers>


Regards,
Hristo Valyavicharski
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Upload (Obsolete)
Asked by
Dreamscape
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Dreamscape
Top achievements
Rank 1
Peter Filipov
Telerik team
Nishat Mazhar
Top achievements
Rank 1
SF
Top achievements
Rank 1
Hristo Valyavicharski
Telerik team
Share this question
or