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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...User Accounts on Dnn4User Accounts on Dnn4
Previous
 
Next
New Post
8/14/2006 1:34 AM
 
Concerns deleting then re-enabling *Name properties in DNN4.

Using the 'manage profile properties' screen I deleted what I thought were redundant fields for FirstName, MiddleName, LastName.
This worked, until I realised new registrations were now not storing these fields.
(apparently the core is using ProfilePropertyDefinition for name fields, but not email?)

Trying to re-enable these name fields, I have set 'deleted' in the DB back to 0.
However now the user accounts module gives:

Error: User Accounts is currently unavailable.
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) at DotNetNuke.Modules.Admin.Users.UserAccounts.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

TIA,
Nick
 
New Post
8/14/2006 9:29 PM
 
Look in your user tables and fill in the null spaces with something. The error indicates the code is not accounting for nulls. This should be put into the gemini...

Jason Honingford - Web & Software Developer
www.PortVista.com
 
New Post
8/15/2006 1:37 AM
 
Thanks for that Mr. PortVista, worked a treat.
 
New Post
8/18/2006 6:20 PM
 
Thanks for the fix - I too had this problem. I too find it strange that you when you delete the FirstName and LastName from the "Manage Profile Properties" the firstname and lastname are not saved to the "users" table when the "Manage Profiles Properties" data are normally stored in the "UserProfile" table.
 
New Post
8/20/2006 9:13 AM
 
There are a lot of places in DNN source code where the existence of NULL is not checked.

:(

Seems like an oversight to me, usually reserved to "rookie" mistakes. I expect better from this team.
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...User Accounts on Dnn4User Accounts on Dnn4


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