Alert displaying error when submitting

Thread is closed for posting
12 posts, 0 answers
  1. Dreamscape
    Dreamscape avatar
    6 posts
    Member since:
    Jun 2007

    Posted 10 Mar 2011 Link to this post

    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
  2. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 15 Mar 2011 Link to this post

    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!
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Dreamscape
    Dreamscape avatar
    6 posts
    Member since:
    Jun 2007

    Posted 21 Mar 2011 Link to this post

    Thanks for your reply. I've clicked on the control, but I only get the following options (see attached)

    Please advise
  5. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 23 Mar 2011 Link to this post

    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
  6. Nishat Mazhar
    Nishat Mazhar avatar
    11 posts
    Member since:
    Feb 2010

    Posted 24 Mar 2011 Link to this post

    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) 

  7. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 28 Mar 2011 Link to this post

    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
  8. Dreamscape
    Dreamscape avatar
    6 posts
    Member since:
    Jun 2007

    Posted 30 Mar 2011 Link to this post

    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.
  9. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 31 Mar 2011 Link to this post

    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
  10. Dreamscape
    Dreamscape avatar
    6 posts
    Member since:
    Jun 2007

    Posted 20 May 2011 Link to this post

    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!
  11. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 25 May 2011 Link to this post

    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.

  12. SF
    SF avatar
    1 posts
    Member since:
    Mar 2016

    Posted 09 Mar Link to this post

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

  13. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 14 Mar Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017