Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
WebHostForAsp.net
 


  Sponsors  

Meet Our Sponsors

R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Authentication ...  Could not load the assembly 'DotNetNuke.Authentication.ActiveDirectory'
Previous Previous
 
Next Next
New Post 4/1/2008 10:33 AM
Resolved
User is offline b471code3
79 posts
www.froggeyestudios.com
10th Ranked


Could not load the assembly 'DotNetNuke.Authentication.ActiveDirectory' 
Modified By b471code3  on 4/1/2008 2:05:55 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

 
New Post 4/1/2008 11:05 AM
User is offline Mike Horton
2756 posts
dnn.gmss.org
5th Ranked






Re: Could not load the assembly 'DotNetNuke.Authentication.ActiveDirectory' 

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 11:07 AM
User is offline b471code3
79 posts
www.froggeyestudios.com
10th Ranked


Re: Could not load the assembly 'DotNetNuke.Authentication.ActiveDirectory' 

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

Brenden

 
New Post 4/1/2008 11:09 AM
User is offline b471code3
79 posts
www.froggeyestudios.com
10th Ranked


Re: Could not load the assembly 'DotNetNuke.Authentication.ActiveDirectory' 
Modified By b471code3  on 4/1/2008 2:10:22 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>

<

 
New Post 4/1/2008 2:11 PM
User is offline Mike Horton
2756 posts
dnn.gmss.org
5th Ranked






Re: Could not load the assembly 'DotNetNuke.Authentication.ActiveDirectory' 
Modified By Mike Horton  on 4/1/2008 5:13:35 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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Authentication ...  Could not load the assembly 'DotNetNuke.Authentication.ActiveDirectory'
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DNNCovered.com - Your Offshore Dotnetnuke Partner
Dnncovered.com is the only Dotnetnuke offshore outsourcing center specializes in DNN skinning and module development with lowest pricing and quality service. Our staff is dedicated to websites based on DNN and our graphic designers are creative and imaginative well enough to provide customers the complete set of skinning solutions and packages
www.dnncovered.com
PointClick.Net DNN Solutions
DotNetNuke Hosting Platform for Business and personal use.
PointClick.Net Hosted Solutions
Advanced Web Portals by Infoscaler
Infoscaler is a California based company that provides advanced Web Portals, E-commerce Sites, Database Applications and Intranet Solutions on the DotNetNuke and Microsoft.NET platforms.
www.infoscaler.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP