errors with radasyncupload

8 posts, 0 answers
  1. Mark Cyphers
    Mark Cyphers avatar
    5 posts
    Member since:
    Oct 2008

    Posted 10 Feb 2015 Link to this post

    Hi today we noticed we are having a bunch of issue with the latest radasyncupload component.  We launched a site today by zipping it up, moving it to the live server, unzipping and setting up IIS the same was as on the dev server.  When we try to upload to the live site we get a yellow blinking dot on all uploads.  I checked folder permissions and they are set correctly.  The error I am seeing is as follows:

    TypeError: f.fileInfo is undefined

    This is a problem on a number of sites.

    Jon
  2. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 11 Feb 2015 Link to this post

    Hello Jon,

    Thank you for contacting Telerik support.

    Please make sure that your application has write permissions to both Temporary and Target folders. If this suggestion doesn't help please attach Fiddler log.

    I'm looking forward to hearing form you.

    Regards,
    Hristo Valyavicharski
    Telerik
     
    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.
     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mark Cyphers
    Mark Cyphers avatar
    5 posts
    Member since:
    Oct 2008

    Posted 11 Feb 2015 Link to this post

    Hi Hristo,

    I figured out the issue by going through my web.config line by line.  It appears a urlrewrite was causing some type of issue.  Simply re-ordering the elements cleared up the issue.

    Thank you,

    Jon
  5. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 12 Feb 2015 Link to this post

    Thank you for your reply.

    I'm glad to read that you were able to resolve this issue. Please don't hesitate to contact me if is needed.

    Regards,
    Hristo Valyavicharski
    Telerik
     
    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.
     
  6. Mark Cyphers
    Mark Cyphers avatar
    5 posts
    Member since:
    Oct 2008

    Posted 12 Feb 2015 Link to this post

    Just to record the solution for anyone else that may experience a similar issue, below is the cause and resolution.

    Cause (a redirect to lowercase script for SEO in the web.config):
    <rule name="LowerCaseRule1" stopProcessing="true">
       <match url="[A-Z]" ignoreCase="false" />
       <action type="Redirect" url="{ToLower:{URL}}" />
    </rule>

    Resolution (the same redirection removing WebResource.axd from the redirection):
    <rule name="LowerCaseRule1" stopProcessing="true">
      <match url="[A-Z]" ignoreCase="false" />
      <conditions logicalGrouping="MatchAll" trackAllCaptures="false">
        <add input="{URL}" pattern="WebResource.axd" negate="true" />
      </conditions>
      <action type="Redirect" url="{ToLower:{URL}}" />
    </rule>


    Jon
  7. John
    John avatar
    2 posts
    Member since:
    Mar 2015

    Posted 04 Mar 2015 in reply to Mark Cyphers Link to this post

    Hey Mark,

    I'm having the exact same issue!! Developed ASP.net web application in QA environment and simply copy and deploy to Production environment. Can you please be specific on where you re-ordered the 'elements' and also where's the location "urlrewrite" in the web.config that you are referring too?
  8. Mark Cyphers
    Mark Cyphers avatar
    5 posts
    Member since:
    Oct 2008

    Posted 04 Mar 2015 in reply to John Link to this post

    Hi John,

    I believed the re-ordering to be the solution but in fact it was what I listed in the previous post.  While re-ordering my web.config, I removed the rewrite rule.  No rewrite rule and the upload works fine.  The issue is that the rewrite rule is messing with the WebResource.axd operation.  As you can see in the previous post by me, I needed to add a condition to my rewrite to ignore the WebResource.axd.  with this condition in place the upload works just fine.  This was not an issue on the development server because we normally add rewrites on the live server in preparation for launch.  Let me know if this helps.

    <conditions logicalGrouping="MatchAll" trackAllCaptures="false">
        <add input="{URL}" pattern="WebResource.axd" negate="true" />
    /conditions>
  9. John
    John avatar
    2 posts
    Member since:
    Mar 2015

    Posted 06 Mar 2015 in reply to Mark Cyphers Link to this post

    Hey Mark, thanks for the response. I will attempt to try this fix over the weekend and will provide you an update on how that turns out! Once again, thanks!
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017