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

RadProgress Area doesn't show

18 Answers 374 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Tgaud
Top achievements
Rank 1
Tgaud asked on 01 Jul 2009, 02:55 PM
Hi.


My RadProgressArea doesn't show.
I have my Radupload Working fine but when i click on the "upload" button, it's just doing a postback.

I work on localhost with a file of 50mb.
The file is updated without problem, but no Progress Bar visible.

18 Answers, 1 is accepted

Sort by
0
Jonathan Levy
Top achievements
Rank 1
answered on 08 Jul 2009, 12:24 PM
Hi

Did you manage to figure this out? I have exactly the same problem whether I run it on localhost or on a server.
0
Tgaud
Top achievements
Rank 1
answered on 08 Jul 2009, 01:07 PM
No i dont know why there is this problem.

I've read that it was a common problem on firefox, so i tested on Internet explorer, i still have the problem.

0
Genady Sergeev
Telerik team
answered on 09 Jul 2009, 07:35 AM
Hi Tgaud,

Have you registered the progress area handlers in the web config? More information on how to do it is available here. Indeed there is a problem with Q1 2009 under FireFox 3.5, but it should work as expected in IE. For Q2 2009 we have fixed the FF bug as well.
More possible reasons for the progress area not appearing can be found here.

All the best,
Genady Sergeev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Tgaud
Top achievements
Rank 1
answered on 09 Jul 2009, 08:09 AM
Yep, in my web.config, here's some lines :

     ....
   <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
      <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
    </httpHandlers>
    <httpModules>
      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />
    </httpModules>

.....

   <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
      <add name="Telerik_RadUploadProgressHandler_ashx" verb="*" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" />
    </handlers>
  </system.webServer>



I test in localhost with an upload of 32 Mega with IE.
And the RadUpload is working fine (so all the pre-required things for both of Upload/ Progress are fine)





0
Genady Sergeev
Telerik team
answered on 09 Jul 2009, 03:04 PM
Hi Tgaud,

Is there something special concerning the application that you are testing? Is there trace enabled or URL rewriting? All there lead to the progress area not showing. Are there any javascript errors on the page? Can you send me a sample of your code that I can test locally? Attached to this replay you can find very simple website that demonstrates the progress area working. Can you modify it in a way that it reproduces the fault?

Best wishes,
Genady Sergeev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Don
Top achievements
Rank 1
answered on 09 Jul 2009, 08:20 PM
I am having the same problem.  I tried with your test sample "progressareasample.zip",  but the progress area does not display.

I am running VS2008, Framework 3.5, IIS 5.1, IE8.  Any other ideas on what is causing the problem?
0
Genady Sergeev
Telerik team
answered on 10 Jul 2009, 08:14 AM
Hello Don,

I am unable to reproduce the problem, the progress area should work as expected with IE8. Please open a support ticket and attach a sample that does not work on your side. This will allow us to investigate the issue.

Greetings,
Genady Sergeev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Tgaud
Top achievements
Rank 1
answered on 10 Jul 2009, 10:16 AM
Hi,

The project you gave me is working fine.
I've tested to replace the webconfig in YOUR project and i putted mine.
It's not working anymore, so the problem is in the webconfig.

I tested with a test.bmp file of 50mo

here's my webconfig  :

<?xml version="1.0"?>
<configuration>
  <configSections>
    <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
      <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
        <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
        <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
          <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
          <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
          <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
          <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
        </sectionGroup>
      </sectionGroup>
    </sectionGroup>
  </configSections>
  <appSettings>
 
  </appSettings>
  <connectionStrings>
 
  </connectionStrings>
  <system.web>
 
    <compilation debug="true">
      <assemblies>
        <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
        <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
        <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
        <add assembly="Telerik.Web.Design, Version=2009.2.701.35, Culture=neutral, PublicKeyToken=121FAE78165BA3D4"/>
        <add assembly="Telerik.Web.UI, Version=2009.2.701.35, Culture=neutral, PublicKeyToken=121FAE78165BA3D4"/>
      </assemblies>
    </compilation>

    <authentication mode="Windows">
    </authentication>
   
    <authorization>
      <allow users="*"/>
 
    </authorization>
  
    <customErrors mode="Off" defaultRedirect="GenericErrorPage.htm">
      <error statusCode="403" redirect="NoAccess.htm"/>
      <error statusCode="404" redirect="FileNotFound.htm"/>
    </customErrors>
    <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="30000"/>
    <pages>
      <controls>
        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      </controls>
    </pages>
    <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" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
      <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false"/>
    </httpHandlers>
    <httpModules>
      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/>
    </httpModules>
    <httpRuntime maxRequestLength="102400" executionTimeout="3600"/>
    <identity impersonate="true"/>
  </system.web>
  <system.codedom>
    <compilers>
      <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
        <providerOption name="CompilerVersion" value="v3.5"/>
        <providerOption name="WarnAsError" value="false"/>
      </compiler>
      <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
        <providerOption name="CompilerVersion" value="v3.5"/>
        <providerOption name="OptionInfer" value="true"/>
        <providerOption name="WarnAsError" value="false"/>
      </compiler>
    </compilers>
  </system.codedom>
 
  <system.webServer>
    <security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="1024000000"/>
      </requestFiltering>
    </security>
    <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="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"/>
      <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource"/>
      <add name="Telerik_RadUploadProgressHandler_ashx" verb="*" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler"/>
    </handlers>
  </system.webServer>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
