Add code to stop the process of loading data and notify the user when there is a problem with the 16-bit data, especially proc.ini files.

Added improvements to the code to better handle proc.ini files when they are part of a multi unit site, especially case sensitivity of elements of the proc.ini file.
The changes involve all of the stored procedures, functions and table changes to support multiuser and security configuration of PROMS.
This commit is contained in:
Rich
2013-11-20 22:58:38 +00:00
parent 1f2c18bdf1
commit 46a70899bd
3 changed files with 1182 additions and 10 deletions

View File

@@ -129,12 +129,15 @@ namespace DataLoader
vlnServer vs = new vlnServer();
frmMain.Status = "Loading " + fldr.Name;
MigrateChildren(vb, vs, dbConn, fldr, tn);
if (frmMain.ProcessFailed)
return false;
tn.Expand();
}
}
catch (Exception ex)
{
log.ErrorFormat("Could not load data, error = {0}", ex.Message);
log.Error("Error in LoadFolders", ex);
// log.ErrorFormat("Could not load data, error = {0}", ex.Message);
//return false;
throw new Exception("Error in LoadFolders", ex);
}
@@ -166,6 +169,8 @@ namespace DataLoader
vlnServer vs = new vlnServer();
frmMain.Status = "Loading " + fldr.Name;
MigrateChildren(vb, vs, dbConn, fldr, tn);
if (frmMain.ProcessFailed)
return false;
tn.Expand();
}
}