Problem with teh DLLs
Last Post 1/27/2009 08:29 AM by David O'Leary. 3 Replies.
Author Messages Resolved
andoni
New Member
New Member
Posts:2
Avatar

--
1/23/2009 04:06 AM
    hello,

    Im using DNN 5.0 and i´ve installed the articles RC1, when im trying to compile from visual studio has this errors:

    Error 5 No se ha declarado el nombre 'FormatForXML'. C:\Proyectos\DotNetNuke491\DesktopModules\Articles\RSS.ascx line 15
    Error 6 No se ha declarado el nombre 'FormatForXML'. C:\Proyectos\DotNetNuke491\DesktopModules\Articles\RSS.ascx line 17
    Error 7 No se ha declarado el nombre 'FormatForXML'. C:\Proyectos\DotNetNuke491\DesktopModules\Articles\RSS.ascx line 22
    Error 21 'GetCategoriesByParentID' no es un miembro de 'EfficionConsulting.Categories.CategoryController'.
    C:\Proyectos\DotNetNuke491\DesktopModules\Articles\ArticleFilters.ascx.vb line 149 column 44 C:\Proyectos\DotNetNuke491\
    Error 22 'GetParentCategories' no es un miembro de 'EfficionConsulting.Categories.CategoryController'. C:\Proyectos\DotNetNuke491\DesktopModules\Articles\FilterSettings.ascx.vb line 59 column48

    The big problem i thin are these two calls to EfficionConsulting.Categories.CategoryController:

    1) ddlCategories.DataSource = objCategories.GetCategoriesByParentID(PortalId, ParentCategoryID) in ArticleFilters.ascx.vb in Private Sub PopulateCategoryDropDown()

    2) cboParentCategory.DataSource = objCC.GetParentCategories(PortalId) in FilterSettings.ascx.vb in Private Sub PopulateParentList()

    It seems that the dll EfficionConsulting.Categories.CategoryController does noy have these methods inclued.

    Thanks


    David O'Leary
    Efficion Consulting Staff
    Basic Member
    Basic Member
    Posts:151
    Avatar

    --
    1/24/2009 05:41 AM
    This module is not intended to be compiled as a DLL. It follows the WSP model where the code is included as part of the install. To make changes to the code, just install the module the way you install any DNN module. You will then find the .vb files in the DesktopModules/Articles and App_Code/Articles directories. You can make changes to the code while the site is running and just refresh the page to see your changes. ASP.NET 2 does the compilation in the background.
    andoni
    New Member
    New Member
    Posts:2
    Avatar

    --
    1/25/2009 11:01 PM
    Thanks for tour quick response, sorry but i didn´t explain very well

    I open the visual studio as web site.

    I have installed articles and categories module as any DNN module.

    The problem is when i try to run from the visual studio i get those erros.I not compile it as a DLL but as a web site. The erros seems to come from the \bin\EfficionConsulting.Categories.dll that is in DotnetNuke website\bin

    The dll seems not have these two methods:
    GetCategoriesByParentID(PortalId, ParentCategoryID) and GetParentCategories(PortalId)
    David O'Leary
    Efficion Consulting Staff
    Basic Member
    Basic Member
    Posts:151
    Avatar

    --
    1/27/2009 08:29 AM
    • Accepted Answer
    Please upgrade your categories module to version 3.2. This is available from the Categories page: http://www.efficionconsulting.com/D...fault.aspx


    ---