Jessie
  •  Jessie
  • 50.6% (Neutral)
  • YAF Forumling Topic Starter
2010-01-29T00:39:53Z
Hi everyone,

I am trying to integrate my application with the forum (refer to http://wiki.yetanotherfo...mbershipIntegration.ashx ) but i got error when i used the following code as below

Compiler Error Message: CS0103: The name 'yaf' does not exist in the current context

Source Error:

System.Web.UI.WebControls.Login loginControl = (System.Web.UI.WebControls.Login)sender;
String password = FormsAuthentication.HashPasswordForStoringInConfigFile(loginControl.Password, "md5");
Object userID = yaf.DB.user_login(1, loginControl.UserName, password);

if (userID == DBNull.Value)


May I know how to solve this problem? Thanks.
Sponsor

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