I got the same error, too.
I have a fresh DNN 4.3.7 Install edition installed. Until I tried impersonation and getting the error of CountryListBox...access is denied, the site authenticated me, but the Users table in the database didn't pull the information correctly from AD prior to the attempted impersonation fix.
The account I am using in the impersonation tag in web.config is my personal domain account, which is a basic user account.
Here's what's happening to my Users table:
- username pulled fine
- first name field was populated with my username without the domain prefix
- last name field populated with the domain name
- email field populated fine
- display name field not populated at all
I've been fighting AD integration on DNN for awhile now and haven't had complete success. This is discouraging and not at all a good thing for DNN's future in Intranets, in my opinion. So, current status is 2 problems, possibly unrelated:
- Users' table not populating properly
- CountryListBox error. Access is denied.
What might be the solution to the incorrect info being pulled or populating the User's table following successful authentication, in particular getting the Display Name field populated? I have a feeling the use of impersonation is not needed to get the User's table to populated properly, so maybe there's a solution unrelated to impersonation.
Dan