private string GetOcrText(PageSummaryView ps) { try { return(new BHLProvider().GetFileAccessProvider(ConfigurationManager.AppSettings["UseRemoteFileAccessProvider"] == "true").GetFileText(ps.OcrTextLocation)); } catch (Exception ex) { return(DebugUtility.GetErrorInfo(this.Context.Request, ex)); } return(""); }