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

RadUpload Ajax Callback - Location Tag

1 Answer 34 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Anita
Top achievements
Rank 1
Anita asked on 13 May 2011, 06:44 PM
Hello. 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!

  <location path="." inheritInChildApplications="false">
  <system.webServer>
    <modules>
      ...
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" preCondition="integratedMode,runtimeVersionv2.0" />
      ...
    </modules>
    <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>

1 Answer, 1 is accepted

Sort by
0
Anita
Top achievements
Rank 1
answered on 18 May 2011, 01:41 PM
THIS IS RESOLVED
==========================
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>

Anita K.
Tags
Upload (Obsolete)
Asked by
Anita
Top achievements
Rank 1
Answers by
Anita
Top achievements
Rank 1
Share this question
or