Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN 3.2.2 on .NET 2.0 - Error installing project modules.DNN 3.2.2 on .NET 2.0 - Error installing project modules.
Previous
 
Next
New Post
3/2/2006 12:01 PM
 
Hi,
I've installed a second instance of DNN 3.2.2 on my computer (win xp pro IIS 5.1) and made this instance to run on .net 2.0 (the first instance runs on .net 1.1). The installation was smooth and pre-packaged modules seem to work fine. But when i tried to upload other project modules like, FORUM 03.20.01, BLOG 3.02.00 & GALLERY 3.00.11 i got this error everytime:

Resource Upload Logs
Return
 
StartJob Starting Installation
StartJob Reading files
Failure ExceptionSystem.ObjectDisposedException: Cannot access a closed file. at System.IO.__Error.FileNotOpen() at System.IO.FileStream.Seek(Int64 offset, SeekOrigin origin) at System.Web.HttpRawUploadedContent.TempFile.GetBytes(Int32 offset, Int32 length, Byte[] buffer, Int32 bufferOffset) at System.Web.HttpRawUploadedContent.CopyBytes(Int32 offset, Byte[] buffer, Int32 bufferOffset, Int32 length) at System.Web.HttpInputStream.Read(Byte[] buffer, Int32 offset, Int32 count) at ICSharpCode.SharpZipLib.Zip.ZipInputStream.FillBuf(Int32 size) at ICSharpCode.SharpZipLib.Zip.ZipInputStream.GetNextEntry() at DotNetNuke.Modules.Admin.ResourceInstaller.PaInstaller.ReadZipStream() at DotNetNuke.Modules.Admin.ResourceInstaller.PaInstaller.Install()

is it an issue with .net 2.0?
Any comments would be appreciated.
Thanks for going through!

Author - 'Become an iMature Student'
Book on 'Internet Maturity' for all students.
 
New Post
3/2/2006 12:41 PM
 
Yes and No.

.NET 2 introduced some changes in how uploaded files were handled.  DNN 4.x is preconfigured for this.  DNN 3.2 requires a web.config change to the following element.

<httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="8192" requestLengthDiskThreshold="8192"/>


Charles Nurse
Chief Architect
Evoq Content Team Lead,
DNN Corp.

Want to contribute to the Platform project? - See here
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
 
New Post
3/3/2006 4:08 AM
 
ITS WORKING NOW! thanks a lot cnurse!
if you have some more tips or info for users upgrading to .net 2 (with DNN 3.2.2) please let them flow. i feel there must be a big mass which wants to upgrade the .net framework while sticking to dnn3.2.2 as it has been virtually endorsed by the community as the most stable version yet.

thanks again.

Author - 'Become an iMature Student'
Book on 'Internet Maturity' for all students.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN 3.2.2 on .NET 2.0 - Error installing project modules.DNN 3.2.2 on .NET 2.0 - Error installing project modules.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out