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