System.NullReferenceException: Object reference not set to an instance of an object.
I have CreateUser.aspx
public void LoadTab6(Tab tab, string username)
{
bool checkLicense = LicensingUtilities.IsCustomerInstall("MODEPLANNER");
List<string> licensedModules = checkLicense ? new List<string>(LicensingUtilities.GetLicensedModuleStrings()) : new List<string>();
if (checkLicense && !licensedModules.Contains("MODEPLANNER"))
{
tab.Visible = false;
}
else
{
tab.Visible = true;
tab.Text = "TMS";
IBranchLogic branchLogic = MasterFilesFactory.CreateBranchLogic();
List<BranchDTO> result = branchLogic.GetAllBranches(false);
foreach (IBranchBase branch in result ...
Go to the complete details ...