narayana
  • Posts: 5
  • Joined: 17/04/2014
9.6.1 integrated into asp.net site...

If I try login I have browser error:

Line: 939
Error: Sys.WebForms.PageRequestManagerServerErrorException: Procedure or function 'yaf_user_update_single_sign_on_status' expects parameter '@IsGoogleUser', which was not supplied.

I find source code of "user_update_single_sign_on_status":

/// <summary>
/// Update the single Sign on Status
/// </summary>
/// <param name="userID">
/// The user id.
/// </param>
/// <param name="isFacebookUser">
/// The is Facebook User
/// </param>
/// <param name="isTwitterUser">
/// The is Twitter User.
/// </param>
public static void user_update_single_sign_on_status([NotNull] object userID, [NotNull] object isFacebookUser, [NotNull] object isTwitterUser)
{
using (var cmd = MsSqlDbAccess.GetCommand("user_update_single_sign_on_status"))
{
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.AddWithValue("UserID", userID);
cmd.Parameters.AddWithValue("IsFacebookUser", isFacebookUser);
cmd.Parameters.AddWithValue("IsTwitterUser", isTwitterUser);
MsSqlDbAccess.Current.ExecuteNonQuery(cmd);
}
}

Realy parameter "IsGoogleUser" is in the DB table "User" but is not in the "user_update_single_sign_on_status" method of LegacyDB class.

What to do?

If I start original page which didn't integrated into my asp.net site but use common web.config error also is.

Anybody now what config parameter broke login?
Sponsor
tha_watcha
  • Posts: 4079
  • Joined: 06/03/2010
Originally Posted by: narayana


What to do?



Upgrade to the latest version of YAF.NET


UserPostedImage
tha_watcha
  • Posts: 4079
  • Joined: 06/03/2010
Well technically all plug-ins that work with jquery 1.7.1 should also work with jquery 1.10. But if you still want to use that old version in YAF 2.1.2, all you need to do is set the app.config setting

<add key="YAF.JQuery" value="js/jquery.min.js" />

And include that file in the file system.

UserPostedImage
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