RadUpload and Dot Net Nuke friendly URLs
Cancel
Thread is closed for posting
5
posts,
0
answers
-
Jason
8
posts
Member since:
Oct 2008
Posted 20 Oct 2008
Link to this post
OK, I have a bizarre issue that I'm hoping someone will have some insight on.
I have a Dot Net Nuke 4.84 web site that allows users to upload files to the server via the RadUpload control on a RadWindow popup (Rad Controls for ASP.NET Ajax).
This process works just fine and the users can upload both .doc and .mp3 files using this approach.
The problem arises when I turn on Friendly URLs on the DNN web site (via Host Settings > Use Friendly Urls).
When I do so, users can still upload .doc files, but they can no longer upload .mp3 files. The RadUploadContext.Current.UploadedFiles.Count == 0 when trying to upload a file with the .mp3 extension.
I'm at a loss as to why this is occurring and how I can get the upload process to work for all files when Friendly URLs is turned on.
Is this a known issue using the RadUpload control for Dot Net Nuke. Any ideas what might be going on and how to fix it?
Thanks in advance,
Jason
-
-
88
posts
Member since:
Oct 2006
Posted 21 Oct 2008
Link to this post
Hey Jason,
I haven't had any complaints regarding mp3 files from my users. I don't use radwindow, but this should not be a clue - radwindow is basically a separate browser window... You could check your site's modules/handlers - these could be the reason for the mp3 file uploads failing.
Oh, by the way - what about the invalid files? Does the collection contain any files (possibly the mp3 files)?
Cheers,
Blaize
-
-
Jason
8
posts
Member since:
Oct 2008
Posted 21 Oct 2008
Link to this post
Thanks Blaize,
The invalid files collection is empty. It's a very frustrating thing :)
Jason
-
-
Jason
8
posts
Member since:
Oct 2008
Posted 21 Oct 2008
Link to this post
As it turns out, it's not the file type, it's the file size.
A 20 kb file can be uploaded OK, but a 135 kb file cannot - the RadProgressArea shows a progress bar that hangs on the first "chunk" of 39% complete. It never gets beyond that. If it can get the file in one chunk, it works, but if there's more than one chunk it hangs.
-
-
Jason
8
posts
Member since:
Oct 2008
Posted 21 Oct 2008
Link to this post
This is now fixed.
In the web.config for the DNN application, I placed the Friendly Url Http handler entry at the top of the list of Http handlers, and it worked like a champ.
Hope this helps someone else.
Jason
-