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

Upload error

3 Answers 170 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
chris
Top achievements
Rank 1
chris asked on 23 Sep 2008, 09:12 PM
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)

3 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 24 Sep 2008, 07:54 AM
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.
0
Nishat Mazhar
Top achievements
Rank 1
answered on 24 Mar 2011, 11:58 PM
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) 

0
Peter Filipov
Telerik team
answered on 29 Mar 2011, 09:18 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:".

Greetings,
Peter Filipov
the Telerik team
Tags
Upload (Obsolete)
Asked by
chris
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Nishat Mazhar
Top achievements
Rank 1
Peter Filipov
Telerik team
Share this question
or