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 ForumsAuthenticationAuthenticationCould not load the assembly Could not load the assembly 'DotNetNuke.Authentication.ActiveDirectory'
Previous
 
Next
New Post
4/1/2008 1:33 PM
 

Today I received this error on all my portals and I am unable to login to any of them!  What is it I need to do?  As far as I know nothing was changed in the config file.

HELP!

** EDIT **

Forgot to to mention using 4.8.2 and AD provider was 1.0 now it is 1.0.03 (I think thats the new one)

Ended up getting into the portal although when I uninstalled the AD provider and reinstalled the new provider I get this error:

Package Installed Successfully

The package installed successfully - see below
Error loading files from temporary folder - see below
StartJob Starting Installation
Info Starting Installation - DNN_ActiveDirectoryAuthentication
Info Starting Installation - AuthenticationSystem
Info ActiveDirectory Authentication registered successfully
Info Component installed successfully - AuthenticationSystem
Info Starting Installation - Assembly
Info Assembly registered - bin\Providers\DotNetNuke.Authentication.ActiveDirectory.dll
Info Created bin\Providers\DotNetNuke.Authentication.ActiveDirectory.dll
Info Assembly registered - bin\Providers\Interop.ActiveDs.dll
Info Created bin\Providers\Interop.ActiveDs.dll
Info Component installed successfully - Assembly
Info Starting Installation - File
Info Created App_LocalResources\Login.ascx.resx
Info Created App_LocalResources\Settings.ascx.resx
Info Created Login.ascx
Info Created Settings.ascx
Info Created license.txt
Info Created WindowsSignin.aspx
Info Component installed successfully - File
Info Starting Installation - Config
Info Creating backup of previous version - web.config
Failure Exception - Object reference not set to an instance of an object.
Failure Installation Failed - Config
Info Rolling back component install - AuthenticationSystem
Info ActiveDirectory Authentication unregistered successfully
Info Component rolled back successfully - AuthenticationSystem
Info Rolling back component install - Assembly
Info Assembly unregistered - bin\Providers\DotNetNuke.Authentication.ActiveDirectory.dll
Info Deleted - bin\Providers\DotNetNuke.Authentication.ActiveDirectory.dll
Info Assembly unregistered - bin\Providers\Interop.ActiveDs.dll
Info Deleted - bin\Providers\Interop.ActiveDs.dll
Info Component rolled back successfully - Assembly
Info Rolling back component install - File
Info Deleted - App_LocalResources\Login.ascx.resx
Info Deleted - App_LocalResources\Settings.ascx.resx
Info Deleted - Login.ascx
Info Deleted - Settings.ascx
Info Deleted - license.txt
Info Deleted - WindowsSignin.aspx
Info Component rolled back successfully - File
Info Installation Failed - DNN_ActiveDirectoryAuthentication
Info Deleted temporary install folder
EndJob Installation Failed


View Brenden Kehren's profile on LinkedIn
 
New Post
4/1/2008 2:05 PM
 

In the <httpModules> section of your web.config comment out all instances of <add name="Authentication"... />. That should at least get you back up an running.

What version of DNN are you running and what version of the AD provider? Have there been any other changes done to your portal recently? Is there a live URL where I can see the error?

 
New Post
4/1/2008 2:07 PM
 

Sorry Mike forgot to mention the versions earlier.  No live portal its Intranet only.

Brenden


View Brenden Kehren's profile on LinkedIn
 
New Post
4/1/2008 2:09 PM
 

Here is my <httpmodules> node.  There is no reference to what you mention and not sure why.

 

httpModules> add name="Authentication" type="DotNetNuke.HttpModules.AuthenticationModule, DotNetNuke.HttpModules.Authentication" / -->add name="Compression" type="DotNetNuke.HttpModules.Compression.CompressionModule, DotNetNuke.HttpModules" />add name="RequestFilter" type="DotNetNuke.HttpModules.RequestFilter.RequestFilterModule, DotNetNuke.HttpModules" />add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules" />add name="Exception" type="DotNetNuke.HttpModules.Exceptions.ExceptionModule, DotNetNuke.HttpModules" />add name="UsersOnline" type="DotNetNuke.HttpModules.UsersOnline.UsersOnlineModule, DotNetNuke.HttpModules" />add name="DNNMembership" type="DotNetNuke.HttpModules.Membership.MembershipModule, DotNetNuke.HttpModules" />add name="Personalization" type="DotNetNuke.HttpModules.Personalization.PersonalizationModule, DotNetNuke.HttpModules" />add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />httpModules>

<


View Brenden Kehren's profile on LinkedIn
 
New Post
4/1/2008 5:11 PM
 

Hmmm it says it installed successfully and then complains but an error loading the files from the temporary folder and it looks like where it ran into the problem was when it went to make changes to your web.config (which is why your <httpModules> section doesn't have the line it needs).

Is this a live portal or just a development one? What I would suggest is Uninstalling the provider and then checking that the AD Provider dlls are deleted from the bin\Providers directory and that the ActiveDirectory directory is gone from DesktopModules\AuthenticationServices. Once that's done then I'd try the install again. I can't help thinking that something was left behind and that's part of the screwup.

EDIT: Oh and the exact line you should be looking for in the <httpModules> section is:

<add name="Authentication" type="DotNetNuke.Authentication.ActiveDirectory.HttpModules.AuthenticationModule, DotNetNuke.Authentication.ActiveDirectory" />

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationCould not load the assembly Could not load the assembly 'DotNetNuke.Authentication.ActiveDirectory'


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