Custom Personalization Provider Problem...

Last post 08-07-2009 7:35 AM by texx. 1 replies.

Sort Posts:

  • Custom Personalization Provider Problem...

    08-06-2009, 3:25 PM
    • Member
      349 point Member
    • texx
    • Member since 06-16-2006, 12:34 PM
    • Posts 72

     I have taken the Multi-Page personalization provider sample I found on the web, and changed the get/set property for the GroupName to return a value from the webpage to determine which WebParts settings to use.  This works perfectly in Visual Studio.  In the aspnet_Paths table, it creates records for each item in the dropdown where the webparts have been personalized(Only personalization is in the shared scope).

    When I deploy to the webserver where this application is to reside, the personalization doesn't work.  The only record that it will pull from the aspnet_Paths table is the record for default.aspx, not the records based on the dropdown.  Even when using the same database in VS that the website in IIS is using, I get different behavior.

    The website is a virtual directory under a website, I'm not sure if this is the problem or what.  Any thoughts on why the GroupName seems to be ignored when the website is deployed to IIS ?

    Thanks.

    Ted
  • Re: Custom Personalization Provider Problem...

    08-07-2009, 7:35 AM
    Answer
    • Member
      349 point Member
    • texx
    • Member since 06-16-2006, 12:34 PM
    • Posts 72

    Nevermind this one, I figured out the problem was that I didn't change the ProviderClass that my PersonalizationProvider was using in the web.config.  It was still using the Default SQLPersonalizationProvider, not the custom one I included. 

    Ted
Page 1 of 1 (2 items)