Dave Burke : Freelance .NET Web Developer specializing in Online Communities

CS Nuglet: UserRoleNames NullReference Exception Fix

The guys who attended "Getting Started with Community Server" at last weekend's New England Code Camp have already seen this error on the big screen as we were having our first look at a new Community Server site we created with the Web Installer.  D'oh!  We were able to clear the error and display our sweet new site, but not immediately because I was being dumb.  My excuse is that the laptop is my first of the modern era and I use only Windows Server in my office, so working with multiple Community Server sites in Windows XP Pro is still new to me.

When you see the UserRolesNames NullReference Exception error it means, in non-technical terms, that two Community Server sites are fighting over the same cookies.  My laptop is named Nordic (after my [NordicTrack]) and my NORDIC/cs21demo site was trying to use NORDIC/dbvtcs21's cookies.  Clear the cookies, restart the browser, and the error goes away.  (Or, if giving a demo with IE7, load the site in Firefox, which is what we did at Code Camp.)  And yes, multiple Community Server sites on XP Pro work just fine.  We're only talking about the initial site cookie grab. 

 

Comments (2) | Post RSS RSS comment feed

Posted on 10/29/2006 2:28:46 PM by Dave Burke
Categories: Community Server
Tags:

Related posts

Comments (2) -

10/29/2006 5:09:05 PM Permalink

Dave,

The IE Developer Toolbar [1] has a few menu items that can clear session cookies and domain cookies, which might make this cookie-clearing business a little easier.

[1] http://tinyurl.com/7mnyh


Cheers,

- Aaron

Aaron Robinson |

10/29/2006 6:28:58 PM Permalink

Aaron, My Main HttpApplication Man!  Thanks for the url to the IE Developer Toolbar.  Are you using this with IE7?  It was released March 2006, so I was curious before installing.  The Toolbar sounds great.

daveburke |


Powered by BlogEngine.NET 2.0.0.36
Theme by Dave Burke