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

RadUpload and Dot Net Nuke friendly URLs

4 Answers 68 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 20 Oct 2008, 09:14 PM
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

4 Answers, 1 is accepted

Sort by
0
Blaize
Top achievements
Rank 1
answered on 21 Oct 2008, 07:27 AM
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
0
Jason
Top achievements
Rank 1
answered on 21 Oct 2008, 03:10 PM
Thanks Blaize,

The invalid files collection is empty. It's a very frustrating thing :)

Jason
0
Jason
Top achievements
Rank 1
answered on 21 Oct 2008, 10:10 PM
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.
0
Jason
Top achievements
Rank 1
answered on 22 Oct 2008, 01:10 AM
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
Tags
Upload (Obsolete)
Asked by
Jason
Top achievements
Rank 1
Answers by
Blaize
Top achievements
Rank 1
Jason
Top achievements
Rank 1
Share this question
or