</configuration>
0
Tgaud
Top achievements
Rank 1
answered on 10 Jul 2009, 01:12 PM
Sorry i just retested your project, it doesnt work.


From the beggining what i did :

Extract the zip file,
open the project in a new solution website asp.net in vs 2008 framework 3.5

It doesnt compil, dont recognize the teleriks things.
so i right click on projet, and add reference Telerik.Web.UI.dll

Compilation ok
Execution of the application
Upload of test.bmp a file of 51.5mo
I click on the button

I have a postback, but no RADprogress Area bar.

Internet explorer 6.0 used with visual studio webserver for this test

When i open the default2.aspx file, teleriks item aren't recognized, but the compil is ok, and i see the radupload component.
(anyway files aren't uploaded cuz, there isnt no link with "myuploads" folder in code.)

I tested to replace Scriptmanager with radscript manager, and to add Telerik.web.UI in the default2.aspx.cs file.

but same result.



0
Genady Sergeev
Telerik team
answered on 10 Jul 2009, 03:50 PM
Hello Tgaud,

I am starting to think that there is some kind of firewall/antivirus that is breaking the progress area on your side. Could you please verify that the online demos are working on your side? Please follow this link and upload file around 10 mb. You should see the progress area appearing. Does this happen?

Best wishes,
Genady Sergeev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Don
Top achievements
Rank 1
answered on 10 Jul 2009, 07:34 PM
I am using the sample from your previous posting.  It is not my code, but yours.  However, it does not work for me.  A support incident was created but I never heard back from anyone.  Please advise.  I am using a trial version and need support to assist in this problem.
0
Don
Top achievements
Rank 1
answered on 10 Jul 2009, 07:48 PM
I have it working now.  It seems that for smaller files, the progress area does not appear.  Uploading to my local workstation via IIS, a 10mb file is so quick, the progress area does not show.  However, when I upload a 100mb file, the progress area shows.
0
Tgaud
Top achievements
Rank 1
answered on 15 Jul 2009, 07:24 AM
Yes, the online demo are working fine on my side.
I work in localhost, so , and i dont have any firewall/antivirus.
all the others telerik component are working fine.

my webconfig seems ok to you?
what do you need?
0
Genady Sergeev
Telerik team
answered on 15 Jul 2009, 11:42 AM
Hello Tgaud,

Since I have sent you a tested sample that works fine on 2 machines but not on your's I am a little bit confused. I want to make sure that there is nothing on your side that is breaking the progress area. There is an easy way to check this. When the Telerik RadControls are installed on a given pc, a local version of the demos is installed as well. Could you please verify, that the local version of the demos is working on your side? If you could test the Upload/TargetFolder demo with a large file.

Sincerely yours,
Genady Sergeev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Tgaud
Top achievements
Rank 1
answered on 15 Jul 2009, 12:42 PM
No, i executed the live démo and its not working in local.

First time i tested there was a kind of big progress bar with numbers and  a image but not working properly.
And then, when i tried another time, dont know why, but there were no progress bar, just a "more or less" long postback.
I didnt changed anything between tests.

But from what i see, there is no ajax, there the page is entirely refresh when i click "submit".



0
FAR
Top achievements
Rank 1
answered on 01 Sep 2009, 05:06 PM
Well (it's tgaud with another account).

I tested on another webproject, and i still have the problem.

I've noticed something :

When i put a breakpoint, on the line "fileUpload.UploadedFiles[0].SaveAs(name);"
I can see in my Firefox window that the RadProgressArea is shown with 40%.

But if i continue, it just finish the postback.

More generally, when my application is freezing for any reason (for example a breakpoint inside)
I can see the RadProgressArea (with for example 23% of the progress bar).
but there is no more "visible progressing" behaviour than that.

And if my application isnt freezing, i just have a postback (wich can last 15-20sec to upload the 50mg file), but without any progressBar shown.

So, lets reduce the perimeter of the issue :

If , in some case, (application freeze) i can see the RadProgressArea Shown, what could be the thing i need to check. ?
The possibles things which make it fail?

I'm using the Visual studio basic dev webserver, so it's not a IIS issue.
 

0
Atanas Korchev
Telerik team
answered on 02 Sep 2009, 01:30 PM
Hi FAR,

Can you reproduce this problem without debugging? When a breakpoint is being hit the whole ASP.NET process is being frozen and the progress area will not work. As a result we do not support progress monitoring when a breakpoint is hit.

Regards,
Albert,
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.
0
Tgaud
Top achievements
Rank 1
answered on 02 Sep 2009, 01:33 PM
Without debugging, progressArea doesn't appear, even for a sec.
it only appear when the process is freezed
Tags
Upload (Obsolete)
Asked by
Tgaud
Top achievements
Rank 1
Answers by
Jonathan Levy
Top achievements
Rank 1
Tgaud
Top achievements
Rank 1
Genady Sergeev
Telerik team
Don
Top achievements
Rank 1
FAR
Top achievements
Rank 1
Atanas Korchev
Telerik team
Share this question
or