Image Upload And Resize
Last Post 07/01/2010 7:06 PM by Joseph Craig. 8 Replies.
Author Messages
mkk
Nuke Pro
Nuke Pro
Posts:62


--
06/28/2010 1:36 PM  
Hi All, I have some problem with Dotnetnuke when i upload multiple large images, the same works for the normal .Net applications but not for DNN, here is up upload and resize function... Can you guys assist me in this.
Nick Clements
Nuke Newbie
Nuke Newbie
Posts:1


--
06/29/2010 5:17 AM  
If your problem is the app timing out when doing large file uploads you could look at the values set in web.config and adjust them to suit.
Joseph Craig
DNN MVP
Posts:11667


--
06/29/2010 7:21 AM  
If it is not a timeout issue, what exactly happens?

Joe Craig, Patapsco Research Group
Complete DNN Support
mkk
Nuke Pro
Nuke Pro
Posts:62


--
06/29/2010 1:18 PM  
Hi Craig and Nick, Thanks for your reply, I dont think it is an time out issue, because i don't see any error and nothing is catched even though i have try catch block.what happens is when i select multiple large images say 20mb each and 4-5 files, only 2-3 images are uploading and no error pops up. here is my web.config limits httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="256000" executionTimeout="19200" requestLengthDiskThreshold="256000" , i am attaching resize method
Joseph Craig
DNN MVP
Posts:11667


--
06/29/2010 7:09 PM  
Have you tried debugging the module to identify where the problem is occurring?

Joe Craig, Patapsco Research Group
Complete DNN Support
mkk
Nuke Pro
Nuke Pro
Posts:62


--
06/30/2010 9:19 AM  
Hi Craig,
I have source code of the module, which is not installable to the website, but i think we can debug through .mdb file, i tried last week but i couldn't able to debug.
Till now how i am updating the website with the source is that, i am updating .ascx file in the website and .dll from the source build, Is this the right way of updating source and PA installed on the website? Guide me on this please.
Joseph Craig
DNN MVP
Posts:11667


--
06/30/2010 10:31 PM  
The "right" way to debug requires running a version of DotNetNuke into which the source code is installed.  I believe that there is a chapter in Mitchel Sellers' book that shows some examples.

Joe Craig, Patapsco Research Group
Complete DNN Support
mkk
Nuke Pro
Nuke Pro
Posts:62


--
07/01/2010 1:58 PM  
HI Craig,

I ordered the book today....
Joseph Craig
DNN MVP
Posts:11667


--
07/01/2010 7:06 PM  
I should have also mentioned Michael Washington's adefwebserver.com site.  There is lots of great information there as well. 

Joe Craig, Patapsco Research Group
Complete DNN Support


---