Community   »   Forums
AF 3.5 - DotNetNuke 4.0 - Error installing module
Last Post 28 Nov 2005 11:43 AM by Will M. 0 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Will MUser is Offline
Forum Admin
Active Modules Staff
Posts:2483
Avatar

--
28 Nov 2005 11:43 AM  
Q: When installing ActiveForums 3.5 on DotNetNuke 4.0 you may receive the following error:
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()


A: ASP.NET 2.0 introduced new capabilities for uploading files within the browser.  In order to support uploading files including modules and skin packages you will need to make the following change to your web.config file.  Please make a backup copy of your web.config prior to making any changes.
  1. Open your web.config file in notepad or other text editor.
  2. Look for the entry <httpRuntime ...>.  This should be around line 194.
  3. Add requestLengthDiskThreshold="8192".  The complete line should look similar to <httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="8192" requestLengthDiskThreshold="8192" />
  4. Save and close the web.config file.

This has been confirmed by the DotNetNuke core team as a bug in DotNetNuke 4. 

 



Will Morgenweck
Active Modules
You are not authorized to post a reply.

Active Forums 4.1
Copyright 2008 by Active Modules, Inc.
Home |  Products |  Services |  Community |  Company |  Buy Now