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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user