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

ProgressBar showing the wrong file after a few minutes

3 Answers 79 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Samwise
Top achievements
Rank 1
Samwise asked on 25 Feb 2009, 12:44 PM

Hello,

I am experiencing a weird bug right now with the RadUpload + RadProgressManager controls (.Net35 Q3 2008).

When I try to upload large files (50 Mb+), the file name displayed in the progressbar changes after a few minutes.
Apparently, it's some file uploaded by another user that is displayed.
But the upload process still manages to finish completely.
For info, my site is using the default session state and a form authentication.

Anyone has any idea of what's wrong in my web application?

Here is the declaration code of the upload controls:

                <telerik:RadUpload ID="RadUpload1" runat="server" ControlObjectsVisibility="RemoveButtons, AddButton" 
                    InitialFileInputsCount="1" InputSize="30" Skin="Vista" Width="840px" OnClientAdded="addDescription">  
                    <Localization Add="Select another file" Select="Browse..." /> 
                </telerik:RadUpload> 
 

                <telerik:RadProgressManager ID="RadProgressManager1" runat="server" 
                    EnableEmbeddedBaseStylesheet="False" EnableEmbeddedSkins="False" 
                    UniquePageIdentifier="349f6d15-ebfd-4ddc-8e99-e123a51d8646" />
 
                <telerik:RadProgressArea ID="RadProgressArea1" runat="server" DisplayCancelButton="True" 
                    Skin="Vista" Width="640px">  
                    <Localization Uploaded="Uploaded"></Localization> 
                </telerik:RadProgressArea> 
 

And an extract of my web.config:
  <system.web> 
    <sessionState timeout="1440" /> 
    <trust level="Full" /> 
    <webServices> 
      <protocols> 
        <add name="HttpPost" /> 
        <add name="HttpGet" /> 
      </protocols> 
    </webServices> 
    <httpRuntime executionTimeout="86399" maxRequestLength="2097150" /> 
    <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> 
<compilation defaultLanguage="c#" debug="false" tempDirectory="F:\TempFileFolder">  
      <assemblies> 
        <add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
        <add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
        <add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
        <add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> 
        <add assembly="System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> 
        <add assembly="System.DirectoryServices.Protocols, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> 
        <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> 
        <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.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
        <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
      </assemblies> 
    </compilation> 
    <authentication mode="Windows" /> 
   <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.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" /> 
    </httpHandlers> 
    <pages maintainScrollPositionOnPostBack="true">  
      <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> 
  </system.web> 
  <location path="UploadFile.aspx">  
    <system.web> 
      <httpRuntime maxRequestLength="2097151" executionTimeout="86399" /> 
    </system.web> 
  </location> 
  <location path="Telerik.RadUploadProgressHandler.aspx">  
    <system.web> 
      <authorization> 
        <allow users="*" /> 
      </authorization> 
    </system.web> 
  </location> 


Thanks,
Sam

3 Answers, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 25 Feb 2009, 04:51 PM
Hello Samwise,

I have tried to replicate the issue using your webconfig file and everything was correct. Then I tried to set session time out to a very short interval - again everything was correct. Are there any uncommon configurations applied on the webserver/your project? If possible, please sent us a sample project replicating your scenario thus we can  investigate the problem.

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
Samwise
Top achievements
Rank 1
answered on 25 Feb 2009, 04:52 PM
I think I have found what was wrong. The UniquePageIdentifier property was set for no reason on the RadProgressManager control..

                    <telerik:RadProgressManager ID="RadProgressManager1" runat="server"   
                    EnableEmbeddedBaseStylesheet="False" EnableEmbeddedSkins="False"   
                    UniquePageIdentifier="349f6d15-ebfd-4ddc-8e99-e123a51d8646" />   
 

I could not reproduce the bug when I removed it.:

                    <telerik:RadProgressManager ID="RadProgressManager1" runat="server" />   
 

Thanks,
Sam
0
Accepted
Genady Sergeev
Telerik team
answered on 26 Feb 2009, 09:29 AM
Hi Samwise,

The obscure appearance of the unique identifier is due to a bug when using smart tag to register the RadUploadProgressHandler and the RadUploadHttpModule in the web config. We are going to fix this bug in the near future.

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