We have a website project that was launched many years ago. Personalized web parts are used on the landing page, and the web part manager is an extension of the .NET WebPartManager class located in App_Code. Curiously, if we move this class to another assembly in the same solution, the personalization will be cleared, and we will be able to save the new personalization. But when we move the class back, it again loads the original personalization. All PathId, UserId, and ApplicationId objects remain unchanged in the asp_PersonalizationPerUser table (see http://msdn.microsoft.com/en-us/library/aa478955.aspx for details.)
UPDATE. The reason I ask is because we need to convert our project into a web application project, and we donโt want to cause any crashes among some of the 500 users who use the application daily. I set the shelves for conversion, and everything seems to be designed except for this problem.
UPDATE 2: It occurred to me that I needed to reformulate my question.
How to keep personalization when moving our class that comes from WebPartManager to a new assembly?
source share