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>
6 Answers, 1 is accepted
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.
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.
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
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!
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.
==========================
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.