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 ForumsForumForumHttpCompileException: Forum_Container.ascx(3): error BC30451: Name HttpCompileException: Forum_Container.ascx(3): error BC30451: Name 'ForumConfig' is not declared
Previous
 
Next
New Post
4/6/2006 2:14 AM
 

I accidently screwed up my database permissions.  When I finally got them back in working order everything was working except for the forum module which started throwing exceptions.  I believe the root is this exception.  Do you have any idea what may be causing it?

ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 04.00.02
Method: System.Web.Compilation.AssemblyBuilder.Compile
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: Meadowdale High School Class of 1987
UserID: 1
UserName: host
ActiveTabID: 56
ActiveTabName: Discussions
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://playspace/Discussions/tabid/56/Default.aspx
ExceptionGUID: cb57f875-45ad-48f3-b657-2640d2b3f636
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: C:\Inetpub\mhs87\DesktopModules\Forum\Forum_Container.ascx(3): error BC30451: Name 'ForumConfig' is not declared.
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: C:\Inetpub\mhs87\DesktopModules\Forum\Forum_Container.ascx(3): error BC30451: Name 'ForumConfig' is not declared. ---> System.Web.HttpCompileException: C:\Inetpub\mhs87\DesktopModules\Forum\Forum_Container.ascx(3): error BC30451: Name 'ForumConfig' is not declared. at System.Web.Compilation.AssemblyBuilder.Compile() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) in C:\Downloads\DotNetNuke_4.0.2_Source\Library\Components\Skins\Skin.vb:line 466 --- End of inner exception stack trace ---

Thanks, James

 
New Post
4/6/2006 4:04 AM
 

I appeared to fix this by just recopying the files in DesktopModules\Forums from sources to my website.  Not sure what it was that was messed up.

In the process I think I did find a bug for you.  I had deleted my module and added a new one back.  That was causing a null reference exception in ForumGroup.vb line 436.  It seems that ctlMenu was null, because CreateChildControls() was never called.  I believe this was because I had no groups now that I had a new module.

I fixed it in my source by changing the If to:

If ForumControl.Config.ShowNavigator And Not (ctlMenu Is Nothing) Then

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumHttpCompileException: Forum_Container.ascx(3): error BC30451: Name HttpCompileException: Forum_Container.ascx(3): error BC30451: Name 'ForumConfig' is not declared


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