Rick Anderson
Nuke Newbie Posts:6
|
08/14/2009 10:23 AM |
|
I have a DNN 5.1 site using Open Document Library (most recent version). Many of the PDF files that I upload to the site get corrupted on the down load. Here's a case that is TYPICAL: 1. File X.pdf is fine prior to upload using Open Document Library 2. File X.pdf is fine when downloaded directly from the ISP using my control panel (obviously outside of the DNN framework) 3. File X.pdf is corrupted when downloaded using Open Document Library.
The corruption comes in the form of a bunch of XML (or HTML) added to the end of the file. This can be seen when comparing all 3 files opened in WordPad.
These files are not large - 150kb.
I changed my web.config to look like this
<httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="51200"requestLengthDiskThreshold="51200" executionTimeout="1200"/>
The problem sitll persists. I've cleaned out the browser cache, tried it on different machines with different logins different browsers (IE7, IE8, Firefox, Chrome) and the problem is the same.
It's not user dependent, requesting machine dependent, browser dependent or the produced in the of Adobe Acrobat 9.
Open Document Library's response was that compression might be corrupting the files, however compression isn't enabled.
Help! |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
08/14/2009 7:43 PM |
|
Are you using compression or anything like that? If so, you might want to turn it off and see if the bad behavior changes. |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Pieter
Nuke Newbie Posts:6
|
08/26/2009 1:26 AM |
|
I have the same problem. For me this occurs even for every file. Not only PDF's. Most of the downloaded files are just 0 bytes, or corrupt! My thought about this is that it goes wrong with you try to sync it with your DNN FileManager, because then I get an exception.
Method: DotNetNuke.Entities.Users.UserController.GetCurrentUserInfo
System.NullReferenceException:
Object reference not set to an instance of an object. at
DotNetNuke.Entities.Users.UserController.GetCurrentUserInfo() at
DotNetNuke.Entities.Modules.ModuleController.UpdateTabModuleSetting(Int32
TabModuleId, String SettingName, String SettingValue) at
XepientSolutions.XSDocumentLibrary.XSDocumentLibrarySettings.SyncThread()
Someone has a solution?
|
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
08/26/2009 7:13 AM |
|
Are these files that were uploaded by a user who no longer exists? Which version of DotNetNuke? |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Pieter
Nuke Newbie Posts:6
|
08/26/2009 7:16 AM |
|
The DotNetNuke version is 5.1.1 and 5.1, the user is not removed or deleted as they were uploaded by the "Host" account.
|
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
08/26/2009 7:18 AM |
|
That is an odd one. Are you using Pageblaster, URL Rewriter or anything like that? is there a URL that I can look at? |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Pieter
Nuke Newbie Posts:6
|
08/26/2009 7:49 AM |
|
I actually disabled the pages for unregistered users. So I cannot really show you an url. We use FriendlyUrl's at the DNN instance 5.1.1, but we do not use any extra module on the 5.1 instance.
Also, we updated the 5.1.1 instance from 4.9. But had a clean install for the 5.1 and the module never worked, if I check my EventViewer then they're exceptions from the start. I doubt the module ever worked on a 5.1 instance...
|
|
|
|
|
Pieter
Nuke Newbie Posts:6
|
|
Joseph Craig DNN MVP Posts:11667
|
08/26/2009 8:41 AM |
|
Is this true for all files, or just PDF files? Can you upload/download text files successfully? Are the files really there? Can you download them successfully with FTP?
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Pieter
Nuke Newbie Posts:6
|
08/26/2009 8:48 AM |
|
Well, all files are either corrupt or 0kb. With the files is nothing wrong on the server. I can download the files with the DNN FileManager. No problem there. If I upload a file with the OpenDocument Library Module it has some kb, but it is not the complete file. (So for example if I upload a file from 500kb it only has 250kb shown on the module. So the file is at the end corrupt. Could this be that DNN has a default "session-time" which is either to short to upload or to download a file? |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
08/26/2009 11:29 AM |
|
New information - OpenDocument Library Module.
So ... it's this module? Uploading/Downloading with the DNN File manager works fine? Is that right?
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Pieter
Nuke Newbie Posts:6
|
08/26/2009 11:43 AM |
|
Yes it is about the OpenDocument Library Module. Not the DNN File Manager which works just fine. I actually replied to the first post where he stated it is about the OpenDocument Library. |
|
|
|
|
Lee Sykes DNN Creative Staff
Nuke Master VI Posts:4945
|
|