Jessie
  • Posts: 1
  • Joined: 29/01/2010
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
Forum Jump  
  • You cannot post new topics in this forum.
  • You cannot reply to topics in this forum.
  • You cannot delete your posts in this forum.
  • You cannot edit your posts in this forum.
  • You cannot create polls in this forum.
  • You cannot vote in polls in this forum.

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