Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationDNN 4.3.2 Active Directory Problem - Help Needed - Will payDNN 4.3.2 Active Directory Problem - Help Needed - Will pay
Previous
 
Next
New Post
7/25/2006 3:43 PM
 

hello,

I am having a huge issue related to Active Directory. I am even ready to pay for anyone who might solve my problem. I need your support desperately.

My setup is: Windows 2003 Web server, member of AD. IIS 6.0, DNN 432

I can login to my portal using Active Directory Authentication and the users are created automatically which is fine but when I go to

Admin/User Accounts/ and click on “ALL USERS”, I get an error. The error details are:

 ModuleId: 357
ModuleDefId: 15
FriendlyName: User Accounts
ModuleControlSource: Admin/Users/Users.ascx
AssemblyVersion: 04.03.02
Method: DotNetNuke.UI.WebControls.TextColumnTemplate.GetValue
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: My Website
UserID: 3
UserName: ARTNERS\Administrator
ActiveTabID: 42
ActiveTabName: User Accounts
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://255.46/Admin/UserAccounts/tabid/42/logon/windows/Default.aspx
ExceptionGUID: 89a112f4-ea6c-4985-ba2a-84c1d779efa2
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Object reference not set to an instance of an object.
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.WebControls.TextColumnTemplate.GetValue(DataGridItem container) at DotNetNuke.UI.WebControls.TextColumnTemplate.Item_DataBinding(Object sender, EventArgs e) at System.Web.UI.Control.OnDataBinding(EventArgs e) at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind() at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind() at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind() at System.Web.UI.WebControls.DataGrid.CreateItem(Int32 itemIndex, Int32 dataSourceIndex, ListItemType itemType, Boolean dataBind, Object dataItem, DataGridColumn[] columns, TableRowCollection rows, PagedDataSource pagedDataSource) at System.Web.UI.WebControls.DataGrid.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) at System.Web.UI.WebControls.BaseDataList.DataBind() at DotNetNuke.Modules.Admin.Users.UserAccounts.BindData(String SearchText, String SearchField) in D:\Webs\DNN432\htdocs\Admin\Users\Users.ascx.vb:line 211 at DotNetNuke.Modules.Admin.Users.UserAccounts.Page_Load(Object sender, EventArgs e) in D:\Webs\DNN432\htdocs\Admin\Users\Users.ascx.vb:line 495 --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name:WEB-01

If I go to

Admin/Security Roles/Portal Editors and click on “Edit Security Roles” pencil icon for “Portal Editors”, and then click on the link “Manage Users in this Role “ then only thing I see is the “x” icon. I don’t see the username , Effictive date etc. but I can see that they are there but the names just don’t show up.

Error Related Screenshots

 

 I really really appreciate if anybody can help me. As I said I am even ready to pay for a successful resolution.

 Thank you very much

http://www.nimsweb.com/clients/altug/dnnerror01.jpg

http://www.nimsweb.com/clients/altug/dnnerror02.jpg

http://www.nimsweb.com/clients/altug/dnnerror03.jpg
 
New Post
8/3/2006 10:30 AM
 

Hi,

I may be completely off the mark with this, but I've just started looking at DNN this morning and have set it up in my test environment simialr to yours. I got the same error, and I was also looking at the population of AD information (specifically the display name). Anyway I read a few threads about the auto-population of the data not working and SQL scripts to get around this.

I manually updated the display name and first and last names in SQL database and it removed the above issue!! If you've not got lots of users, then you could try doing this manually.

One issue that I see here is that if your AD information changes, then DNN will not automatically update its internal database, it should be possible to write a vbScript to read the username field and get that information from AD and populate all the other fields (i.e. if someone gets married and changes surname).

Hope this helps.

Jono

 
New Post
8/3/2006 10:39 AM
 
4.3.2 is a Release Candidate and the final version 4.3.3 has tons of fixes. I would try the update first.
 
New Post
8/3/2006 2:15 PM
 

Mariette Knap wrote
4.3.2 is a Release Candidate and the final version 4.3.3 has tons of fixes. I would try the update first.

I agree - I had 4.3.2, and just upgraded to 3, and there's a lot of bug fixes.  Upgrade first and then see how it goes.

 
New Post
8/22/2006 12:50 PM
 
I had the same issue, with 4.3.4. I found that if I manually updated the DisplayName field in the Users table, the error was resolved. To resolve for now, I added this line to the FillUserInfo Sub in ADSIProvider.vb:
            .DisplayName = CheckNullString(UserEntry.Properties(ADSI_CNAME).Value.ToString)

This required a recompile of DotNetNuke.Authentication.ADSIProvider.dll.

You could also work around this with a SQL trigger that fires on Inserts to the Users table. Set the DisplayName field equal to FirstName + ' ' + LastName.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationDNN 4.3.2 Active Directory Problem - Help Needed - Will payDNN 4.3.2 Active Directory Problem - Help Needed - Will pay


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out