Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 10/01/2006 9:28 PM by  Peter Donker
No uploading/downloading after upgade.
 17 Replies
Sort:
You are not authorized to post a reply.
Author Messages
craig salee
New Member
New Member
Posts:15


--
09/13/2006 10:01 PM
    I've upgrade from DMX version 03.02.00 to 03.04.06 and am now having problems uploading or downloading files. 

    I'm using DNN 4.3.3,  SQL Server 2005, Windows Server 2003.

    When I try to download a file, it hangs for a long time and eventually pops a message box that says "Document contains no data"
     I was able to do a mass Import of 3 Gigs of data and seemed to work fine, but I can't download any of the files, even very small ones.


    When I look in the Log Viewer, I see this error message:


    InnerException: Unhandled Error Adding Module to ContentPane
    FileName:
    FileLineNumber: 0
    FileColumnNumber: 0
    Method: System.Threading.Thread.AbortInternal
    StackTrace:
    Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane --->
    System.Threading.ThreadAbortException: Thread was being aborted. at System.Threading.Thread.AbortInternal()
    at System.Threading.Thread.Abort(Object stateInfo) at System.Web.HttpResponse.End() at S
    ystem.Web.HttpResponse.Redirect(String url, Boolean endResponse) at
    Bring2mind.DNN.Modules.DMX.Dispatch.MyInitialize() at Bring2mind.DNN.Modules.DMX.Dispatch.a(Object A_0, EventArgs A_1)
    at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.UserControl.OnInit(EventArgs e)
    at System.Web.UI.Control.InitRecursive(Control namingContainer) at
    System.Web.UI.Control.InitRecursive(Control namingContainer) at
    System.Web.UI.Control.InitRecursive(Control namingContainer) at
    System.Web.UI.Control.InitRecursive(Control namingContainer) at
    System.Web.UI.Control.AddedControl(Control control, Int32 index) at
    System.Web.UI.ControlCollection.Add(Control child) at
    DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) ---
    End of inner exception stack trace ---
    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    09/13/2006 10:23 PM
    Craig,
    The 03.02.00 version was superceded by a fix within a week (03.02.01). I remember that I mentioned it was important to upgrade because there was na error in the registration of file sizes in 03.02.00. This resulted in a hazard for future versions. In short: the registered file size in the tables is off by 1. All files that were uploaded or imported using 03.02.00 should be incremented by 1 if I remember correctly. You should be able to test this. Go to DMX_Entries and change the FileSize for one of the faulty files and try downloading again (you can see the EntryId in the querysting in your browser and find that again as the primary key of the DMX_Entries table). Let me know if this solves the issue.
    Peter
    craig salee
    New Member
    New Member
    Posts:15


    --
    09/14/2006 6:39 PM
    I have not had any success getting it to work.   Here are the steps I took:

    1.) incremented the FileSize by 1 for a file.  Still couldn't download it.
    2.) Removed All Files and Removed DMX Module completely. 
    3.) noticed that some Stored Procedures and Triggers were still in the database after I deleted the module, so I manually deleted those.
    4.) Added DMX Module version 03.04.06.
    5.) added a couple of small test files (one text and one Word).   I am unable to download.

    I looked in the logviewer and I'm getting the same error:

    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
    ExceptionGUID: 72be2a93-026f-44e1-bd72-b9832dfa37f7
    InnerException: Unhandled Error Adding Module to ContentPane
    FileName:
    FileLineNumber: 0
    FileColumnNumber: 0
    Method: System.Threading.Thread.AbortInternal
    StackTrace:
    Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane ---> System.Threading.ThreadAbortException: Thread was being aborted. at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object stateInfo) at System.Web.HttpResponse.End() at System.Web.HttpResponse.Redirect(String url, Boolean endResponse) at Bring2mind.DNN.Modules.DMX.Dispatch.MyInitialize() at Bring2mind.DNN.Modules.DMX.Dispatch.a(Object A_0, EventArgs A_1) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.UserControl.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---

    craig salee
    New Member
    New Member
    Posts:15


    --
    09/14/2006 6:57 PM
    I just upgraded my development machine by running Prepare DMX3 and upgrading from 03.02.00 to 03.04.06, and it seems to work fine.   I can upload/download files.

    On my development machine, I'm running Windows XP, DNN 4.3.1, SQL Server 2005.
    On my Production machine (which is the one that is not working with DMX), I'm running Windows Server 2003, DNN 4.3.3, SQL Server 2005 and it's using SSL.

    Could there be issues with it working with SSL?  Any other thoughts?
    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    09/14/2006 11:52 PM
    SSL would be a candidate for suspicion, yes. Have you tried removing it and see if download works? I know there has been mention of issues with this before ...
    Rob Ralston
    Basic Member
    Basic Member
    Posts:164


    --
    09/15/2006 4:19 PM
    Hi,

    I use SSL on multiple DNN 4.0.3 sites with DMX without any download problem. I haven't tested with DNN 4.3.x yet, however.

    Rob Ralston
    craig salee
    New Member
    New Member
    Posts:15


    --
    09/15/2006 4:52 PM
    We removed the SSL and still cannot download any files. It's still throwing the same error I posted above.
    craig salee
    New Member
    New Member
    Posts:15


    --
    09/15/2006 4:53 PM
    In addition to throwing the error it does the following:

    Opens a new browser and hangs for a minute or so, and eventually displays a "Document contains no data" message box.
    Rob Ralston
    Basic Member
    Basic Member
    Posts:164


    --
    09/15/2006 4:59 PM
    Craig,

    On your production server (W2K3) are you runnig .NET 2.0? If so, are you using Peter's DMX version: "Bring2mind.DMX_03.04.06_Net2.zip"

    Rob Ralston
    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    09/15/2006 5:25 PM
    Craig,

    I haven't seen this before. Like I said, the only issue I'm aware of is the 03.02.00 'wrong file size issue'. Other than that files should download. If anything fails it is usually in the UI, not in the banale download code. So my next question is: are you positive aspnet can read the physical files? The error you point out is meaningless and just clutter (DNN registers this error, which is really not an error at all).

    Regarding .net 1 or 2 versions of DMX: I have a .net 1 03.04.06 running under DNN 4.3.4 on my machine ... I'm pretty sure it's not that.

    What else got upgraded apart from DMX? DNN as well?

    Peter
    craig salee
    New Member
    New Member
    Posts:15


    --
    09/16/2006 12:15 AM
    We are running .NET 2.0. I haven't seen the file: Bring2mind.DMX_03.04.06_Net2.zip Is that on snowcovered?

    We actually started with a clean installation of DNN 4.3.3 (didn't upgrade).

    I will try on monday to see if aspnet can read the physical files.

    Thanks for the help, I'll keep you updated.

    Craig
    craig salee
    New Member
    New Member
    Posts:15


    --
    09/19/2006 7:51 PM
    I still can't get it to work.

    Here's what I've done:
    Tried to access the files in the Portal/0/DMX/ directory by using the DNN Documents Module.
    So, when I try to add a File to that DNN Documents module, it only shows me the old files that were left over from my previous versions of DMX. All files that I've uploaded with the new version of DMX won't show up.

    So, I then:
    1. removed DMX
    2. manually deleted Portals/0/DMX directory
    3. manually deleted DesktopModules/Bring2Mind directory
    4. manually deleted Stored Procedures.
    5. Added DMX Module
    6. Added a document to the DMX module

    Got same error. Any suggestions?
    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    09/19/2006 8:31 PM
    None whatsoever. You effectively started with a fresh installation. It appears something is wrong with the dnn installation. Like I said: DMX 03.04.06 (both net1 and net 2 versions) has been tested under DNN 04.03.04. If you're having a problem with a fresh installation you should check out the environment. Things like permissions (does aspnet have full access to the Portal/0/DMX directory (note that when you move stuff, permissions are generally not correctly set).
    craig salee
    New Member
    New Member
    Posts:15


    --
    09/27/2006 11:33 PM
    We finally figured it out!! We have a compression module we use called: Snapsis.PageBlaster that was interfering with the downloads.

    A coworker of mine added the following item to the exclude paths in the compression module config file.



    This checks for any url that contains the string 'Core_Download' and does not do any compression on it.
    craig salee
    New Member
    New Member
    Posts:15


    --
    09/27/2006 11:35 PM
    craig salee
    New Member
    New Member
    Posts:15


    --
    09/27/2006 11:36 PM
    \
    craig salee
    New Member
    New Member
    Posts:15


    --
    09/27/2006 11:37 PM
    path pattern="Core_Download" excludeFrom="All"
    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    10/01/2006 9:28 PM
    Thanks for sharing your findings with us Craig. That is very helpful for any other users of Snapsis.Pageblaster. Thanks,
    Peter
    You are not authorized to post a reply.