Author: andyb749 | Posted on: 11/6/2008 7:56:31 AM | Views : 274

I have a web application project and a web deployment project that I'm trying to use profiles with.  I know that ProfileCommon doesn't exist for Web Application so I've tried using the WebProfile addin.   Whenever I try and use Webprofile.Create, Webprofile.Current I get a null exception thrown as shown below:


[ArgumentNullException: Value cannot be null.
Parameter name: type]
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +2843963
   System.Web.Profile.ProfileBase.CreateMyInstance(String username, Boolean isAuthenticated) +76
   System.Web.Profile.ProfileBase.Create(String username, Boolean isAuthenticated) +312
   System.Web.Profile.ProfileBase.Create(String username) +9
   XLGroup.Minerva.User.UserProfile.Page_Load(Object sender, EventArgs e) in C:\Documents and Settings\burgess\My Documents\Visual Studio 2005\Projects\XLGroup.Minerva\ ...

Go to the complete details ...