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

RadUpload Ajax CallBack

2 Answers 96 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
PROST
Top achievements
Rank 1
PROST asked on 29 Oct 2009, 04:04 PM
Hello, i got a problem make Upload module work.

"RadUpload Ajax Callback Error: source url was not found"

i followed that link to put what's normally needed in web.config by RadUploadProgress but still no changes :

http://www.telerik.com/help/aspnet-ajax/upload-configuration.html

Here's my web.config system.webServer section (using local Visual Studio webserver, which must be IIS7)





<system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <modules>
      <remove name="ScriptModule" />
      <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <!-- *******  Register the RadUploadModule for IIS 7  ****** -->
      <add name="RadUploadModule" preCondition="integratedMode" type="Telerik.Web.UI.RadUploadHttpModule" />
    </modules>
    <handlers>
      <remove name="WebServiceHandlerFactory-Integrated" />
      <remove name="ScriptHandlerFactory" />
      <remove name="ScriptHandlerFactoryAppServices" />
      <remove name="ScriptResource" />
      <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.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=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <!-- *******  Register the RadUploadProgressHandler for IIS 7  ****** -->
      <add name="Telerik_RadUploadProgressHandler_ashx" verb="*" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" />
    </handlers>
  </system.webServer>

Also, cause i'm using forms, i have put a location section with this :

<location path="Telerik.RadUploadProgressHandler.ashx">
 
<system.web>
      
<authorization>
         
<allow users="*"/>
      
</authorization >
 
</system.web>
</
location>

and i changed my C:\Windows\System32\inetsrv\config\applicationHost.config by switching to allow that line :

<section name="requestFiltering" overrideModeDefault="Allow" />

still getting error, Thanks for help


2 Answers, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 30 Oct 2009, 09:30 PM
When are you getting the error and what is the code for your RadUpload?
0
Genady Sergeev
Telerik team
answered on 02 Nov 2009, 09:10 AM
Hello PROST,

The integrated VisualStudio 2008 web server has nothing to do with IIS7 and it does not read the IIS7 specific sections from the web.config. Please, make sure that you have the following lines in your system.web tag of your web.config:

<httpHandlers>
      <remove verb="*" path="*.asmx"/>
             
      <add path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI"   validate="false" />
        </httpHandlers>
        <httpModules>
             
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" />
        </httpModules>



Best wishes,
Genady Sergeev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Upload (Obsolete)
Asked by
PROST
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Genady Sergeev
Telerik team
Share this question
or