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

RadUpload configuration error

8 Answers 84 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Sameers
Top achievements
Rank 1
Sameers asked on 05 Jul 2010, 02:05 PM
This is weird, I was reported this error for my application from some peoples, and I thought I must have did something wrong (though it not always appear). But today, while posting a thread on telerik website, I got this message. Please see attached.

Is there something we are missing?

Sameers

8 Answers, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 05 Jul 2010, 03:50 PM
Hello Sameers,

This a connection has timeout error. It usually happens when the file that you upload didn't finished uploading  within the limit determined by the executionTimeout of the httpRuntime configuration section. The solution is to set larger value to that property so that people with slower internet connections can upload large files too. More information regarding the httpRuntime element can be found here.

Sincerely yours,
Genady Sergeev
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
0
Sameers
Top achievements
Rank 1
answered on 05 Jul 2010, 03:59 PM
This is werid! since in my cases, this message appears immediately when user clicks the button. Everything after that goes normal, just progress dont show up.

Any other reason?

Sameers
0
Genady Sergeev
Telerik team
answered on 05 Jul 2010, 04:01 PM
Hi Sameers,

Is the error that your clients receive the same as the one you have received while uploading to the forums? I mean with the same error code - 12031?


Greetings,
Genady Sergeev
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
0
Sameers
Top achievements
Rank 1
answered on 05 Jul 2010, 04:03 PM
I do not recall the error number, I will have to check that, but the message is almost same.

You are right but, the error number is important. I will check that and get back here.

thank you
Sameers
0
Sameers
Top achievements
Rank 1
answered on 05 Jul 2010, 04:16 PM
Ok, attached is the snapshot from the server.

Message says: Source URL not found.

0
Genady Sergeev
Telerik team
answered on 06 Jul 2010, 09:05 AM
Hi Sameers,

This error is served when there is no correctly registered RadUploadHttpHandler in the web.config of you app. Please, check if you have the Telerik.RadUploadProgressHandler.ashx registered in the configuration file. Please note, that the IIS7 Integrated Mode registration should be added to the <system.webServer> section.

Sincerely yours,
Genady Sergeev
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
0
Sameers
Top achievements
Rank 1
answered on 08 Jul 2010, 02:39 PM
Does it matter if I have web.config entries for both IIS6 and 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" />
      <add name="WebPageSecurity" type="Ventaur.Web.Security.SecureWebPageModule, WebPageSecurity" preCondition="managedHandler" />
  
      <!-- *******  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" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />
      <add name="Telerik.Web.UI.WebResource"  path="Telerik.Web.UI.WebResource.axd" verb="*"    type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2009.3.1314.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />
  
      <!-- *******  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>

and I also have (under System.web)

<httpHandlers>
      <remove verb="*" path="*.asmx" />
      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
      <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
      <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
    </httpHandlers>

I need to keep both since our web application have multiple installation and some of them are under IIS7 and other on IIS6

I also wonder, on the same server, on some other pages it works fine, but one or two pages have issue. Wonder again all pages work on other server (all servers contain same code compilation/build).

thanks,
Sameers
0
Genady Sergeev
Telerik team
answered on 14 Jul 2010, 12:03 PM
Hello Sameers,

There is no problem to have both declarations, in fact, it is the preferred way of configuring the progress area. From what you have pasted I'cant see anything wrong with your project, everything looks correct. Is the issue still reproduced? Can you attach here the pages that file with all relevant markup and code-behind?

Greetings,
Genady Sergeev
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
Tags
Upload (Obsolete)
Asked by
Sameers
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Sameers
Top achievements
Rank 1
Share this question
or