public string GetArchiveConnectionString_Client() { try { CurrentInfo objCurInfo = new CurrentInfo(); string connectionString = string.Empty; connectionString = objCurInfo.GetArchiveConnectionString(); return(connectionString); } catch (Exception ex) { //System.Web.HttpContext.Current.Response.Write("Exception: " + ex.Message); _strError = "DCRMobile " + " Public_fn:GetConnectionString_Client " + " Stack Trace : " + ex.StackTrace + " Error msg " + ex.Message; throw ex; } }