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 11/07/2006 7:25 PM by  Laurence Neville
Unhandled Error Adding Module to TabPage5271
 15 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Laurence Neville
New Member
New Member
Posts:56


--
09/24/2006 10:53 PM

    Hi Peter,

    I just upgraded a DNN 3.1.1 site to 4.3.5 and at the same time upgraded DMX from 3.01.03 to 3.04.06. I am now getting the following problem when clicking any link to download a document:

    A new browser window opens, attempts to open the requested URL, then shows this error:

    A critical error has occurred.
    Unhandled Error Adding Module to TabPage5271

    This is an example of a URL I clicked:

    http://intranet.company.n...ommand=Core_Download

    How can I resolve this?

    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    09/25/2006 9:18 AM
    Hi Laurence,

    Can you check the Site Log? There should be a more specifc error description there.

    Cheers,
    Peter
    Laurence Neville
    New Member
    New Member
    Posts:56


    --
    09/25/2006 1:23 PM
    There are two errors - Module Load Exception followed by Page Load Exception:

    *************************************************************

    9/25/2006 4:12:20 AM Module Load Exception lneville ModuleId: -1; ModuleDefId: -1; FriendlyName: ...
    ModuleId: -1
    ModuleDefId: -1
    FriendlyName:
    ModuleControlSource:
    AssemblyVersion: 04.03.05
    PortalID: 0
    PortalName: LE Intranet
    UserID: 2050
    UserName: lneville
    ActiveTabID: 1524
    ActiveTabName: Event and Leader Scheduling (ELS)
    RawURL: /Default.aspx?tabid=1524&DMXModule=5175&EntryId=103&Command=Core_Download
    AbsoluteURL: /Default.aspx
    AbsoluteURLReferrer: http://intranet.company.n...ault.aspx?tabid=1524
    UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1)
    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
    ExceptionGUID: 69d8b9f0-84d1-4fc5-bab4-70d05282d6da
    InnerException: Unhandled Error Adding Module to TabPage5175
    FileName:
    FileLineNumber: 0
    FileColumnNumber: 0
    Method: System.Threading.Thread.AbortInternal
    StackTrace:
    Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to TabPage5175 ---> 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 ---
    Source:
    Server Name: CISWEB03


    *************************************************************


    9/25/2006 4:12:20 AM Page Load Exception lneville AssemblyVersion: 04.03.05; PortalID: 0; PortalNa ...
    AssemblyVersion: 04.03.05
    PortalID: 0
    PortalName: LE Intranet
    UserID: 2050
    UserName: lneville
    ActiveTabID: 1524
    ActiveTabName: Event and Leader Scheduling (ELS)
    RawURL: /Default.aspx?tabid=1524&DMXModule=5175&EntryId=103&Command=Core_Download
    AbsoluteURL: /Default.aspx
    AbsoluteURLReferrer: http://intranet.company.n...ault.aspx?tabid=1524
    UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1)
    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
    ExceptionGUID: f404dc84-adaf-4a90-b97a-7868e2d05f16
    InnerException: Unhandled Error Adding Module to TabPage5175
    FileName:
    FileLineNumber: 0
    FileColumnNumber: 0
    Method: System.Threading.Thread.AbortInternal
    StackTrace:
    Message: DotNetNuke.Services.Exceptions.PageLoadException: Unhandled Error Adding Module to TabPage5175 ---> DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to TabPage5175 ---> 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 --- at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) at DNNStuff.Aggregator.Aggregator.InjectIntoTabs() at DNNStuff.Aggregator.Aggregator.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
    Source:
    Server Name: CISWEB03


    *************************************************************
    Laurence Neville
    New Member
    New Member
    Posts:56


    --
    09/25/2006 1:25 PM
    There is also a General Exception a few seconds before these (probably when I logged in). Not sure if this is relevant:

    9/25/2006 4:11:48 AM General Exception AssemblyVersion: 04.03.05; PortalID: -1; PortalN ...
    AssemblyVersion: 04.03.05
    PortalID: -1
    PortalName:
    UserID: -1
    UserName:
    ActiveTabID: -1
    ActiveTabName:
    RawURL: /Default.aspx?tabid=1216?SkinSrc=%5BG%5D/skins/company.intranet/default
    AbsoluteURL: /Default.aspx
    AbsoluteURLReferrer:
    UserAgent: Mozilla/4.0 (compatible; MSIE 6.0;)
    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
    ExceptionGUID: 657f29fe-1376-4d11-829b-16ac0af2c1ca
    InnerException: Unhandled Error:
    FileName:
    FileLineNumber: 0
    FileColumnNumber: 0
    Method: DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest
    StackTrace:
    Message: System.Exception: Unhandled Error: ---> System.Web.HttpException: Not Found at DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---
    Source:
    Server Name: CISWEB03


    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    09/25/2006 1:51 PM
    I'm a little surprised that the ThreadAbortion gives you a feedback on screen. It is really a non-critical error that should just go unnoticed. I'll have to verify if this is new to DNN 4.3.5 to cause a module load exception upon this error.
    Peter
    Laurence Neville
    New Member
    New Member
    Posts:56


    --
    09/25/2006 2:15 PM
    So you are clear - this error occurs every time I click a download link. Its not an intermittent error.
    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    09/25/2006 3:15 PM
    Laurence,
    Yes. I've just done a fresh install of DNN 03.04.05 and DMX 03.04.06. Everything seems to operate normally. I did find the error in the log, but downloads were perfect (whether 'inline' or as 'attachment'). I'll try and get rid of this stuff that clogs up the log, but the core team have also indicated they wanted to do something about the Threadabort exception (i.e. not logging it) as it rarely indicates a real problem.
    Peter
    Laurence Neville
    New Member
    New Member
    Posts:56


    --
    09/25/2006 6:57 PM
    Can you try DMX 03.04.06 on DNN 4.3.5 (rather than 3.x)?

    Is there something else I can do to find the source of my problem?
    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    09/25/2006 7:03 PM
    Sorry, I misspelt in the post. I tried it on 04.03.05, not 03.04.05 as stated ...
    Laurence Neville
    New Member
    New Member
    Posts:56


    --
    09/26/2006 9:07 PM
    I have figured something out .... the error only comes up when using one particular DMX module instance. If I use one of the other DMX module instances on the site it works. Also, if I add a new DMX module instance to the same page that the "broken" one is on, and point it at the same DMX folder, the new module works.

    There must be something in the configuration of this particular module. If you are interested I can send you records from the DNN database, otherwise I will delete the "broken" module.
    Laurence Neville
    New Member
    New Member
    Posts:56


    --
    09/26/2006 9:15 PM
    More info .... and now we are really getting to the root of it. The error occurs only when the DMX module is set up as a tab with the DNNStuff - Aggregator module (www.dnnstuff.com). If the DMX module is outside the Aggregator it always works, if it is inside it always errors. Before the DNN & DMX upgrade the DMX module was completely happy being inside the Aggregator.

    I have DNNStuff - Aggregator v. 3.1.4

    Can you look into this and try to fix it? Aggregator is a very popular module and we use it all over our site!

    Thanks
    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    10/01/2006 5:04 PM
    As far as I know it never worked in a multi-tab module solution. I don't have it, nor can I support emedding in 3rd party modules. I program according to DNN guidelines and that should be enough to make it work. What does dnnstuff have to say about this?
    Laurence Neville
    New Member
    New Member
    Posts:56


    --
    10/01/2006 6:25 PM

    Well it worked for the last 2 years embedded in the Aggregator module. I have also had so problems with any other module embedded in the Aggregator. I will take it up with DNNStuff and see what they say.

    Who knows if it is caused by DNN, DMX or the Aggregator (I upgraded all three to their latest versions last weekend). I would say this though - both DMX and Aggregator are very popular modules and if they won't play together that can't help but be bad for both module's reputation.

    Laurence Neville
    New Member
    New Member
    Posts:56


    --
    11/02/2006 11:58 PM
    I just upgraded to DMX 3.4.7 and the issue has disappeared! Did you do something in 3.4.7 to fix it, or was I lucky?
    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    11/07/2006 12:06 AM
    Hehe, what should I say? Truth is, we may never know what really was the problem. When I can't reproduce it, it is hard to debug. All I can do is try to make the code leaner, better, and more robust.
    Laurence Neville
    New Member
    New Member
    Posts:56


    --
    11/07/2006 7:25 PM
    Well thanks for whatever you did because now our intranet is working again!
    You are not authorized to post a reply.