Posted by: sud33p - Thursday, 7 February 2013 02:56:06 |
---|
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: [h]Error: Forum is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Parameter count does not match Parameter Value count. ---> [b]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) [/b]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 ---[/h] 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 |
Posted by: tha_watcha - Thursday, 7 February 2013 13:28:32 |
---|
Thanks for the Report. Issue found and fixed update Module Version is online. http://dnnyafnet.codeplex.com/releases/view/84988 |
Posted by: sud33p - Friday, 8 February 2013 02:24:24 |
---|
Wow, that was a quick fix and release. Updated to the new one and it is working for me now. Thanks. |