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

RadUploadProgressHandler popup alert

3 Answers 229 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Christopher Black
Top achievements
Rank 1
Christopher Black asked on 21 Apr 2008, 07:46 PM
I keep getting the following error to popup whenever I display a user control I created that contains a RadUpload, RadProgressArea, and RadProgressManager control on the control (RadUpload Ajax callback error. Source url  returned error:12029  Unknown  Telerik.RadUploadProgressHandler.ashx?RadUrid...).  The upload and progress areas work properly but I still keep getting an alert with the error, no matter whether I upload a file or not.

The RadUploadProgressHandler and RadUploadModule are registered in the web.config

User control

<telerik:RadUpload ID="UploadControl" runat="server" ControlObjectsVisibility="Default" Skin="WebBlue" />
<telerik:RadProgressManager ID="RadprogressManager1" runat="server" />
<telerik:RadProgressArea ID="RadProgressArea1" runat="server" class="module">
<ProgressTemplate>
<div class="header">
<span class="contentsmallbold">File Name:</span>&nbsp;<span runat="server" id="CurrentOperation" class="contentsmallbold"></span><br />
<span class="contentsmallbold">Progress:</span>&nbsp;<span runat="server" id="PrimaryValue" class="contentsmallbold"></span>&nbsp;<span class="contentsmallbold">(</span><span runat="server" id="PrimaryPercent" class="contentsmallbold"></span>&nbsp;<span class="contentsmallbold">%)</span>
<span class="contentsmallbold">Elapsed:</span>&nbsp;<span runat="server" id="TimeElapsed" class="contentsmallbold"></span>&nbsp;<span class="contentsmallbold">Remaining:</span><span runat="server" id="TimeEstimated" class="contentsmallbold"></span><br />
<span class="contentsmallbold">Transfer Speed: </span> <span runat="server" id="Speed" class="contentsmallbold"></span>
</div>
</ProgressTemplate>
</telerik:RadProgressArea>

Web.config

<

httpHandlers>
<

add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI"/>
</httpHandlers>

<
httpModules>
<add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>
</
httpModules>


Any ideas on why I still see the message.

Thanks.

3 Answers, 1 is accepted

Sort by
0
Accepted
Sophy
Telerik team
answered on 22 Apr 2008, 10:31 AM
Hi Christopher,

Thank you for contacting us.

I suggest you take a look at the Ajax Callback Error KB article about RadUpload "Prometheus" which lists the most often reasons for experiencing the error and their resolutions. Please, check whether any of the pointed reasons fits your case. I recommend paying special attention to point 7. Note that in the suggested in point 7 help article the RadProgressHandler should be anywhere with ashx extension.

In case you are not able to resolve the problem using the suggested KB article, send us a simple running application (including the Web.config file) which reproduces the problem so that we can take a closer look at your scenario. As soon as we receive it, we will review it, test it locally and do our best to help you.

Best wishes,
Sophy
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Christopher Black
Top achievements
Rank 1
answered on 22 Apr 2008, 01:06 PM
Thanks for the information.  As it turns out I only get the error when debugging the website in Visual Studio 2008 or when running the website via WebDev.WebServer.exe.  If I access the website via IIS, the error alert popup doesn't display. 
0
Sophy
Telerik team
answered on 22 Apr 2008, 03:41 PM
Hello Christopher,

Judging from your description (that you experience the problem in when debugging the website in Visual Studio 2008 or when running the website via WebDev.WebServer.exe) and from the 12029 error code of the exception(which means no connection) I suppose that the problem you experience is due to the debugging process. When the debugger stops at a breakpoint the webserver process is paused and as a result the browser does not receive any responses. In this way the browser sends requests to the RadUploadProgressHandler at regular intervals but it does not receive responses for long time and an error occurs.

Best wishes,
Sophy
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Upload (Obsolete)
Asked by
Christopher Black
Top achievements
Rank 1
Answers by
Sophy
Telerik team
Christopher Black
Top achievements
Rank 1
Share this question
or