Hello,
I tried to add new user into Manage Users module using the + icon button, and i'm getting an error "NullReferenceException was unhandled by user code: Object reference not set to an instance of an object..." and stop into RegisterFull.ascx.cs .. BindCountry() method, under line #207 string CountriesFilter:
here is the code snippet:
private
void BindCountry()
{
//Country filter limits contry list
string CountriesFilter = portalSettings.CustomSettings["SITESETTINGS_COUNTRY_FILTER"].ToString();
CountryField.Items.Clear();
if (CountriesFilter.Length != 0)
{
CountryField.DataSource =
CountryInfo.GetCountries(CountriesFilter);
}
else
{
CountryField.DataSource =
CountryInfo.GetCountries(CountryTypes.InhabitedCountries,CountryFields.DisplayName);
}
CountryField.DataBind();
}
Do I miss a procedures, adding a module or do i have to change some values....? thanks for your help.
xw