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 ForumsAuthenticationAuthenticationCan't Configure Auto Login in IIS7 and DNN7Can't Configure Auto Login in IIS7 and DNN7
Previous
 
Next
New Post
12/21/2012 10:25 AM
 

I Mike,

 i'am having problems configuring my dotnetnuke 7 installation to work with Active Directory Module, to auto login a windows user.

My configuration is:

- DNN 7 in windows 2008 server

- AD Module 5.00.4 release configured with the defauld domain property set.

- Tested with AD Module 5.00.4 release configured with Auto Login IP address 1.1.1.1-255.255.255.255 and also tested with Auto Login IP set to Blank ""

- IIS 7 configured to an Integrated application pool with Framework V4.0

- IIS 7 configured to set "WindowsSignin.aspx" authentication to "Forms Authentcation" and "Windows Authentication" only.

- Like is said in codeproject (http://dnnauthad.codeplex.com/documentation), i've executed the folowing commands:

%windir%\system32\inetsrv\appcmd unlock config /section:anonymousAuthentication
%windir%\system32\inetsrv\appcmd unlock config /section:windowsAuthentication


When i try to access the url http:\\host\dotnetnuke7 with a domain user loggedin (user previously created in DNN by the AD module) i have the following error:

"HTTP Error 404.0 - Not Found

The resource you are looking for has been removed, had its name changed, or is temporarily unavailable "

"Requested URL

http://localhost:80/dotnetnuke7/Account/Login?ReturnUrl=%2fdotnetnuke7%2fDesktopModules%2fAuthenticationServices%2fActiveDirectory%2fWindowsSignin.aspx"

In dothennuke event viewer i have:

DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Framework.DefaultPage.InitializePage() at DotNetNuke.Framework.DefaultPage.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 Can you help me in this configuration?

 
New Post
12/28/2012 8:43 PM
 

I to all,

can anybody help me no this configuration issue?

Thanks

 
New Post
3/12/2013 5:27 PM
 
Have you found a solution? I am haivng the exact same issue!

Thanks
 
New Post
3/12/2013 5:45 PM
 
Patrick. Did you try commenting out the add name=authentication in the modules and httpModules section of your web.config like I suggested in your other post? Does the site load properly then? Commenting those lines will take the AD provider out of the equation and won't mess up whether it works or not in the future. They just stop any attempts at auto-login from happening.
 
New Post
3/13/2013 4:20 PM
 

Yes, I have tried every combination of Classic App Pool, Integrated, and enabled/disabled AD Authentication.  It seems clear that the issue is with the App Pool.  Regardless of whether I enable/disable AD Authentication the site behaves exactly the same.

In Classic mode it lets me login using Stanadrd or Windows and in Integrated I just get the 404 error while it tries to navigate to Account\Login.aspx.

I think I'll post to a different forum area and come back if I get past the errro but still vcannot get auto login working.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationCan't Configure Auto Login in IIS7 and DNN7Can't Configure Auto Login in IIS7 and DNN7


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