> Forums > Active Forums > Community Support > 4.3 Template error ForumGroupId property
Last Post 04 Jan 2011 02:29 PM by Ben Thompson. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Ben Thompson
Customers
Ben Thompson
Post Count:230

--
04 Jan 2011 05:12 AM
    • Active Forums Version: 4.3.3
    • DotNetNuke Version: 5.5.0
    I have upgraded to AF 4.3.3 and all seems fine. However I get the following error when I try to use the new 4.3 templates (ForumView-4.3.txt & ForumViews-4.3.txt).


    Error :

    ModuleId: 403
    ModuleDefId: 117
    FriendlyName: Discussion Forums
    ModuleControlSource: DesktopModules/ActiveForums/ActiveForums.ascx
    AssemblyVersion: 5.5.0
    PortalID: 0
    PortalName: Portal
    UserID: 2
    UserName: admin
    ActiveTabID: 66
    ActiveTabName: Forums
    RawURL: /Forums/tabid/66/aff/1/Default.aspx
    AbsoluteURL: /Default.aspx
    AbsoluteURLReferrer: http://www.website.com.au/Forums.aspx
    UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.4) Gecko/20100611 Firefox/3.6.4
    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
    ExceptionGUID: 6a14a0f2-253d-4c44-a822-fecaaaf6b2f7
    InnerException: Cannot create an object of type 'System.Int32' from its string representation '[FORUMGROUPID]' for the 'ForumGroupId' property.
    FileName:
    FileLineNumber: 0
    FileColumnNumber: 0
    Method: System.Web.UI.PropertyConverter.ObjectFromString
    StackTrace:
    Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Cannot create an object of type 'System.Int32' from its string representation '[FORUMGROUPID]' for the 'ForumGroupId' property. ---> System.Web.HttpParseException: Cannot create an object of type 'System.Int32' from its string representation '[FORUMGROUPID]' for the 'ForumGroupId' property. ---> System.Web.HttpParseException: Cannot create an object of type 'System.Int32' from its string representation '[FORUMGROUPID]' for the 'ForumGroupId' property. ---> System.Web.HttpException: Cannot create an object of type 'System.Int32' from its string representation '[FORUMGROUPID]' for the 'ForumGroupId' property. at System.Web.UI.PropertyConverter.ObjectFromString(Type objType, MemberInfo propertyInfo, String value) at System.Web.UI.ControlBuilder.AddProperty(String filter, String name, String value, Boolean mainDirectiveMode) at System.Web.UI.ControlBuilder.PreprocessAttribute(String filter, String attribname, String attribvalue, Boolean mainDirectiveMode) at System.Web.UI.ControlBuilder.PreprocessAttributes(ParsedAttributeCollection attribs) at System.Web.UI.ControlBuilder.Init(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs) at System.Web.UI.ControlBuilder.CreateBuilderFromType(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs, Int32 line, String sourceFileName) at System.Web.UI.ControlBuilder.CreateChildBuilder(String filter, String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, VirtualPath virtualPath, Type& childType, Boolean defaultProperty) at System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseInternal() at System.Web.UI.TemplateParser.Parse() at System.Web.UI.TemplateParser.ParseTemplateInternal(String content, VirtualPath virtualPath, Boolean ignoreFilter) at System.Web.UI.TemplateParser.ParseControl(String content, VirtualPath virtualPath, Boolean ignoreFilter) at System.Web.UI.TemplateControl.ParseControl(String content, Boolean ignoreParserFilter) at System.Web.UI.TemplateControl.ParseControl(String content) at Active.Modules.Forums.Controls.TopicsView.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

    Could somebody please assist with this ?

    Cheers
    Ben

    www.itproject.com.au
    Tags: 4.3 template error
    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    04 Jan 2011 09:34 AM
    Hi Ben,
    Those files should not have been in the install package. They were originally used for testing purposes, but do not represent actual working templates. Out of curiosity, Did they get loaded as templates or did you just find them as part of the install package?
    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    Ben Thompson
    Customers
    Ben Thompson
    Post Count:230

    --
    04 Jan 2011 02:29 PM
    Will,
    I found the files in the templates folder. They must have been there since the beta. I created a template and copied the contents of the files asbper the blog template process.

    Is there a new look template for 4.3 similar to the AM template ?
    www.itproject.com.au
    You are not authorized to post a reply.
    > Forums > Active Forums > Community Support > 4.3 Template error ForumGroupId property
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy