YAFLogo

sud33p
  • sud33p
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
9 years ago
Hi,

I installed YAF-DNN-Module 1.9.6.1 on DNN 6 and everything went smoothly. I was able to add it to a page and configured YAF via the initial setup wizard. I can view the forum and its pages when not logged in without any problem, but as soon as I log in to DNN and view the forum page, I get the following error:

Error: Forum is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Parameter count does not match Parameter Value count. ---> System.ArgumentException: Parameter count does not match Parameter Value count. at Microsoft.ApplicationBlocks.Data.SqlHelper.AssignParameterValues(SqlParameter[] commandParameters, Object[] parameterValues) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Data.SqlDataProvider.ExecuteReader(String ProcedureName, Object[] commandParameters) at YAF.DotNetNuke.Controller.Data.GetYafBoardAccessMasks(Int32 boardId) at YAF.DotNetNuke.Utils.RoleSyncronizer.ImportDNNRoles(Int32 boardId, String[] roles) at YAF.DotNetNuke.Utils.RoleSyncronizer.SynchronizeUserRoles(Int32 boardId, Int32 portalId, Int32 yafUserId, UserInfo dnnUserInfo) at YAF.DotNetNuke.YafDnnModule.CheckForRoles(UserInfo dnnUser, Int32 yafUserId, MembershipUser dnnMembershipUser) at YAF.DotNetNuke.YafDnnModule.CreateOrUpdateUser() at YAF.DotNetNuke.YafDnnModule.DotNetNukeModule_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

Analyzing "GetYafBoardAccessMasks()" method tells me the "yaf_accessmask_list" stored proc is expecting 3 params but the method is only passing 2, thus the exception from "Microsoft.ApplicationBlocks.Data.SqlHelper.AssignParameterValues". Can someone help me figure out what I am doing wrong or what I am missing? Do I have an outdated (or newer) version of the assembly?

Thanks
Sudeep
Sponsor

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
9 years ago
Thanks for the Report. Issue found and fixed update Module Version is online.

http://dnnyafnet.codeplex.com/releases/view/84988 
sud33p
  • sud33p
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
9 years ago
Wow, that was a quick fix and release. Updated to the new one and it is working for me now.

Thanks.
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
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