Server Error in '/' Application.

Invalid company record.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Exception: Invalid company record.

Source Error:


Line 19:             if (!String.IsNullOrEmpty(pkg))
Line 20:             {
Line 21:                 var company = CompanyInfo.GetCompany(null, pkg);
Line 22: 
Line 23:                 if (company != null)

Source File: c:\Sites_VIVALiveWeb01\vivahealth-py2024\marketing-site\CustomerService\Plan-Documents\Default.aspx.cs    Line: 21

Stack Trace:


[Exception: Invalid company record.]
   Viva.Primary.Commercial.Companies.CompanyInfo.Load(CommercialCompanies_GetRecordsResult record, Boolean includeRecycledDocuments) in C:\ccg-git\VIVA-Primary\VIVA.Primary\Commercial\Companies\CompanyList.cs:230
   Viva.Primary.Commercial.Companies.CompanyInfo.Load(String package) in C:\ccg-git\VIVA-Primary\VIVA.Primary\Commercial\Companies\CompanyList.cs:206
   Viva.Primary.Commercial.Companies.CompanyInfo.GetCompany(UserSession session, String package) in C:\ccg-git\VIVA-Primary\VIVA.Primary\Commercial\Companies\CompanyList.cs:169
   PlanDocuments.Page_Load(Object sender, EventArgs e) in c:\Sites_VIVALiveWeb01\vivahealth-py2024\marketing-site\CustomerService\Plan-Documents\Default.aspx.cs:21
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0