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 ForumsAuthenticationAuthenticationAD login donAD login don't work
Previous
 
Next
New Post
3/21/2008 4:17 AM
 

I installed AD 1.0.0 on DNN 4.7. It didn’t work. I couldn’t login (windows login) where my name should be, I only se Register | Login. In top of the page I get this error

A critical error has occurred.
The type initializer for 'DotNetNuke.Authentication.ActiveDirectory.AuthenticationProvider' threw an exception.

I then upgraded to DNN 4.8 and installed AD 1.0.3 Beta. Same problem.

I login as Host and go to admin -> authentication

I can't select anything in authentication type. The list is empty. And I can't save the form. At the bottom of the page I get this error

Error: 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.Authentication.ActiveDirectory.Settings.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

 
New Post
3/21/2008 7:00 PM
 

Check your ModuleSettings table. Find the SettingName for AD_ProviderTypeName and make sure the SettingValue is DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider, DotNetNuke.Authentication.ActiveDirectory. I'm not sure if this is the cause of the error you're seeing but I have run into (and heard of) similar instances of where the authentication type doesn't get populated. In the other instances it was always on DNN installs that were originally DNN 3 versions that had been upgraded at some point ot DNN 4 and the SettingValue was still pointing to the original AD Provider.

 
New Post
3/22/2008 5:48 AM
 

I changed the value (it was pointing at the old ad provider) but it did not change anything. I still can't see any value in the authentication type field.

 
New Post
3/22/2008 12:54 PM
 

Can you get in to your site to disable the provider and then look under the EventViewer to see if there's a better error description? If you can't even get logged in then I think if you open up the AutenticationTypes table and set the AD Provider to IsEnabled = 0 (False) you shouldn't get the error anymore and can login.

 
New Post
3/23/2008 4:19 AM
 

I can login with my host, admin and all "old" accounts (also old ad accounts), but if i try login with new ad accounts I get the error.

I checked the event viewer after I tryed to log in with a new ad account, and I get this error in the log:

AssemblyVersion: 04.08.02
PortalID: 0
PortalName: Min Portal
UserID: -1
UserName:
ActiveTabID: 36
ActiveTabName: Home
RawURL: /Home/tabid/36/ctl/Login/language/da-DK/Default.aspx?returnurl=%2fHome%2ftabid%2f36%2flanguage%2fda-DK%2fDefault.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.minportal.dk/Home/tabid/36/ctl/Login/language/da-DK/Default.aspx?returnurl=%2fHome%2ftabid%2f36%2flanguage%2fda-DK%2fDefault.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 8b5e01e3-7b14-4e73-96dd-895c61e7eeb9
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: minserver

 

I don't have a "AD Provider" IsEnabled in the db?

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationAD login donAD login don't work


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