protected void uxExecuteButton_Click(object sender, EventArgs e) { try { if (uxExecuteText.Text != "") { AdminUtilities.RemoveAllCacheInMemory(); DatabaseConverter databaseConverter = new DatabaseConverter(); databaseConverter.OnScriptExecuting(); DataAccess.ExecuteNonQueryNoParameter(uxExecuteText.Text.Trim()); databaseConverter.OnScriptExecuted(); // Update configurations DataAccessContext.ClearConfigurationCache(); ConfigurationHelper.ApplyConfigurations(); databaseConverter.Convert(); AdminUtilities.RemoveAllCacheInMemory(); // Set up PaymentModule // PaymentModuleSetup paymentModule = new PaymentModuleSetup(); // paymentModule.ProcessDatabaseConnected(); uxMessageLabel.ForeColor = System.Drawing.Color.Green; uxMessageLabel.Text = "<strong>Upgrade Completed</storng>"; } else { DisplatError("No command to execute."); } } catch (Exception ex) { DisplatError(ex.Message); } }