sud33p
  •  sud33p
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
2013-02-07T01:56:06Z
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
2013-02-07T12:28:32Z
Thanks for the Report. Issue found and fixed update Module Version is online.

http://dnnyafnet.codeplex.com/releases/view/84988 
UserPostedImage
sud33p
  •  sud33p
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
2013-02-08T01:24:24Z
Wow, that was a quick fix and release. Updated to the new one and it is working for me now.

Thanks.

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