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 ForumsAuthenticationAuthenticationActive Directory Access is denied errorActive Directory Access is denied error
Previous
 
Next
New Post
3/24/2009 1:12 PM
 

I am running DotNetNuke Version: 04.09.02.  About 6 months ago I enabled ActiveDirectory Authentication and it has been working fine.  However I now need to make some adjustments so I went to “Admin – Authentication” and I get the error below when the page comes up.  I upgraded to ActiveDirectory_01.00.05 but I still get the error.

Active Directory users can still login so it looks like everything is working, I just can’t get to the page to make adjustments.  I’m also trying to setup child portals to allow ActiveDirectory users to login but I can’t get to this page in my child portals either.  When I turn off “ActiveDirectory” in the Host settings I can get to this page.  I’m running this on IIS7 but I haven’t made any changes from when I first installed it that I can remember.

Thanks for any assistance.

------------------------------
Access is denied.

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.Runtime.InteropServices.COMException: Access is denied.
-----------------------------------

 
New Post
3/24/2009 2:53 PM
 

Does the Event Viewer give you any more detail?

 
New Post
3/25/2009 7:22 AM
 

Yes it does.  Here is what I found:

Log Name:      Application
Source:        ASP.NET 2.0.50727.0
Date:          3/25/2009 7:20:50 AM
Event ID:      1309
Task Category: Web Event
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      w3.winfp.lhps.org
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 3/25/2009 7:20:50 AM
Event time (UTC): 3/25/2009 11:20:50 AM
Event ID: 8880d67482dd41c3a340b9e77f898fe1
Event sequence: 13
Event occurrence: 1
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/1/ROOT/dnn-1-128824536201168512
    Trust level: Full
    Application Virtual Path: /dnn
    Application Path: D:\webs\dnn\
    Machine name: W3
 
Process information:
    Process ID: 4248
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE
 
Exception information:
    Exception type: ModuleLoadException
    Exception message: Error:  is currently unavailable.
 
Request information:
    Request URL: http://localhost/dnn/Default.aspx?TabId=52
    Request path: /dnn/Default.aspx
    User host address: ::1
    User: host
    Is authenticated: True
    Authentication Type: forms
    Thread account name: NT AUTHORITY\NETWORK SERVICE
 
Thread information:
    Thread ID: 7
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack trace:    at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, PortalModuleBase ctrlModule, Exception exc, Boolean DisplayErrorMessage)
   at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(PortalModuleBase ctrlModule, Exception exc, Boolean DisplayErrorMessage)
   at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(PortalModuleBase ctrlModule, Exception exc)
   at DotNetNuke.Authentication.ActiveDirectory.Settings.Page_Load(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 
 
Custom event details:

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="ASP.NET 2.0.50727.0" />
    <EventID Qualifiers="32768">1309</EventID>
    <Level>3</Level>
    <Task>3</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2009-03-25T11:20:50.000Z" />
    <EventRecordID>3668</EventRecordID>
    <Channel>Application</Channel>
    <Computer>w3.winfp.lhps.org</Computer>
    <Security />
  </System>
  <EventData>
    <Data>3005</Data>
    <Data>An unhandled exception has occurred.</Data>
    <Data>3/25/2009 7:20:50 AM</Data>
    <Data>3/25/2009 11:20:50 AM</Data>
    <Data>8880d67482dd41c3a340b9e77f898fe1</Data>
    <Data>13</Data>
    <Data>1</Data>
    <Data>0</Data>
    <Data>/LM/W3SVC/1/ROOT/dnn-1-128824536201168512</Data>
    <Data>Full</Data>
    <Data>/dnn</Data>
    <Data>D:\webs\dnn\</Data>
    <Data>W3</Data>
    <Data>
    </Data>
    <Data>4248</Data>
    <Data>w3wp.exe</Data>
    <Data>NT AUTHORITY\NETWORK SERVICE</Data>
    <Data>ModuleLoadException</Data>
    <Data>Error:  is currently unavailable.</Data>
    <Data>http://localhost/dnn/Default.aspx?TabId=52</Data>
    <Data>/dnn/Default.aspx</Data>
    <Data>::1</Data>
    <Data>host</Data>
    <Data>True</Data>
    <Data>forms</Data>
    <Data>NT AUTHORITY\NETWORK SERVICE</Data>
    <Data>7</Data>
    <Data>NT AUTHORITY\NETWORK SERVICE</Data>
    <Data>False</Data>
    <Data>   at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, PortalModuleBase ctrlModule, Exception exc, Boolean DisplayErrorMessage)
   at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(PortalModuleBase ctrlModule, Exception exc, Boolean DisplayErrorMessage)
   at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(PortalModuleBase ctrlModule, Exception exc)
   at DotNetNuke.Authentication.ActiveDirectory.Settings.Page_Load(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
</Data>
  </EventData>
</Event>

 
New Post
3/25/2009 11:04 AM
 

Keith are you using impersonation in your web.config? If not give that a shot (more can be found in the documentation).

 
New Post
3/25/2009 11:44 AM
 

I am not but I had tried it and followed all the steps in the directions.  Whenever I change the web.config file and try to use impersonation I get this error:

HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.

 

I have it setup like this in web.config with a account with the same permissions as NETWORK SERVICE:

<identity impersonate="true" userName="username" password="password" />
            <authentication mode="Windows">
            </authentication>

Thanks.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationActive Directory Access is denied errorActive Directory Access is denied 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