YAFLogo

Meltdown
  • Meltdown
  • 53% (Neutral)
  • YAF Forumling Topic Starter
12 years ago
Hi all,

I have YAF 1.94 working on my local PC but just can't get it to work on my web host.

After making a post I get a 'Value cannot be null error", I also get this when trying to login to the admin area?

Any help appreciated.

Value cannot be null.

Parameter name: type

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentNullException: Value cannot be null.

Parameter name: type

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ArgumentNullException: Value cannot be null.

Parameter name: type]

System.Activator.CreateInstance(Type type, Boolean nonPublic) +7467190

System.Web.Profile.ProfileBase.CreateMyInstance(String username, Boolean isAuthenticated) +79

System.Web.Profile.ProfileBase.Create(String username, Boolean isAuthenticated) +231

System.Web.Profile.ProfileBase.Create(String username) +9

YAF.Classes.Utils.YafUserProfile.GetProfile(String userName) +4

YAF.Classes.Core.PostDataHelperWrapper.get_UserProfile() +41

YAF.Controls.DisplayPostFooter.DisplayPostFooter_PreRender(Object sender, EventArgs e) +862

System.Web.UI.Control.OnPreRender(EventArgs e) +8684102

System.Web.UI.Control.PreRenderRecursiveInternal() +80

System.Web.UI.Control.PreRenderRecursiveInternal() +171

System.Web.UI.Control.PreRenderRecursiveInternal() +171

System.Web.UI.Control.PreRenderRecursiveInternal() +171

System.Web.UI.Control.PreRenderRecursiveInternal() +171

System.Web.UI.Control.PreRenderRecursiveInternal() +171

System.Web.UI.Control.PreRenderRecursiveInternal() +171

System.Web.UI.Control.PreRenderRecursiveInternal() +171

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842

Sponsor

Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
12 years ago
Make sure the profile in the web.config is inheriting from YafUserProfile.