Server Error in '/' Application.

#42S02Table 'casinodata.promotions' doesn't exist

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: MySql.Data.MySqlClient.MySqlException: #42S02Table 'casinodata.promotions' doesn't exist

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[MySqlException: #42S02Table 'casinodata.promotions' doesn't exist]
   MySql.Data.MySqlClient.PacketReader.CheckForError() +91
   MySql.Data.MySqlClient.PacketReader.ReadHeader() +229
   MySql.Data.MySqlClient.PacketReader.OpenPacket() +119
   MySql.Data.MySqlClient.NativeDriver.ReadResult(Int64& affectedRows, Int64& lastInsertId) +17
   MySql.Data.MySqlClient.CommandResult.ReadNextResult(Boolean isFirst) +67
   MySql.Data.MySqlClient.NativeDriver.SendQuery(Byte[] bytes, Int32 length, Boolean consume) +130
   MySql.Data.MySqlClient.MySqlCommand.GetNextResultSet(MySqlDataReader reader) +391
   MySql.Data.MySqlClient.MySqlDataReader.NextResult() +270
   MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +163
   MySql.Data.MySqlClient.MySqlCommand.System.Data.IDbCommand.ExecuteReader() +6
   DBAccess.dbAccessMySql.RetrieveStoredProcedureAsReader(String name, List`1 parameters) +229
   DataAccessLayer.PromotionGateway.GetAll() in D:\Development\whichpoker2\WhichPoker2DAL\PromotionGateway.cs:26
   BusinessLogicLayer.PromotionLogic.GetPromotions() in D:\Development\whichpoker2\WhichPoker2BLL\Promotions\PromotionLogic.cs:18

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
   System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +72
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +296
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
   System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance) +482
   System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +2040
   System.Web.UI.WebControls.Repeater.GetData() +50
   System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +232
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +53
   System.Web.UI.WebControls.Repeater.DataBind() +72
   System.Web.UI.WebControls.Repeater.EnsureDataBound() +55
   System.Web.UI.WebControls.Repeater.OnPreRender(EventArgs e) +12
   System.Web.UI.Control.PreRenderRecursiveInternal() +77
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360


Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832