Rad Async upload is not working in Firefox and Chrome

23 posts, 0 answers
  1. prabha
    prabha avatar
    22 posts
    Member since:
    Nov 2010

    Posted 03 Mar 2011 Link to this post

    Hi,

       I am using Rad Async upload .It is working in IE7 and 8 .
    But its not working in  Fixefox and chrome .
    OS          : Windows 7 
    Browser  : Chrome and FireFox(3.6.14)

    Can u please give any solution for this.

    Thanks
    Prabha
  2. Mathai
    Mathai avatar
    3 posts
    Member since:
    Jan 2011

    Posted 14 Mar 2011 Link to this post

    We are facing similar issues with RadAsyncUpload in Chrome(10.0.648.133) and Firefox(3.6.15).
    Please advise.
    Thanks

    Benoy
  3. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1599 posts

    Posted 17 Mar 2011 Link to this post

    Hi guys,

    Could you please provide more details regarding the issue that you experience. In which aspects RadAsyncUpload does not work? Are there any JavaScript errors on the page?

    Regards,
    Genady Sergeev
    the Telerik team
  4. Mathai
    Mathai avatar
    3 posts
    Member since:
    Jan 2011

    Posted 17 Mar 2011 Link to this post

    We are trying to upload a csv file on click of a button, provided the user is having the rights.
    Case 1:  Open the application in Firefox or Chrome with Silverlight add on enabled.
                  Browse and select the csv file.  The upload indicator image turns red.  See the attached image (withsvenabled.png).

    Case 2: Perform the above operation with Silverlight add on disabled and this time the upload would be successful.  See the attached image withsldisabled.png

    We also noticed that this issue happens if Adobe Flash is enabled in Chrome and Firefox.  Not an issue in IE.

    Thanks

    Benoy
  5. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1599 posts

    Posted 18 Mar 2011 Link to this post

    Hi Mathai,

    Please add a handler for the OnClientFileUploadFailed event and alert the args.get_message() property. It should give us a clue on what is going wrong. I would appreciate if you could paste the message here.

    Kind regards,
    Genady Sergeev
    the Telerik team
  6. Mathai
    Mathai avatar
    3 posts
    Member since:
    Jan 2011

    Posted 18 Mar 2011 Link to this post

    I am getting the following message on alert. 
    FYI: We are adding all controls dynamically from server side.

    [net_uri_BadPort]
    Arguments: Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.60129.0&File=System.dll&Key=net_uri_BadPort
  7. prabha
    prabha avatar
    22 posts
    Member since:
    Nov 2010

    Posted 21 Mar 2011 Link to this post

    Any updates? Please give any solution ...
  8. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1599 posts

    Posted 22 Mar 2011 Link to this post

    Hi Mathai,

    We are not aware of such problem with RadAsyncUpload, it might be a new, unknown issue that we are not aware of. In order to troubleshoot the issue further please open a support ticket and attached there a fiddler cap log of the issue. A sample web page + web.config that reproduces the issue could be helpful too. Also, does the issue happen on Cassini (the visual studio integrated browser) or under IIS or under both?

    Kind regards,
    Genady Sergeev
    the Telerik team
  9. Len Simmons
    Len Simmons avatar
    6 posts
    Member since:
    Feb 2009

    Posted 12 Jul 2011 Link to this post

    Did you find a solution to this issue as I'm getting the same one
  10. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1599 posts

    Posted 15 Jul 2011 Link to this post

    Hello Len Simmons,

    We never succeeded in reproducing the problem on our side. If you experience the same problem I suggest that you open a support ticket and attached there a fiddler cap log of the issue and/or sample web page + web.config that reproduces the issue. This is the only way we can start investigating the problem since it seems that it is not a standard one. Also, please check whether you don't have firewalls filtering somehow the file uploads or restricting third party plugins like Silverlight or Flash from operating properly.

    Kind regards,
    Genady Sergeev
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  11. Len Simmons
    Len Simmons avatar
    6 posts
    Member since:
    Feb 2009

    Posted 15 Jul 2011 Link to this post

    Hi,

    I've resolved the issue by re-installing Silverlight in chrome. Maybe this is a versioning issue?

    Regards,

    Len
  12. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1599 posts

    Posted 20 Jul 2011 Link to this post

    Hi Len Simmons,

    I am not sure, by default RadAsyncUpload will search for Silverlight 4, older version are not applicable. Perhaps there was something wrong with the previous install.

    All the best,
    Genady Sergeev
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  13. Manesh
    Manesh avatar
    24 posts
    Member since:
    Feb 2012

    Posted 19 May 2012 Link to this post

    Hi Peter Filipov

    I'm using Telerik Rad Controls Q3 2011 SP1 full version but no change, still "multiple file selecting " and  if "file validation"  is also set but nothing working please guy's please find me solution
  14. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 23 May 2012 Link to this post

    Hi Manesh,

    Could you please open a new support thread and give me more information about your problem (e.g. what is not working as expected). Please clarify what you mean by "nothing working" ? Are there any errors on the page?

    Regards,
    Peter Filipov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  15. Jalal
    Jalal avatar
    2 posts
    Member since:
    Mar 2011

    Posted 12 Jun 2012 Link to this post

    hi, i have Similar issue too, but not found any solution for that

    my AsyncUpload worked well before i upgrade to 2012 Q1(v 2012.1.424.40) from 2011.1.413.40, 
    but when i upgrade that, it work well on IE9 but not working in chrome and Firefox .
    even i copy code example from demo to a new web form and not solved my problem too.
    when i look that html page source code of my web form, i see that on the  chrome all of <li> tags of AsyncUpload1ListContainer 
    ul  have Similar id while in IE9 not have any id. 

    if item cancel event, this error accrued: 

    1. Uncaught TypeError: Cannot read property 'progress' of undefined
      1. d.RadAsyncUpload._cancelUploadTelerik.Web.UI.WebResource.axd:1657
      2. d.RadAsyncUpload.initialize._uploadModule.bind.FileSelectedTelerik.Web.UI.WebResource.axd:1579
      3. f.event.add.h.handle.i

    Here's the my code:  

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     
    <head runat="server">
        <title></title>
    </head>
    <body class="BODY">
        <form id="form1" runat="server">
        <telerik:RadScriptManager ID="ScriptManager1" runat="server" />
        <div class="upload-panel">
            <telerik:RadProgressManager runat="server" ID="RadProgressManager1" />
            <%-- For the purpose of this demo the files are discarded.
                 In order to store the uploaded files permanently set the TargetFolder property to a valid location. --%>
            <telerik:RadAsyncUpload runat="server" ID="AsyncUpload1"
                MultipleFileSelection="Automatic" TargetFolder="~/App_Data/RadUploadTest">
            </telerik:RadAsyncUpload>
            <telerik:RadProgressArea runat="server" ID="RadProgressArea1">
            </telerik:RadProgressArea>
        </div>
        </form>
    </body>
    </html>


    Thank a lot.


  16. Jalal
    Jalal avatar
    2 posts
    Member since:
    Mar 2011

    Posted 12 Jun 2012 Link to this post

    Hi, i can resolve my problem by disabling the FileAPI function for chrome and Firefox on my application

    <!--[if !IE]>-->
          <script type="text/javascript">
                  Telerik.Web.UI.RadAsyncUpload.Modules.FileApi.isAvailable = function () { return false; };
            </script>
    <!--<![endif]-->

    and
    after that i create a new project and create a page with radAsycUpload (v2012.1) normally , is that fine and worked without any problem so I think the bug in my application settings. 

    Thanks.
     
  17. Curtis
    Curtis avatar
    25 posts
    Member since:
    Jan 2008

    Posted 12 Dec 2012 Link to this post

    Thanks for providing this code. Firefox works fine for me but Chrome doesn't work at all for me, even on Telerik's demo but your code made it work.

    On Telerik's demo, in Chrome's Javascript Console I get this error:

    Uncaught Error while uploading, HTTP Error code is: 0
    Telerik.Web.UI.WebResource.axd:11291
    http://demos.telerik.com/aspnet-ajax/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_QsfScriptManager_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a89093640-ae6b-44c3-b8ea-010c934f8924%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%3aen-US%3af18b91a4-0e6c-41d1-af11-dfb338738b79%3a16e4e7cd%3af7645509%3a86526ba7%3a874f8ea2%3aa1a4383a%3a24ee1bba%3a1e771326%3a78b9daca%3a7165f74%3af46195d3%3a2003d0b8%3ae524c98b%3a628ebdd0%3aed16cbdc%3a19620875%3a3f6e8f3f%3a68f76a79%3a52af31a4%3a2a2fc429%3ae330518b%3a8e6f0d33%3a6a6d718d%3aa7e79140

    Failed to load resource
    http://demos.telerik.com/aspnet-ajax/Telerik.Web.UI.WebResource.axd?type=rau
  18. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 14 Dec 2012 Link to this post

    Hello,

    When the upload is canceled the returned http status code is zero "0". That why the control suggest it like an exception. The fix will be available in the next internal build. Until then you could handle the OnClientFileUploadFailed event and handled the exception. E.g.
    <telerik:RadScriptManager ID="ScriptManager1" runat="server" />
    <div class="upload-panel">
        <telerik:RadProgressManager runat="server" ID="RadProgressManager1" />
        <%-- For the purpose of this demo the files are discarded.
             In order to store the uploaded files permanently set the TargetFolder property to a valid location. --%>
        <telerik:RadAsyncUpload runat="server" ID="AsyncUpload1" OnClientFileUploadFailed="OnClientFileUploadFailed"
            MultipleFileSelection="Automatic" >
        </telerik:RadAsyncUpload>
        <telerik:RadProgressArea runat="server" ID="RadProgressArea1">
        </telerik:RadProgressArea>
    </div>
     
             
    <script type="text/javascript">
        function OnClientFileUploadFailed(sender, args) {
            args.set_handled(true);
        }
     
    </script>

    Do you experience that issue in other cases except when the upload is canceled?

    Kind regards,
    Peter Filipov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  19. ZISIS
    ZISIS avatar
    2 posts
    Member since:
    Jun 2013

    Posted 14 Apr 2014 Link to this post

    The problem seems to be remain.

    RadsyncUpload work fine on IE but doesn't work on Firefox and Chrome.

    This happens only when I am trying the page on my hosting account. If i run it locally there isn't any problem.
  20. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 17 Apr 2014 Link to this post

    Hello Zisisi,

    I have tested the control and everything is working fine. Could you please elaborate a bit on your case? Which version of the control are you using?

    Regards,
    Peter Filipov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  21. bharath
    bharath avatar
    23 posts
    Member since:
    Jun 2011

    Posted 02 May 2014 in reply to Peter Filipov Link to this post

    Rad Async upload is not working in IE11.BUt it working fine crome and firefox.

    When i add an attachment it shows the Cancel link instead of Remove and the file is not attached.
    It is working fine with crome and it showing Remove  After adding the file.

    /Bharath 
  22. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 04 May 2014 in reply to bharath Link to this post

    Hi bharath,

    Unfortunately I couldn't replicate the issue at my end. Please try to replicate the issue in this online demo or provide a sample code snippet where I can reproduce the issue for further help.

    Thanks,
    Shinu
  23. Aypn
    Aypn avatar
    1 posts
    Member since:
    Oct 2015

    Posted 24 Dec 2015 in reply to Shinu Link to this post

     

    - I was using windows authentiaction for my web app.

    - When i uploaded, the yellow dot kept blinking and the upload was failing.

    It is all access issue , did the below changes and it worked form me 

     

    Server level settings:
    1.Navigate to C:\Windows\System32\inetsrv\config
    2.Open configuration file
    C:\Windows\System32\inetsrv\config\applicationHost.config
    3. Search section with section name="anonymousAuthentication"
    <section name="anonymousAuthentication" overrideModeDefault="Allow" />
    4. Set overrideModeDefault="Allow" (If it is already allowed, skip step 4 and continue)

    Steps handled in Web application config file – we are setting anonymous access to the Telerik.Web.UI.WebResource.axd alone
    Add the below snippet under <configuration> node in each of the web.config files. This will allow the
    resource "Telerik.Web.UI.WebResource.axd" to be accessed as anonymous.

    <location path="Telerik.Web.UI.WebResource.axd"> 
        <system.web>     
            <authorization>
                <allow users="?" />                
            </authorization>     
        </system.web>
       <system.webServer>
        <security>
          <authentication>
            <anonymousAuthentication enabled="true" />
          </authentication>
        </security>
      </system.webServer>
    </location>

Back to Top