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  |  

Affordable ASP.NET Hosting Service
  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  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 ...  Installed AD module and get this error
Previous Previous
 
Next Next
New Post 7/28/2008 1:47 PM
Resolved
User is offline lister
6 posts
10th Ranked


Installed AD module and get this error 

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 5:52 PM
User is offline Mike Horton
3163 posts
dnn.gmss.org
4th Ranked






Re: Installed AD module and get this error 

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 7:33 AM
User is offline lister
6 posts
10th Ranked


Re: Installed AD module and get this error 

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 7:55 AM
User is offline Mike Horton
3163 posts
dnn.gmss.org
4th Ranked






Re: Installed AD module and get this error 

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 8:10 AM
User is offline lister
6 posts
10th Ranked


Re: Installed AD module and get this error 

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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Authentication ...  Installed AD module and get this error
 


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.

 


Lucede Systems Group
Providing a full range of IT services for large and medium sized companies
www.lucede.com
Adaptive InfoSystems, Inc.
We provide custom programming and various levels of support for DotNetNuke and the .Net framework.
www.aisysweb.com
Multipartner Virtual Data Rooms
The Virtual Data Rooms (VDR) provided by an expert advisor, far from any ordinary software company!, supporting the sellers and their consultants. Multipartner builds and services higly professional Virtual Data Rooms (VDR) specifically tailored to M&A, Real Estate and NPL deals.
www.multipartner.com

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