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 ForumsAuthenticationAuthenticationActive Directory Authentication Failed to register a user in the Users DatabaseActive Directory Authentication Failed to register a user in the Users Database
Previous
 
Next
New Post
6/30/2012 10:15 AM
 
We are new in this Active Directory Module of DNN v 6.1 and we are using AD 5.0.4. At first everything was doing ok, but i have noticed that it will register two accounts, the othe with domain\username and the other is username only. So i have deleted the accounts with the username. Everything was doing ok and suddenly every AD accounts we'rent able to log in. So i have thought of deleting an existing user via script, deleting in Users, aspnet_Users, aspent_Membership tables, since this has been working in my local machine since as of i know it will just recreate the user via AD, but this did not happened. I was thinking that there's something wrong with the AD module, it failed to register the User from the AD account. Please share some information, this has been a pain for a week. I would really appreciate your help.
 
New Post
7/6/2012 11:03 AM
 
Is this happening with just one user or all users? Why it would register two accounts I have no idea as I've never seen that before and there's nothing in the code that would allow that to happen. The provider puts the domain name in front of the user to prevent username collisions by design. Once the user has authenticated against the domain the provider just uses DotNetNuke's procedures to create the account.

Can you post any related info from the Event Viewer when the user tries to login?
 
New Post
7/15/2012 11:11 PM
 

Hi Mike! We have already solved this problem, we have done this by changing the settings in the Authenitcation module by setting fulltrust on the configuration. But there's still a problem, 1 user cannot log in and others can. Can you please help me with this? This issue has been bugging us for quite a while. When Loggin in the Login.aspx, there's no error message but it cant log in. Here is the Message in the Events Viewer.


AssemblyVersion: 6.0.1

PortalID: 0

PortalName: HBI

UserID: -1

UserName:

ActiveTabID: 161

ActiveTabName: Login

RawURL: /login.aspx

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://www.hbi.org/login.aspx

UserAgent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: ee6303f2-a1cf-45c1-9e9b-ed8d06403e6e

InnerException: Object reference not set to an instance of an object.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: DotNetNuke.Authentication.ActiveDirectory.AuthenticationController.AuthenticateUser

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Authentication.ActiveDirectory.AuthenticationController.AuthenticateUser(UserInfo objUser, ADUserInfo objAuthUser, UserLoginStatus& loginStatus, String ipAddress) at DotNetNuke.Authentication.ActiveDirectory.AuthenticationController.ManualLogon(String userName, String strPassword, UserLoginStatus& loginStatus, String ipAddress) at DotNetNuke.Authentication.ActiveDirectory.Login.cmdLogin_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Source:

Server Name: DOTNETNUKE


Please help us. More Power!


 
New Post
7/15/2012 11:16 PM
 
Hi Mike, we have solved this issue already, we just changed the settings in the Active Directory Module by changing the Trust Level to Full in the webconfig. But there is still a user that cant log in, there seems to be no Module Message (Error Message) but when i navigate to Event Viewer I saw this error. Please Help Us, this has been bugging is for quite a while. Thanks!

AssemblyVersion: 6.0.1

PortalID: 0

PortalName: HBI

UserID: -1

UserName:

ActiveTabID: 161

ActiveTabName: Login

RawURL: /login.aspx

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://www.hbi.org/login.aspx

UserAgent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: ee6303f2-a1cf-45c1-9e9b-ed8d06403e6e

InnerException: Object reference not set to an instance of an object.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: DotNetNuke.Authentication.ActiveDirectory.AuthenticationController.AuthenticateUser

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Authentication.ActiveDirectory.AuthenticationController.AuthenticateUser(UserInfo objUser, ADUserInfo objAuthUser, UserLoginStatus& loginStatus, String ipAddress) at DotNetNuke.Authentication.ActiveDirectory.AuthenticationController.ManualLogon(String userName, String strPassword, UserLoginStatus& loginStatus, String ipAddress) at DotNetNuke.Authentication.ActiveDirectory.Login.cmdLogin_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Source:

Server Name: DOTNETNUKE
 
New Post
7/15/2012 11:16 PM
 
8:10am
Checked on to the HBI Announcement Module (1:30)

bshean@HBI.ORG

hubportdev@gmail.com
clerick444

Hi Mike, we have solved this issue already, we just changed the settings in the Active Directory Module by changing the Trust Level to Full in the webconfig. But there is still a user that cant log in, there seems to be no Module Message (Error Message) but when i navigate to Event Viewer I saw this error. Please Help Us, this has been bugging is for quite a while. Thanks!

AssemblyVersion: 6.0.1

PortalID: 0

PortalName: HBI

UserID: -1

UserName:

ActiveTabID: 161

ActiveTabName: Login

RawURL: /login.aspx

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://www.hbi.org/login.aspx

UserAgent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: ee6303f2-a1cf-45c1-9e9b-ed8d06403e6e

InnerException: Object reference not set to an instance of an object.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: DotNetNuke.Authentication.ActiveDirectory.AuthenticationController.AuthenticateUser

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Authentication.ActiveDirectory.AuthenticationController.AuthenticateUser(UserInfo objUser, ADUserInfo objAuthUser, UserLoginStatus& loginStatus, String ipAddress) at DotNetNuke.Authentication.ActiveDirectory.AuthenticationController.ManualLogon(String userName, String strPassword, UserLoginStatus& loginStatus, String ipAddress) at DotNetNuke.Authentication.ActiveDirectory.Login.cmdLogin_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Source:

Server Name: DOTNETNUKE

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationActive Directory Authentication Failed to register a user in the Users DatabaseActive Directory Authentication Failed to register a user in the Users Database


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