.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

SPPersistedObject.get_PersistedStoreProvider was not moled

Posted By:      Posted Date: October 27, 2010    Points: 0   Category :SharePoint
DiagnosticService.Local.Log("Error in FeatureActivated of RenameBlogTitleFeatureEventReceiver - {0}",
               new object[] { ex },
               DiagnosticService.Local.Areas["Intranet.Portal"].Categories["Rename Blog"],


I have added the above code to my Sharepoint Feature Reciever class to log exception in Sharepoint ULS.

As soon as I added, my testmethod is showing MoleNotImplementedException. I could not relate this exception to the Code that I added. Can anybody please help

--- Description
failing test: MoleNotImplementedException, SPPersistedObject.get_PersistedStoreProvider() was not moled.
[PexDescription("this test requires to run under the Pex profiler in order to reproduce")]
public void FeatureActivatedT

View Complete Post

More Related Resource Links

SPPersistedObject and assembly version dependency

Hi All, I have implemented some SharePoint solution that uses SPPersistedObject-s, this solution has some DLL files which are versioned. So the problem is that when the DLL version changes, I can't see those object that were written with an old DLL version anymore, SPPersistedObject objects are the same(structure, etc ...) and they are still there, because if I add an old version back this objects are still there and I'm able to read it. Any suggestions, how this can "limitation" can be avoided? Any workaround? Any proper solution?   Best Regards and  Thank You, Mitja
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend