RadUpload Ajax Callback error. Source url was not found

Thread is closed for posting
7 posts, 0 answers
  1. Vincent Micale
    Vincent Micale avatar
    2 posts
    Member since:
    May 2007

    Posted 09 Jun 2010 Link to this post

    We are moving our .NET application to a new Windows 2008 server. When we move the code, we get this error:

    RadUpload Ajax Callback error. Source url was not found

    /Telerik.RadUploadProgressHandler.aspx?RadUrid=b157....

    I searched your knowledgebase and have confirmed that our web.config does have these entries:

    <appSettings>
     <add key="Telerik.RadUpload.ChunkSize" value="5000" />
     </appSettings>
    <system.web>
        <httpHandlers>
          <remove verb="*" path="*.asmx"/>
    <add verb="*" path="Telerik.RadUploadProgressHandler.aspx"
            type="Telerik.WebControls.RadUploadProgressHandler, RadUpload.Net2" />
          <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
          <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
          <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
           </httpHandlers>

        <httpModules>
          <add name="RadUploadModule" type="Telerik.WebControls.RadUploadHttpModule, RadUpload.Net2"/>
          <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
        </httpModules>
    </appSettings>

  2. Dimitar Milushev
    Admin
    Dimitar Milushev avatar
    555 posts

    Posted 10 Jun 2010 Link to this post

    Hello Vincent,

    In IIS7 HttpHandlers are registered in a different way in the web.config. Please refer to this help article.

    Kind regards,
    Dimitar Milushev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Vincent Micale
    Vincent Micale avatar
    2 posts
    Member since:
    May 2007

    Posted 18 Jun 2010 Link to this post

    Thank you Dimitar. I did see that article and changing the web.config has not worked. Here is the error when we try to upload:

    RadUpload Ajax callback error. Source url was not found:

    /Telerik.RadUploadProgressHandler.aspx?RadUrid=b157....

    Here is what we have in the web.config:

    <system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>
        <modules>
          <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <add name="RadUploadModule" preCondition="integratedMode" type="Telerik.Web.UI.RadUploadHttpModule" />
        </modules>
        <handlers>
          <remove name="WebServiceHandlerFactory-Integrated"/>
          <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
          <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
          <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
        <add name="CrystalImageHandler.aspx_GET" verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode"/>
    <add name="Telerik_RadUploadProgressHandler_ashx" verb="*" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" />
     </handlers>
      </system.webServer>

    We are using the RadUpload.net2.dll so we tried changing type from Telerik.Web.UI.RadUploadProgressHandler to Telerik.Web.UI.RadUploadProgressHandler,RadUpload.Net2 but that didn't work either.

    Our application pool is running in classic mode.
  5. Dimitar Milushev
    Admin
    Dimitar Milushev avatar
    555 posts

    Posted 23 Jun 2010 Link to this post

    Hello Vincent,

    I am sorry, I didn't realize that you were using the "Classic" RadUpload for ASP.NET while the article I linked is for the newer RadControls for ASP.NET AJAX.

    The proper type in your case is type="Telerik.WebControls.RadUploadProgressHandler, RadUpload.Net2" for the handler and type="Telerik.WebControls.RadUploadHttpModule, RadUpload.Net2" for the module.

    Regards,
    Dimitar Milushev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Anita
    Anita avatar
    5 posts
    Member since:
    May 2011

    Posted 12 May 2011 Link to this post

    Hello. We are experiencing a similar issue. We have a third party application which uses RadUpload and which we are trying to run on an IIS 7 site in integrated mode. We have verified that the component is registered (by following steps at this URL http://www.telerik.com/support/kb/aspnet-ajax/upload/906-ajax-callback-error.aspx). We have also verified that we have the proper tags in the <system.webServer> section (see below). However we get the attached error message when attempting to upload.

    The <system.webServer> tag is surrounded by a <location path="." inheritInChildApplications="false"> tag. This is to prevent a sub-virtual directory from inheriting modules and handlers noted in system.webServer. Has anyone else reported an issue with this configuration and if so, do you have any work arounds? Thanks!
  7. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 18 May 2011 Link to this post

    Hi Anita,

    Have you tried Dimitar's approach to resolve the issue? Which version of the controls are you using?
    To avoid inconsistency of the thread please open a new support ticket regarding your issue.

    Best wishes,
    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.

  8. Anita
    Anita avatar
    5 posts
    Member since:
    May 2011

    Posted 18 May 2011 Link to this post

    THIS IS RESOLVED
    ==========================
    Yes, we had registered the control properly in the web.config. The issue was the fact that we surrounded the <system.webServer> tag with a <location path="." inheritInChildApplications="false"> tag. We had to do this to avoid isues with a virtual sub-directory beneath our root application.

    To resolve, I registered the handler via another location tag that pointed to the path the application (SumTotal) expected to find RadUpload. The code is below.

    <location path="app/experience/upload/Telerik.RadUploadProgressHandler.ashx">

        <system.webServer>

          <handlers>

          <add name="Telerik.RadUploadProgressHandler.ashx_*" path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI" preCondition="integratedMode,runtimeVersionv2.0" />

          </handlers>

        </system.webServer>

      </location>

    Thanks for taking the time to reply.

    Anita K.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017