Upload error

Thread is closed for posting
4 posts, 0 answers
  1. chris
    chris avatar
    25 posts
    Member since:
    Aug 2008

    Posted 23 Sep 2008 Link to this post

    I get the following error but i can not seem to find anybody else who has on the forum. Thanks

    adUpload 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 '/newcart' 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>/newcart/Admin/Telerik.RadUploadProgressHandler.ashx<br><br>



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



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



                </font>



        </body>

    </html>

    <!--

    [HttpException]: The file '/newcart/Admin/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.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)

  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 24 Sep 2008 Link to this post

    Hi chris,

    You have most probably forgotten to register the HTTP handler. Please check this help article for additional info.

    Regards,
    Albert
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Nishat Mazhar
    Nishat Mazhar avatar
    11 posts
    Member since:
    Feb 2010

    Posted 24 Mar 2011 Link to this post

    Hey,
    I am also getting the same error. I made all the web.config configurations as mentioned in the article. I have Telerik Ajax version of 2008_2_1001. Here is the 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) 

  5. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 29 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:".

    Greetings,
    Peter Filipov
    the Telerik team
Back to Top