An error has occurred.
Error:
An item with the same key has already been added.
Stack:
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at MySql.Data.MySqlClient.MySqlPoolManager.d__21.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MySql.Data.MySqlClient.MySqlConnection.d__91.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MySql.Data.MySqlClient.MySqlConnection.Open() at JMCData_thread_safe.DataAccess_thread_safe.RunSqlQuerywithDataTable(String SQL, MySqlConnection myConnection) in C:\Users\Administrator\Documents\Visual Studio 2022\Projects\Release\JMC\JMCSharedClassLibrary\DataAccess_thread_safe.cs:line 224 at SqlGenericFunctions_thread_safe.TableExists(String database_to_check, String table_to_check, MySqlConnection myConnection) in C:\Users\Administrator\Documents\Visual Studio 2022\Projects\Release\JMC\JMCSharedClassLibrary\SqlGenericFunctions_thread_safe.cs:line 765 at SqlGenericFunctions_thread_safe.DoesSchoolYearDataExist(Int16 yearAsOfFall, String database_name, MySqlConnection myConnection) in C:\Users\Administrator\Documents\Visual Studio 2022\Projects\Release\JMC\JMCSharedClassLibrary\SqlGenericFunctions_thread_safe.cs:line 926 at JMCCommon_thread_safe.Common_thread_safe.GetCurrentYearVars(String& yearXXYY, Int16& yearAsOfFall, MySqlConnection myConnection) in C:\Users\Administrator\Documents\Visual Studio 2022\Projects\Release\JMC\JMCSharedClassLibrary\Common_thread_safe.cs:line 4430 at General_Store.Global.Session_Start(Object sender, EventArgs e) in C:\Users\Administrator\Documents\Visual Studio 2022\Projects\Release\JMC\General Store\Global.asax.cs:line 139 at System.Web.SessionState.SessionStateModule.CompleteAcquireState() at System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Please contact JMC if you are having unexplained errors.
|