AF 3.5 - DotNetNuke 4.0 - Error installing module
28 Nov 2005 10: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 .  This should be around line 194.
    3. Add requestLengthDiskThreshold="8192".  The complete line should look similar to 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. 

     


    You are not authorized to post a reply.
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy