Geeks With Blogs

News
About Me:
I am a Female SharePoint Developer (a platinum unicorn). I have been working with SharePoint since I attended the Portal University in 2005. I hold a BA in Computer Science from the University of Missouri - Kansas City. I love playing Rockband, organizing user group meetings, working with code, attending events as a speaker or organizer, and having bizarre conversations about geek things with cool people. If you have any comments or questions fill out the contact form and I will try my best to help.



The Guide of a MOSSLover Becky Isserman's Blog
I was playing with the ItemUpdated Event in a Document Library Definition File using VSEWSS.  I stepped into the filed like a good little girl using the w3wp.exe process.  Guess what the ServerContext is null, so I can't use the UserProfileManager...I found this little MSDN Post: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3273163&SiteID=1.  It turns out there is a bug in the ServerContext, which is a little bizarre considering you can do SPContext.Current.Web/Site...I guess it's time to use the webservice to update user profiles: http://msdn.microsoft.com/en-us/library/ms544240.aspx.  You have to love the random bugs:)  Sometimes I wonder if MOSSLover is a appropriate...Maybe I should be the SharePoint Bug Girl Mascot... Posted on Friday, July 11, 2008 2:08 PM MOSS | Back to top


Comments on this post: So You Want to Use a ServerContext in an Event Receiver...Too Bad...

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © MOSSLover | Powered by: GeeksWithBlogs.net