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 ForumsAuthenticationAuthenticationsettingControl.UpdateSettings()  - Object reference not set to an instance of an object.  settingControl.UpdateSettings() - Object reference not set to an instance of an object.
Previous
 
Next
New Post
7/1/2008 10:03 AM
 

Hi,

 

I'm stuck with this message each time I try to update DNN when configuring the AD parameters.

 

How can I get rid of that ?

 

Server Error in '/%MyWebSite%' Application.
--------------------------------------------------------------------------------

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 92:
Line 93:             For Each settingControl As AuthenticationSettingsBase In settingControls
Line 94:                 settingControl.UpdateSettings()
Line 95:             Next
Line 96:
 

Source File: D:\DotNetNuke\Admin\Authentication\Authentication.ascx.vb    Line: 94

Stack Trace:


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

[ModuleLoadException: Error:  is currently unavailable.]
   DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, PortalModuleBase ctrlModule, Exception exc, Boolean DisplayErrorMessage) +481
   DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(PortalModuleBase ctrlModule, Exception exc, Boolean DisplayErrorMessage) +122
   DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(PortalModuleBase ctrlModule, Exception exc) +7
   DotNetNuke.Authentication.ActiveDirectory.Settings.UpdateSettings() +1728
   DotNetNuke.Modules.Admin.Authentication.Authentication.cmdUpdate_Click(Object sender, EventArgs e) in D:\DotNetNuke\Admin\Authentication\Authentication.ascx.vb:94
   DotNetNuke.UI.WebControls.CommandButton.RaiseClick(Object sender, EventArgs e) +20
   System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +90
   System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +76
   System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +177
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746

[PageLoadException: Error:  is currently unavailable.]
   DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +378
   DotNetNuke.Framework.PageBase.Page_Error(Object Source, EventArgs e) +481
   System.Web.UI.TemplateControl.OnError(EventArgs e) +2085460
   System.Web.UI.Page.HandleError(Exception e) +71
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7341
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213
   System.Web.UI.Page.ProcessRequest() +86
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
   System.Web.UI.Page.ProcessRequest(HttpContext context) +49
   ASP.default_aspx.ProcessRequest(HttpContext context) +29
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 

Thanks

 
New Post
7/1/2008 11:13 AM
 

Have you tried using impersonation as explained in the documentation? Is this a fresh install of DNN or an upgrade? If so from what version?

 
New Post
7/1/2008 1:49 PM
 

Impersonation solved my problem.

Thanks for your support and your fast answer !

 
New Post
7/1/2008 2:02 PM
 

Glad to hear it's working for you now.

 
New Post
1/2/2009 11:47 AM
 

 What credentials does the impersonated user need for usuing Active Directory.  I'm receiving the same error, and I have the user set as an adminitrator on the server.  THIS IS DRIVING ME NUTS!  There is no clear documentation anywhere, just "add impersonation to the web.config".

 

PLEASE HELP ME!

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationsettingControl.UpdateSettings()  - Object reference not set to an instance of an object.  settingControl.UpdateSettings() - Object reference not set to an instance of an object.


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