YAFLogo

SOul12
  • SOul12
  • 51.2% (Neutral)
  • YAF Forumling Topic Starter
5 years ago
Hi,

I have the following error message when I run the forum for the first time after ugrading it to the latest version. Yaf run under an existing website (not standalone). Upgrade process has been done sucessfully.

Someone could help please?

Thanks

Sylvain

Server Error in '/' Application.

Procedure or function yaf_forum_moderators has too many arguments specified.

Exception Details: System.Data.SqlClient.SqlException: Procedure or function yaf_forum_moderators has too many arguments specified.

Source Error:

Stack Trace:

[SqlException (0x80131904): Procedure or function yaf_forum_moderators has too many arguments specified.]

System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +2555670

System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +5958360

System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +285

System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +4169

System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() +58

System.Data.SqlClient.SqlDataReader.get_MetaData() +89

System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) +430

System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) +2598

System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) +1483

System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +64

System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +240

System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +41

System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +12

System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +139

System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +136

System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +88

YAF.Types.Interfaces.Data.<>c__DisplayClass7_0.b__0(IDbCommand c) +72

YAF.Core.Data.DbAccessBase.Execute(Func`2 execFunc, IDbCommand cmd, IDbTransaction dbTransaction) +186

YAF.Types.Interfaces.Data.IDbAccessExtensions.GetDataset(IDbAccess dbAccess, IDbCommand cmd, IDbTransaction dbTransaction) +139

YAF.Types.Interfaces.Data.IDbAccessExtensions.GetData(IDbAccess dbAccess, IDbCommand cmd, IDbTransaction dbTransaction) +57

YAF.Core.Data.DynamicDbFunction.b__29_0(IDbCommand cmd) +29

YAF.Core.Data.DynamicDbFunction.DbFunctionExecute(DbFunctionType functionType, InvokeMemberBinder binder, IList`1 parameters, Func`2 executeDb, Object& result) +226

YAF.Core.Data.DynamicDbFunction.InvokeGetData(InvokeMemberBinder binder, Object[] args, Object& result) +87

YAF.Core.Data.TryInvokeMemberProxy.TryInvokeMember(InvokeMemberBinder binder, Object[] args, Object& result) +18

CallSite.Target(Closure , CallSite , Object , Int32 , Boolean ) +207

YAF.Core.Services.YafDbBroker.b__31_1(Object cdb) +260

CallSite.Target(Closure , CallSite , Func`2 , Object ) +81

YAF.Types.Interfaces.Data.IDbFunctionExtensions.GetAsDataTable(IDbFunction dbFunction, Func`2 function) +314

YAF.Core.Services.YafDbBroker.b__31_0() +45

YAF.Core.Services.Cache.HttpRuntimeCache.GetOrSetInternal(String key, Func`1 getValue, Action`1 addToCacheFunction) +299

YAF.Core.Services.Cache.HttpRuntimeCache.GetOrSet(String key, Func`1 getValue, TimeSpan timeout) +236

YAF.Core.Services.YafDbBroker.GetModerators() +133

YAF.Core.Services.YafDbBroker.BoardLayout(Int32 boardID, Int32 userID, Nullable`1 categoryID, Nullable`1 parentID) +194

YAF.Controls.ForumCategoryList.BindData() +154

YAF.Controls.ForumCategoryList.Page_Load(Object sender, EventArgs e) +5

System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51

System.Web.UI.Control.OnLoad(EventArgs e) +95

System.Web.UI.Control.LoadRecursive() +59

System.Web.UI.Control.LoadRecursive() +131

System.Web.UI.Control.LoadRecursive() +131

System.Web.UI.Control.LoadRecursive() +131

System.Web.UI.Control.LoadRecursive() +131

System.Web.UI.Control.LoadRecursive() +131

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
5 years ago
Did you run the upgrade wizard?
SOul12
  • SOul12
  • 51.2% (Neutral)
  • YAF Forumling Topic Starter
5 years ago
Hi,

yes I ran this wizard. And the installation has been successful. I am surprised that if the installation succed, the forum didn't run on the first use...