YAFLogo

casualbob
  • casualbob
  • 53% (Neutral)
  • YAF Forumling Topic Starter
12 years ago
Hi guys, I'm getting this on pages that call the profile.

rror: System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ArgumentNullException: Value cannot be null. Parameter name: type at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Web.Profile.ProfileBase.CreateMyInstance(String username, Boolean isAuthenticated) at System.Web.Profile.ProfileBase.Create(String username, Boolean isAuthenticated) at YAF.Utils.YafUserProfile.GetProfile(String userName) at ASP.pages_admin_admin_ascx.__DataBind__control29(Object sender, EventArgs e) in d:\inetpub\LocalUser\iWoodTesting\pages\admin\admin.ascx:line 221

It's an existing database of members from another app. Profiles weren't active before. I've tried both built in asp.net and yaf profile providers but can't seem to get any further.

Here's my web.config.

applicationName="/" description=""/>

Many thanks

Sponsor
casualbob
  • casualbob
  • 53% (Neutral)
  • YAF Forumling Topic Starter
12 years ago
Found the answer on the YAF forums after getting some more clues.

Make a copy of bin\YAF.Providers.dll in bin\providers\YAF.providers.bin

Awesome!