RADUpload POST locking up

Thread is closed for posting
4 posts, 0 answers
  1. Scott Manning
    Scott Manning avatar
    20 posts
    Member since:
    Oct 2012

    Posted 14 Sep 2010 Link to this post

    I have a simple form that has the RADUpload and RADProgressbar on it.  I have a save and cancel buttons (ASP:BUTTONS) and have registered thr respective Telerik controls in the web.config file (See Below) and when I press the Save (Submit) button, the page never returns.  Eventually I will get an ajax time out error.  The project is .NET 4.0 and I am using the Telerik controls v4.0.30319.  Note, when I also press the cancel button, I still have a locked up page.  I have tried many different combinations such as
    * uploaded zero files
    * 1 very small file and
    * 1 very large file



      <system.web>
        <compilation debug="true" targetFramework="4.0">
          <assemblies>
            <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
            <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
            <add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
            <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
          </assemblies>
        </compilation>
        <httpRuntime maxRequestLength="809600" />
        <authentication mode="Forms">
          <forms loginUrl="~/Account/Login.aspx" timeout="2880" />
        </authentication>
        <membership>
          <providers>
            <clear />
            <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
          </providers>
        </membership>
        <profile>
          <providers>
            <clear />
            <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" />
          </providers>
        </profile>
        <roleManager enabled="false">
          <providers>
            <clear />
            <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />
            <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
          </providers>
        </roleManager>
        <httpHandlers>
          <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="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />
        </httpModules>
      </system.web>
      <system.webServer>
        <modules runAllManagedModulesForAllRequests="true">
          <add name="RadUploadModule" preCondition="integratedMode" type="Telerik.Web.UI.RadUploadHttpModule" />
        </modules>
        <validation validateIntegratedModeConfiguration="false" />
        <handlers>
          <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>
  2. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 17 Sep 2010 Link to this post

    Hello Scott Manning,

    I am not sure that the problem is related to RadUpload/RadProgressArea. Does the issue reproduce when you comment out them? What happens if you try to upload a file using the standard ASP.NET FileUpload? I suggest hat you do a http monitoring using a tool like fiddler. It should show what is going wrong with the request. Please take a look at the following help article for information on how to do that.

    Best wishes,
    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Scott Manning
    Scott Manning avatar
    20 posts
    Member since:
    Oct 2012

    Posted 20 Sep 2010 Link to this post

    I used wireshark so it would not interfere with the traffic. When I press the save button, I see the GET /Telerik.RadUploaderProgressHandler.ashx?RadUrid=1d63…

     

    I never see a response back from the handler.  I can remove the radupload and radprogress components from the web page and the page moves to the next page when the user presses the save button.  It is only when I add these two controls that seem to lock up the page when the Save button is pressed.


  5. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 23 Sep 2010 Link to this post

    Hi Scott Manning,

    The interesting thing here is that you receive Ajax timeout error. Now, RadUpload cannot upload files using AJAX calls. This is a limitation of the XmlHttpRequest component, used in all AJAX frameworks for asynchronous calls to the application. In order to upload a file your application must perform a full page postback. Have you applied the workarounds to disable ajax when upload as listed here?

    Also, I think that the fiddler log is going to be more helpful because it will show all requests generated from the page. The packett that you have captured with WireShark is targeting the RadUploadProgressHandler, which is responsible for the progress monitoring, not the very upload. Could you please send us FiddlerCap log?

    Best wishes,
    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
Back to Top