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 ForumsAuthenticationAuthenticationSetup errorSetup error
Previous
 
Next
New Post
9/8/2008 2:29 PM
 

I too am seeing this problem.  I tried turning on impersonation and it didn't work.  Oddly though, I just noticed this morning my windows login didn't work anymore :-/   Everything was working before this weekend.     Even more strange is only my windows account doesn't work when trying to login to the portal.  Other users's window login works fine.  When I try to go setup the authentication module, it now gives me this error:

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.Authentication.ActiveDirectory.ADSI.Utilities.AddADSIPath(String Path, Path ADSIPath) at DotNetNuke.Authentication.ActiveDirectory.ADSI.Utilities.GetRootEntry(Path ADSIPath) at DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider.GetNetworkStatus() at DotNetNuke.Authentication.ActiveDirectory.Settings.UpdateSettings() --- End of inner exception stack trace ---

I'm running DNN 04.08.04 with 1.004 ActiveDirectory provider.

Also, some users have reported that they have to try 2x before the system lets them in....

 

Role synch has been turned off.

 

 
New Post
9/9/2008 1:50 AM
 

Pingmustard, I've heard of this happening before (where one windows account doesn't work but others do) but have never heard of a solution from anyone that I can remember. A couple of questions for you. When you say you tried turning on impersonation but it didn't work do you mean you got the same error or did you get a different error? With users have to try 2x before the system lets them in is this on automatic login? What are the steps your users are doing when they go to the site?

With your account in particular, can you make a backup of your install or at least the database and then possibly try deleting your user account from the portal and then trying again? Is it possible your network admins changed something with the AD or the network over the weekend that's causing the problem?

 
New Post
9/19/2008 9:09 PM
 

Hi Mike, sorry it's taken a while to respond.  I've been swamped at work and finally got some free time to actually come back to this problem.  After digging through the documentations, here's what observations I've made (but still not working :/  ):

 

1. Tried with a "domain" account and my site won't even load up.  Asp.net bombs out complaining:

Could not create Windows user token from the credentials specified in the config file. Error from the operating system 'The trust relationship between this workstation and the primary domain failed.

Do you happen to have any clue about this?

 

 

2. Without impersonation, I changed the root domain to be MyDomain.com and this gave me something interesting:

Provider: ADSIAuthenticationProvider
Auth Type: Delegation
Root Domain: MyDomain.COM
UserName: MyDomain\myName
Passowrd: XXX
Email Domain: @myDomain.com

I get this error:

Accessing Global Catalog:
FAIL
Checking Root Domain:
OK
Accessing LDAP:
FAIL
Find all domains in network:
Could not access LDAP to obtain domains info
Logon failure: unknown user name or bad password.

 

If i take out the .COM, then it produces this error as before:

 

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.ADSI.Utilities.AddADSIPath(String Path, Path ADSIPath) at DotNetNuke.Authentication.ActiveDirectory.ADSI.Utilities.GetRootEntry(Path ADSIPath) at DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider.GetNetworkStatus() at DotNetNuke.Authentication.ActiveDirectory.Settings.UpdateSettings() --- End of inner exception stack trace ---

Can I say.. HELP! ? :)

 

 

Mike Horton wrote

Pingmustard, I've heard of this happening before (where one windows account doesn't work but others do) but have never heard of a solution from anyone that I can remember. A couple of questions for you. When you say you tried turning on impersonation but it didn't work do you mean you got the same error or did you get a different error? With users have to try 2x before the system lets them in is this on automatic login? What are the steps your users are doing when they go to the site?

With your account in particular, can you make a backup of your install or at least the database and then possibly try deleting your user account from the portal and then trying again? Is it possible your network admins changed something with the AD or the network over the weekend that's causing the problem?

 
New Post
9/20/2008 4:42 PM
 

I should also add that I tried to delete the user account and re-login, but no success :-/

 
New Post
9/20/2008 7:59 PM
 

For those that don't know, if you get this error message:

 

Could not create Windows user token from the credentials specified in the config file. Error from the operating system 'The trust relationship between this workstation and the primary domain failed.

 

It means your machine is not part of the domain.  I re-added the machine to the domain and everything worked again WITHOUT impersonation! :)  I'm not sure why/how the machine <-> domain connection got corrupted...

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationSetup errorSetup 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