Personalization is not enabled and/or modifiable. The Enabled property must be set to true, and a registered personalization provider must be selected. The current user must be granted the right to modify personalization state

Last post 06-30-2009 4:37 AM by stevew1975. 6 replies.

Sort Posts:

  • Personalization is not enabled and/or modifiable. The Enabled property must be set to true, and a registered personalization provider must be selected. The current user must be granted the right to modify personalization state

    06-29-2009, 5:10 AM
    • Member
      173 point Member
    • Zainab_Zum
    • Member since 01-14-2009, 9:09 AM
    • Mumbai
    • Posts 104

    Hello,


    I have initially implemented webparts using windows authentication mode. But now i have requirement to authenticate user using ADS (Active Directory), so for this i used forms authentication.

    But I am getting the below error. Am I missing something.. please help..


    Error:

    Personalization is not enabled and/or modifiable. The Enabled property must be set to true, and a registered personalization provider must be selected. The current user must be granted the right to modify personalization state



    If u want something u never had.. do something u have never done..
  • Re: Personalization is not enabled and/or modifiable. The Enabled property must be set to true, and a registered personalization provider must be selected. The current user must be granted the right to modify personalization state

    06-29-2009, 5:51 AM
    • Participant
      1,066 point Participant
    • stevew1975
    • Member since 05-29-2009, 10:51 AM
    • Bristol, UK
    • Posts 189

    try this link.  

    http://www.codeproject.com/KB/aspnet/anonywebparts.aspx?fid=233382&df=90&mpp=25&noise=3&sort=Position&view=Quick&select=2956465




    Please mark this post as answered if it helped you!
  • Re: Personalization is not enabled and/or modifiable. The Enabled property must be set to true, and a registered personalization provider must be selected. The current user must be granted the right to modify personalization state

    06-29-2009, 9:58 PM
    • All-Star
      91,768 point All-Star
    • vinz
    • Member since 10-05-2007, 3:47 PM
    • Cebu, Philippines
    • Posts 13,769
    • TrustedFriends-MVPs

    When using Forms Authentications in your Application then be sure to set the following:

    * In your web.config file set Authentication Mode to Forms

    		<authentication mode="Forms"/>

    * Disable Anonymous Access in the IIS

    "Code,Beer and Music ~ my way of being a programmer"

  • Re: Personalization is not enabled and/or modifiable. The Enabled property must be set to true, and a registered personalization provider must be selected. The current user must be granted the right to modify personalization state

    06-30-2009, 3:36 AM
    • Member
      173 point Member
    • Zainab_Zum
    • Member since 01-14-2009, 9:09 AM
    • Mumbai
    • Posts 104

    Thanks Stevew, Vinz


    I finally solved my problem by adding FormsAuthentication.SetAuthCookie method...

    But now i m facing another problem. Everything works fine when I run my application from VS 20005. But when I hosted my application on IIS, it throws error :

    The specified domain either does not exist or could not be contacted

    I tried using Basic authentication, but it gives popup. I dont want this as I am already authenticating my user through active directory. Can you throw some light on this method.


    You reply will be of great help!!

    PS: I have set identity impersonate = true in my web.config



    If u want something u never had.. do something u have never done..
  • Re: Personalization is not enabled and/or modifiable. The Enabled property must be set to true, and a registered personalization provider must be selected. The current user must be granted the right to modify personalization state

    06-30-2009, 3:42 AM
    • Participant
      1,066 point Participant
    • stevew1975
    • Member since 05-29-2009, 10:51 AM
    • Bristol, UK
    • Posts 189

    try checking the anonymous access within iis, this should be checked aswell as basic authentication


    otherwise try this link

    http://support.microsoft.com/default.aspx/kb/283133




    Please mark this post as answered if it helped you!
  • Re: Personalization is not enabled and/or modifiable. The Enabled property must be set to true, and a registered personalization provider must be selected. The current user must be granted the right to modify personalization state

    06-30-2009, 4:03 AM
    • Member
      173 point Member
    • Zainab_Zum
    • Member since 01-14-2009, 9:09 AM
    • Mumbai
    • Posts 104

    Hey Stevew,

    I tried checking both anonymous and basic authentication but same error comes. And the link which you gave me is for Windows Server 2000, I forgot to tell you that currently I am working on Windows XP

    If u want something u never had.. do something u have never done..
  • Re: Personalization is not enabled and/or modifiable. The Enabled property must be set to true, and a registered personalization provider must be selected. The current user must be granted the right to modify personalization state

    06-30-2009, 4:37 AM
    Answer
    • Participant
      1,066 point Participant
    • stevew1975
    • Member since 05-29-2009, 10:51 AM
    • Bristol, UK
    • Posts 189

    hi

    this link is more specific to XP and .NET development

    http://directoryprogramming.net/forums/thread/697.aspx




    Please mark this post as answered if it helped you!
Page 1 of 1 (7 items)