diff --git a/PROMS/VEPROMS.CSLA.Library/Generated/FormatInfoList.cs b/PROMS/VEPROMS.CSLA.Library/Generated/FormatInfoList.cs index cfe55f2f..459f7407 100644 --- a/PROMS/VEPROMS.CSLA.Library/Generated/FormatInfoList.cs +++ b/PROMS/VEPROMS.CSLA.Library/Generated/FormatInfoList.cs @@ -160,6 +160,14 @@ namespace VEPROMS.CSLA.Library catch (Exception ex) { if (_MyLog.IsErrorEnabled) _MyLog.Error("FormatInfoList.DataPortal_Fetch", ex); + System.Text.StringBuilder sbMsg = new System.Text.StringBuilder(); + sbMsg.Append("The SQL Stored Procedures may need updating."); + sbMsg.Append("\n\nPlease have your DBA update the database with the PROMSFixes.sql script file that was delivered with this PROMS executable."); + sbMsg.Append("\n\nThe PROMSFixes.sql file is included with the PROMS installation download."); + sbMsg.Append("\n\nIt can also be found in your PROMS executable folder:"); + sbMsg.AppendFormat("\n\t{0}", Volian.Base.Library.ExeInfo.PROMSExecutableFolderPath()); + + System.Windows.Forms.MessageBox.Show(sbMsg.ToString(), "Update Stored Procedures", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Exclamation); throw new DbCslaException("FormatInfoList.DataPortal_Fetch", ex); } this.RaiseListChangedEvents = true;