Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumProblem with the forum, losing configuration and all...Problem with the forum, losing configuration and all...
Previous
 
Next
New Post
11/19/2006 12:26 PM
 
Hi,

My forums were working right and then, entering a forum thread today it happened.

I got the "A critical error has occurred" exception...

the errors log are as follow:
Page Load Exception -->
AssemblyVersion: 04.03.05
PortalID: 0
PortalName: XXXXX.XX
UserID: 1
UserName: XXXX
ActiveTabID: 110
ActiveTabName: Forums
RawURL: /Foros/tabid/110/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.XXXXXX.XXX/Admin/LogViewer/tabid/48/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.8) Gecko/20061025 Firefox/1.5.0.8
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: f3d0bf68-a918-4c6f-8b60-18a1ca1a0a55
InnerException: Request is not available in this context
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.UI.Page.get_Request
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Request is not available in this context ---> System.Web.HttpException: Request is not available in this context at System.Web.UI.Page.get_Request() at Solpart.WebControls.SolpartMenu.RequestHasNoAgent() at Solpart.WebControls.SolpartMenu.DownLevelBrowser() at Solpart.WebControls.SolpartMenu.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: XXXXXX

And the General Exception -->
General Exception
AssemblyVersion: 04.03.05
PortalID: 0
PortalName: XXXX.XXX
UserID: 1
UserName: XXXX
ActiveTabID: 110
ActiveTabName: XXXXX
RawURL: /Foros/tabid/110/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.XXXXXX.XXX/Admin/LogViewer/tabid/48/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.8) Gecko/20061025 Firefox/1.5.0.8
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 869e7096-6549-40c5-a424-301eeb1a9272
InnerException: The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.UI.ControlCollection.RemoveAt
StackTrace:
Message: System.Web.HttpException: The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases. at System.Web.UI.ControlCollection.RemoveAt(Int32 index) at System.Web.UI.ControlCollection.Remove(Control value) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.Modules.Forum.Groups.AddControlsToTree()
Source:
Server Name: XXXXXX


The forums version is 3:20:08, dnn is 3.4.5. database is sql server 2005.

thanks!
Jose


 
New Post
11/20/2006 11:18 AM
 

Try disabling Forum Administration -> General Settings -> Solpart Navigator

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
11/20/2006 11:45 AM
 
Crispy wrote

Try disabling Forum Administration -> General Settings -> Solpart Navigator

 

Thanks for your response, Crispy!!


That will solve the cause, that, I think has to see with a slow page creation and that it tries to access some information it doesn't has on memory... Also something about the worker process which recycles the configuration of the forum from the cache... isn't it right?

Why don't we use the lazy load pattern and, identifying when the config has been unloaded, loads it again? and doing so for the solpart should be great too... well I'm not into the core or anything like that, but only try to suggests ways... helping whenever I feel I can help... only a humble opinion...

Apart from this, if the page doesn't load, I don't have access to the forum and the only way I see is to re-do it again... that makes me want to do a copy of any "complicated" module on my website... mmmm... not quite practical...

Any ideas or opinions??
Yeah, to back-up everything... but in a community that would mean loosing a day or half a day of messages in the forum...

Any guidance will help, Thanks!!!
Jose
 
New Post
11/20/2006 11:54 AM
 

Jose, I am not even sure what you are asking. I can say that the Solpart navigation is removed in the future versions of this module. I have left the option to add it back in later, but i would use the navigation provider instead. I am getting rid of items I have known to cause issues and decrease performance and will continue to do this as well as fix other options until the module is a bit more solid.

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
11/20/2006 11:59 AM
 
Thanks!

that was fast! amazing! :)

what I am asking is that if the forums "hang" I can't access the configuration and take this solpart flag out. how do I do that? the only thing I can think is to locate the config in the database and changing it manually, is it right?

:)
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumProblem with the forum, losing configuration and all...Problem with the forum, losing configuration and all...


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out