Meltdown
  •  Meltdown
  • 53% (Neutral)
  • YAF Forumling Topic Starter
2010-09-22T22:59:15Z
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
2010-09-24T18:10:34Z
Make sure the profile in the web.config is inheriting from YafUserProfile.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved