diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ROFSTExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ROFSTExt.cs index e6c993cb..af9f1a8e 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ROFSTExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ROFSTExt.cs @@ -208,6 +208,7 @@ namespace VEPROMS.CSLA.Library string rofstfilepath = rdi.FolderPath + @"\ro.fst"; DirectoryInfo di = new DirectoryInfo(rdi.FolderPath); if (!di.Exists) return null; + if (!File.Exists(rofstfilepath)) return null; // check if this rofst has been loaded, i.e. dts on file versus dts in db... // if so, just make association with docversion.