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 ForumsAuthenticationAuthenticationIIS7 and Active Directory errorIIS7 and Active Directory error
Previous
 
Next
New Post
5/19/2008 6:35 AM
 

Hi!

I’ve installed DNN on Vista’s IIS7 (using this guide: http://www.snowball.be/DNN+And+IIS7+How+To+Get+It+To+Work.aspx) with WS2003+SQL2005 backend. It is working fine. I installed the AD module too, and I’ve gon an error when configure it.

It showing everything is OK:

Accessing Global Catalog:
OK
Checking Root Domain:
OK
Accessing LDAP:
OK
Find all domains in network:
1 Domain(s):
pg1.local (PG1)

But at the bottom of the page:

Error: is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Access is denied ---> System.Runtime.InteropServices.COMException (0x80070005): Access is denied at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) at System.DirectoryServices.DirectoryEntry.Bind() at System.DirectoryServices.DirectoryEntry.get_IsContainer() at System.DirectoryServices.DirectoryEntries.ChildEnumerator..ctor(DirectoryEntry container) at System.DirectoryServices.DirectoryEntries.GetEnumerator() at DotNetNuke.Authentication.ActiveDirectory.Settings.CheckPipelineMode() at DotNetNuke.Authentication.ActiveDirectory.Settings.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

 

When I try to login with AD user (at first time), it showing:

A critical error has occurred.
Unknown UserCreateStatus value encountered Parameter name: UserRegistrationStatus

In the event log:

AssemblyVersion: 04.08.02
PortalID: 0
PortalName: Area-51
UserID: -1
UserName:
ActiveTabID: 36
ActiveTabName: Home
RawURL: /Home/tabid/36/ctl/Login/Default.aspx?returnurl=%2fHome%2ftabid%2f36%2fDefault.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://robi-ws/Home/tabid/36/ctl/Login/Default.aspx?returnurl=%2fHome%2ftabid%2f36%2fDefault.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; hu; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 72810bda-fcc7-411b-95aa-361ba99fb23e
InnerException: Unknown UserCreateStatus value encountered Parameter name: UserRegistrationStatus
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Entities.Users.UserController.GetUserCreateStatus
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Unknown UserCreateStatus value encountered Parameter name: UserRegistrationStatus ---> System.ArgumentException: Unknown UserCreateStatus value encountered Parameter name: UserRegistrationStatus at DotNetNuke.Entities.Users.UserController.GetUserCreateStatus(UserCreateStatus UserRegistrationStatus) at DotNetNuke.Authentication.ActiveDirectory.Login.WindowsAuthorization(UserLoginStatus& loginStatus, String IP) at DotNetNuke.Authentication.ActiveDirectory.Login.cmdLogin_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: ROBI-WS

 

But when I try to login second time, it logs in, no error.

What can I do? (or what am I doing wrong?)
 

Thanks

ps: sorry for my bad english :-)

 
New Post
5/19/2008 7:37 PM
 

I'll have to do some checking on the first error (though I think it permission related (the generic account that the site runs under most likely doesn't have permissions to read the Active Directory and if you use impersonation it should go away) but the second error is a known issue with the .03 version of the provider and is fixed in the .04 beta.

 
New Post
2/5/2009 6:08 PM
 
I would like to report that I get the same error: A critical error has occurred. Unknown UserCreateStatus value encountered Parameter name: UserRegistrationStatus I guess it happens when trying to create the dnn user account from the AD user account. Can anyone confirm a fix (as we have many, many AD users)?
 
New Post
2/6/2009 12:10 AM
 

Ric, what version of DNN are you running? If it's DNN 4 what version of the AD provider are you using? This error has cropped up again in DNN 5 and will be fixed in the .02 release. The .01 release was already in the DNN Release Tracker when the bug was discovered and it was decided not to pull it as it has some critical fixes in it.

 
New Post
4/28/2010 7:19 AM
 

Hi,

I'm using DNN 05.03.00 (Win2008 Server, IIS7) and I've the same problem as Sass Róbert (at least the first problem is the same).

But every time an AD user try to login:

Server Error in '/' Application.
--------------------------------------------------------------------------------
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Event Log:

AssemblyVersion: 5.3.0
PortalID: 0
PortalName: Área do Pessoal
UserID: -1
UserName:
ActiveTabID: 39
ActiveTabName: Home
RawURL: /default.aspx
AbsoluteURL: /default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: aa67fa78-3742-4ba3-82fb-d85b3ce3c7c3
InnerException: Unhandled Error:
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Security.Membership.AspNetMembershipProvider.UpdateUserMembership
StackTrace:
Message: System.Exception: Unhandled Error: ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Security.Membership.AspNetMembershipProvider.UpdateUserMembership(UserInfo user) at DotNetNuke.Security.Membership.AspNetMembershipProvider.UpdateUser(UserInfo user) at DotNetNuke.Entities.Users.UserController.UpdateUser(Int32 portalId, UserInfo objUser, Boolean loggedAction) at DotNetNuke.HttpModules.Membership.MembershipModule.OnAuthenticateRequest(Object s, EventArgs e) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---

 

But if the user hit the refresh button (after the error), it logins without error.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationIIS7 and Active Directory errorIIS7 and Active Directory error


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