[InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.]
System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp) +1094
Microsoft.VisualBasic.Interaction.MsgBox(Object Prompt, MsgBoxStyle Buttons, Object Title) +310
WASDAWebApp.MSSQL.GetRowDB(String sTable, String sColumn, String sFilterColumn, String sFilterString, String sFilterColumn1, String sFilterString1, String sFilterColumn2, String sFilterString2, String sFilterColumn3, String sFilterString3, String sFilterColumn4, String sFilterString4, String sSortColumn, Boolean bWholeWord, Boolean bDistinct, Boolean bShowSQL) in C:\Users\Lenovo\source\repos\WASDA\Old_App_Code\MSSQL.vb:325
WASDAWebApp.Results.Page_Load(Object sender, EventArgs e) in C:\Users\Lenovo\source\repos\WASDA\Results.aspx.vb:13
System.Web.UI.Control.OnLoad(EventArgs e) +106
System.Web.UI.Control.LoadRecursive() +68
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785
|