YAFLogo
According to zee's code i did the followingDim sPassword As String = FormsAuthentication.HashPasswordForStoringInConfigFile(pgen.fvar(Request, "ppass"), "md5") Dim userID As Object = yaf.DB.user_login(1, pgen.fvar(Request, "puser"), sPassword) Response.Write(userID.ToString) If Not userID Is DBNull.Value Then Dim idName As String = String.Format("{0};{1};{2}", userID, 1, pgen.fvar(Request, "puser")) If (Request.QueryString("ReturnUrl") <> Nothing) Then FormsAuthentication.RedirectFromLoginPage(idName, True) Else FormsAuthentication.SetAuthCookie(idName, True) 'yaf.Forum. Response.Write("authen") End If Else 'AddLoadMessage(GetText("password_error")) End Ifi am gettin the error : System.ApplicationException: Failed to get configuration from Web.config. at yaf.Config.get_configSection() at yaf.YafDBConnManager.InitConnection() at yaf.DB.ExecuteScalar(SqlCommand cmd) at yaf.DB.user_login(Object boardID, Object name, Object password) at bestprax._default1.Page_Load(Object sender, EventArgs e) in C:\whb\Sites\9231\Web\default.aspx.vb:line 100 I also added the machine key in my web.config as well as yaf's web.config : please help me out
The YAF.NET Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies. More Details Close