Help Adding Module

Last post 11-21-2005 9:25 PM by Earl. 9 replies.

Sort Posts:

  • Help Adding Module

    11-10-2005, 12:04 PM
    • Member
      65 point Member
    • tazzman
    • Member since 11-08-2005, 7:18 PM
    • Posts 13
    I went to the module definitions and uploaded the gallery module. When I do that it get this error:

    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()


  • Re: Help Adding Module

    11-10-2005, 12:27 PM
    • Member
      115 point Member
    • infrandom
    • Member since 05-10-2005, 9:08 PM
    • East Bay, CA
    • Posts 23
     tazzman wrote:
    I went to the module definitions and uploaded the gallery module. When I do that it get this error:

    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()




    What version of DNN are you running? I believe it was reported in 4.0 that there is a bug uploading modules with embedded resource zip files. There are a few other threads with the same problem. No solution that I have seen as of yet.
    DotNetNuke Platinum Benefactor
  • Re: Help Adding Module

    11-11-2005, 8:05 AM
    • Member
      65 point Member
    • tazzman
    • Member since 11-08-2005, 7:18 PM
    • Posts 13
    That sucks. I am using DNN4. I hope this will be fixed soon. I really want to add some modules in. Has anyone found a work around. Can I manually add modules some way?
  • Re: Help Adding Module

    11-11-2005, 10:03 AM
    • Member
      65 point Member
    • tazzman
    • Member since 11-08-2005, 7:18 PM
    • Posts 13
    I was able to manualy add them by extracting the skins to the skin and container folders within the portal folder. It works fine for selecting the skins from the drop down list however the nice mini picture selection does not work for them. It is a start at least.
  • Re: Help Adding Module

    11-11-2005, 1:04 PM
    • Contributor
      6,015 point Contributor
    • leupold
    • Member since 06-01-2004, 9:17 AM
    • Karlsruhe / Germany
    • Posts 1,197
    upload it into the /install/modules directory and run www.yourportal.com/install/install.aspx?mode=installresources
  • Crying [:'(] Re: Help Adding Module

    11-14-2005, 3:50 PM
    • Member
      65 point Member
    • tazzman
    • Member since 11-08-2005, 7:18 PM
    • Posts 13
    Placed the zip file in that directory and ran the page. It appeared to install fine. However the module does not show up in the list. This is the photo gallery module that can be downloaded from the dotnetnuke site. Has anyone gotten this to work with DNN4?
  • Yes [Yes] Re: Help Adding Module

    11-17-2005, 2:25 AM
    • Member
      75 point Member
    • Codoc
    • Member since 09-14-2005, 2:03 PM
    • South Africa
    • Posts 15
    Leupold, you rock!

    Worked perfectly for the DNN Forum module. BTW, the folder is ~/Install/Resource. (not plural, in case some newbs were wondering)

    What am I saying? I define Newbie.

    Stephen
    "To Strive, to seek, to find, and not to yield." -- Tennyson
  • Re: Help Adding Module

    11-18-2005, 5:22 PM
    • Member
      25 point Member
    • efetty
    • Member since 08-30-2004, 10:53 PM
    • Posts 5
    I've found the fix...

    Open the Web.Config file and find the line: "<httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="8192" />"

    Replace this with the line: "<httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="8192" requestLengthDiskThreshold="8192"/>"

    Save and try again, should work now.
  • Smile [:)] Re: Help Adding Module

    11-21-2005, 4:31 PM
    • Member
      20 point Member
    • Earl
    • Member since 11-18-2005, 6:51 PM
    • Posts 4
    I have the same problem (same error message)

    I don't think this line change is the answer.  When I make your change, the Portal will no longer function.   I then re-set the line and I was able to add another module (the Blog module), so I am comfortable that my setup is still working.

    Let's establish some test parameters and constants - my portal is on a win2k server with SQL Server 2000 and IIS 5.  I am trying to add the Gallery module (from DotNetNuke) to DNN 3.2.

    So far, no luck.  But the portal works!
  • Smile [:)] Re: Help Adding Module

    11-21-2005, 9:25 PM
    • Member
      20 point Member
    • Earl
    • Member since 11-18-2005, 6:51 PM
    • Posts 4
    Update -

    I tried to upload the module after I copied the zip file to the local machine, and now I have the module loaded.  Previously I was on a second machine mapped through the network to the server.
Page 1 of 1 (10 items)