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

errors with radasyncupload

7 Answers 173 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Mark Cyphers
Top achievements
Rank 1
Mark Cyphers asked on 10 Feb 2015, 07:46 PM
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

7 Answers, 1 is accepted

Sort by
0
Hristo Valyavicharski
Telerik team
answered on 11 Feb 2015, 05:04 PM
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.
 
0
Mark Cyphers
Top achievements
Rank 1
answered on 11 Feb 2015, 05:06 PM
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
0
Hristo Valyavicharski
Telerik team
answered on 12 Feb 2015, 12:14 PM
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.
 
0
Mark Cyphers
Top achievements
Rank 1
answered on 12 Feb 2015, 01:56 PM
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
0
John
Top achievements
Rank 1
answered on 04 Mar 2015, 07:37 PM
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?
0
Mark Cyphers
Top achievements
Rank 1
answered on 04 Mar 2015, 09:31 PM
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>
0
John
Top achievements
Rank 1
answered on 06 Mar 2015, 03:48 PM
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!
Tags
AsyncUpload
Asked by
Mark Cyphers
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
Mark Cyphers
Top achievements
Rank 1
John
Top achievements
Rank 1
Share this question
or