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

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...AD Configuration is crashingAD Configuration is crashing
Previous
 
Next
New Post
8/31/2011 3:24 PM
 
DNN Version: 05.05.01

I am trying to set up AD on DNN. When I try to configure AD, DNN crashes hard.

Enable, checked.
Synchronized role, checked.
All others unchecked.

Authentication type, Delegation  (I hope to use secured in the future).

I enter all the appropriated info. for my AD server.

When I click update, I get this error:

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.

Source Error:

Line 141: Protected Sub cmdUpdate_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdUpdate.Click Line 142: If SettingsControl IsNot Nothing Then Line 143: SettingsControl.UpdateSettings() Line 144: End If Line 145: End Sub

Source File: D:\Apps\DNN5\DesktopModules\Admin\Extensions\Editors\AuthenticationEditor.ascx.vb    Line: 143

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.Authentication.ActiveDirectory.ADSI.Utilities.AddADSIPath(String Path, Path ADSIPath) +12
   DotNetNuke.Authentication.ActiveDirectory.ADSI.Utilities.GetRootEntry(Path ADSIPath) +51
   DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider.GetNetworkStatus() +243
   DotNetNuke.Authentication.ActiveDirectory.Settings.UpdateSettings() +650

[ModuleLoadException: Error:  is currently unavailable.]
   DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, Control ctrl, Exception exc, Boolean DisplayErrorMessage) +452
   DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(Control ctrl, Exception exc, Boolean DisplayErrorMessage) +188
   DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(PortalModuleBase objPortalModuleBase, Exception exc) +31
   DotNetNuke.Authentication.ActiveDirectory.Settings.UpdateSettings() +1649
   DotNetNuke.Modules.Admin.Authentication.AuthenticationEditor.cmdUpdate_Click(Object sender, EventArgs e) in D:\Apps\DNN5\DesktopModules\Admin\Extensions\Editors\AuthenticationEditor.ascx.vb:143
   DotNetNuke.UI.WebControls.CommandButton.OnButtonClick(EventArgs e) +19
   DotNetNuke.UI.WebControls.CommandButton.RaiseClick(Object sender, EventArgs e) +13
   System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +118
   System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +113
   System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +9
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +176
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563

[PageLoadException: Error:  is currently unavailable.]
   DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +390
   DotNetNuke.Framework.PageBase. (EventArgs e) +565
   System.Web.UI.Page.HandleError(Exception e) +86
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8422
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +253
   System.Web.UI.Page.ProcessRequest() +78
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
   System.Web.UI.Page.ProcessRequest(HttpContext context) +49
   ASP.default_aspx.ProcessRequest(HttpContext context) +37
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

Any help is appreciated. I'm already in deep doo doo because this is late. Thx.
 
New Post
8/31/2011 7:46 PM
 
is the site running in full trust code access security?

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
8/31/2011 8:33 PM
 
Thanks for responding. I don't even know what that means. This is what  the network guys have done.

1. Set up a replicated read-only AD server in the DMZ. The application will be accessed from internal workstations and through an extranet, so we need both AD authentication and DNN authentication.
2. The AD server is set up as "secure" on port 636. I'm no network guru, but I always thought SSL was on port 443. But, I guess it isn't using HTTP.

I tried all versions that seemed to be applicable: Delegated, Secure, SSL
None worked.

We have been running the site for 2 years accessing external databases and sending email through the exchange server if that means anything.

How do I find out the answer to your question?

Thanks again.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...AD Configuration is crashingAD Configuration is crashing


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