Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • pnr 131 posts 226 karma points
    Mar 25, 2009 @ 08:14
    pnr
    0

    Problem with YAF in Umbraco

    I have tried integarting YAF in Umbraco by following this guid: http://dawoe.blogspot.com/2009/02/intergrate-yet-another-forum-193rc2.html. But when I use the forum I sometimes get the following error:

    Profilen er ikke blevet aktiveret (The profile has not been activated).
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Configuration.Provider.ProviderException: Profilen er ikke blevet aktiveret.

    Source Error:


    Line 42:
    Line 43:
    Line 44: <%# GetStringSafely(PageContext.GetProfile(DataBinder.Eval(Container.DataItem,"Name").ToString()).Location) %>
    Line 45:
    Line 46:


    Source File: c:\inetpub\wwwroot\Umbraco4test\yaf\pages\members.ascx Line: 44

    Stack Trace:


    [ProviderException: Profilen er ikke blevet aktiveret.]
    System.Web.Profile.ProfileBase.Create(String username, Boolean isAuthenticated) +2443159
    System.Web.Profile.ProfileBase.Create(String username) +9
    YAF.Classes.Utils.YafContext.GetProfile(String userName) +6
    ASP.yaf
    pagesmembersascx.DataBindcontrol4(Object sender, EventArgs e) in c:\inetpub\wwwroot\Umbraco4test\yaf\pages\members.ascx:44
    System.Web.UI.Control.OnDataBinding(EventArgs e) +99
    System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +92
    System.Web.UI.Control.DataBind() +15
    System.Web.UI.Control.DataBindChildren() +211
    System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +102
    System.Web.UI.Control.DataBind() +15
    System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +124
    System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +443
    System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +51
    System.Web.UI.WebControls.Repeater.DataBind() +75
    System.Web.UI.Control.DataBindChildren() +211
    System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +102
    System.Web.UI.Control.DataBind() +15
    YAF.Pages.members.BindData() in c:\inetpub\wwwroot\Umbraco4
    test\yaf\pages\members.ascx.cs:188
    YAF.Pages.members.PageLoad(Object sender, EventArgs e) in c:\inetpub\wwwroot\Umbraco4test\yaf\pages\members.ascx.cs:70
    System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
    System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
    System.EventHandler.Invoke(Object sender, EventArgs e) +0
    System.Web.UI.Control.OnLoad(EventArgs e) +99
    System.Web.UI.Control.LoadRecursive() +50
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Please Sign in or register to post replies

Write your reply to:

Draft