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 ForumsAuthenticationAuthenticationInstalled AD module and get this errorInstalled AD module and get this error
Previous
 
Next
New Post
7/28/2008 3:47 PM
 

When I went to activate the AD module, in the authentication admin page I get this at the bottom of the settings. I was able to put all of the information in and successfully connect to our AD, but of course there are issues. It won't autolog any user in, even after clearing the cache and cookies. So I'm thinkin if I can figure out this issue first, then we can work our way around the other issues that I may have. This is what I get in my event viewer:

ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 04.08.03
PortalID: 0
PortalName: Test DotNetNuke Site
UserID: 1
UserName: testUser
ActiveTabID: 52
ActiveTabName: Authentication
RawURL: /dotnetnuke_2/Admin/Authentication/tabid/52/Default.aspx
AbsoluteURL: /DotNetNuke_2/Default.aspx
AbsoluteURLReferrer: http://itweb100/dotnetnuke_2/Home/tabid/36/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: e2ab5377-c2b2-4762-ae7a-1845d3947b08
InnerException: Access is denied.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.DirectoryServices.DirectoryEntry.Bind
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Access is denied. ---> System.Runtime.InteropServices.COMException (0x80070005): Access is denied. at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) at System.DirectoryServices.DirectoryEntry.Bind() at System.DirectoryServices.DirectoryEntry.get_IsContainer() at System.DirectoryServices.DirectoryEntries.ChildEnumerator..ctor(DirectoryEntry container) at System.DirectoryServices.DirectoryEntries.GetEnumerator() at DotNetNuke.Authentication.ActiveDirectory.Settings.CheckPipelineMode() at DotNetNuke.Authentication.ActiveDirectory.Settings.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: ITWEB100

 
New Post
7/28/2008 7:52 PM
 

You have to use impersonation in your web.config as described in the documentation (http://www.dotnetnuke.com/Products/Development/Forge/ProviderAuthentication/Downloads/tabid/852/Default.aspx)

 
New Post
7/29/2008 9:33 AM
 

Ok, when I do that this is what I get. I followed the instructions, giving my account full access to the web folder and the .net temp folder. What else should i be posting to help figure this out? Oh, the one other difference is that I'm on win2k8 server, so the IIS stuff was a little different. I *think* I figured out step 6 in the IIS settings but not sure, cuz I had to click blindly till I got somewhere that sounded like what you had written. Could that be the issue?

 

500 - Internal server error.

There is a problem with the resource you are looking for, and it cannot be displayed.

 
New Post
7/29/2008 9:55 AM
 

Which application pool type are you running under? The AD provider needs to be running under the Classic pool.

If you comment out the <add name="Authentication".... /> in the <httpModules> section of your web.config can you get manually logged in? That will help narrow down where the problem is.

 
New Post
7/29/2008 10:10 AM
 

Mike, thank you for your quick response and help, it is VERY much appreciated! ok here is my web.config with the 500 error

    <!-- forms or Windows authentication -->
    <authentication mode="forms">
      <forms name=".DOTNETNUKE" protection="All" timeout="60" cookieless="UseCookies" />
    </authentication>

     <identity impersonate="true" userName="manning-napier\ssantacr" password=”T45qwz567”/>
    <!--   <authentication mode="Windows">
            </authentication>
        -->

When I change it to this I can log in either thru a DNN user or an AD user (but not automatically which is what I'm tryin to do!)

    <!-- forms or Windows authentication -->
    <authentication mode="forms">
      <forms name=".DOTNETNUKE" protection="All" timeout="60" cookieless="UseCookies" />
    </authentication>

    <!--     <identity impersonate="true" userName="manning-napier\ssantacr" password=”T45qwz567”/>
   <authentication mode="Windows">
            </authentication>
        -->

Finally I looked at my app pools. I have both the "Classic .Net AppPool" and "DefaultAppPool" started. For the fun of it I tried stopping the "DefaultAppPool" and then I got a 503 Service Unavailable error. So I think I'm ok in that department leaving both of them running...

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationInstalled AD module and get this errorInstalled AD module and get this 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