HomeHomeDotNetNuke Forg...DotNetNuke Forg...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationAuto Login Not WorkingAuto Login Not Working
Previous
 
Next
New Post
4/12/2012 1:32 PM
 

Greetings,

 I am having some issues getting this setup and was hoping for some direction. I have done in the past and have had it working but for some reason it is not working.

Here is my set up.

Intranet Environment
2003 Server
AD Module version 5.0.4
DNN Version 06.01.05(142)
IE9

I installed the AD Module under Host >Extensions and enabled it.

I then went to the Admin > Extensions I set the appropriate settings in the authentication settings and when I updated the authentication settings everything is green with OK and it identifies my domain.

Then under Admin > Extensions I disable Default Authentication.

I then access the server and under IIS 6 I access Windowssignin.aspx file and set the file security to Integrated Windows Authentication

I have also checked in my web.config file and made sure that the correct authentication mode is uncommented.

<httpModules>

      <!--add name="Authentication" type="DotNetNuke.HttpModules.AuthenticationModule, DotNetNuke.HttpModules.Authentication" /-->
<add name="Compression" type="DotNetNuke.HttpModules.Compression.CompressionModule, DotNetNuke.HttpModules" />
<add name="RequestFilter" type="DotNetNuke.HttpModules.RequestFilter.RequestFilterModule, DotNetNuke.HttpModules" />
<add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules" />
<add name="Exception" type="DotNetNuke.HttpModules.Exceptions.ExceptionModule, DotNetNuke.HttpModules" />
<add name="UsersOnline" type="DotNetNuke.HttpModules.UsersOnline.UsersOnlineModule, DotNetNuke.HttpModules" />
 <add name="DNNMembership" type="DotNetNuke.HttpModules.Membership.MembershipModule, DotNetNuke.HttpModules" />
<add name="Personalization" type="DotNetNuke.HttpModules.Personalization.PersonalizationModule, DotNetNuke.HttpModules" />
<add name="Analytics" type="DotNetNuke.HttpModules.Analytics.AnalyticsModule, DotNetNuke.HttpModules" />
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name="ClientDependencyModule" type="ClientDependency.Core.Module.ClientDependencyModule, ClientDependency.Core" />
<add name="MobileRedirect" type="DotNetNuke.HttpModules.MobileRedirectModule, DotNetNuke.HttpModules" />
<add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" />
<add name="Detector" type="FiftyOne.Foundation.Mobile.Detection.DetectorModule, FiftyOne.Foundation" />
<add name="Authentication" type="DotNetNuke.Authentication.ActiveDirectory.HttpModules.AuthenticationModule, DotNetNuke.Authentication.ActiveDirectory" />

So when I access the site it goes to the home page and presents me with the login link. When I click that I am able to enter my domain/username and password and I am logged in with my AD account. I checked and the user account was created with the information from the AD account.

One more thing I checked. When I go to http://h3-acad-02/prop/desktopmodules... I get his error message. That about covers it. Any suggestions.  Thanks

Error in '/prop' Application.


Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Sections must only appear once per config file.  See the help topic <location> for exceptions.

Source Error:

 

Line 434:  <location path="DesktopModules/AuthenticationServices/ActiveDirectory/WindowsSignin.aspx">

Line 435:    <!-- Disable Forms Authentication -->

Line 436:    <formsAuthenticationWrapper enabled="false" />

Line 437:    <system.webServer>

Line 438:      <security>

Source File: C:\prop\web.config    Line: 436

Show Additional Configuration Errors:

 

 

Sections must only appear once per config file.  See the help topic  for exceptions. (C:\prop\web.config line 449)

                     

 


Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3614

 
New Post
4/12/2012 2:03 PM
 
I think we're looking at two different things here.

You say you go to your homepage and you're presented with a login link. What do you mean by login link? Do you mean the regular DotNetNuke login link or are you getting a popup of some sort? (just clarifying).

As for the error in the web.config. I'm not sure why it only shows up when you go directly to WindowsSignin.aspx as it should be showing up just by hitting the site by itself so a couple of things to look for. Check the DesktopModules/AuthenticationServices/ActiveDirectory directory and make sure there isn't a web.config in there. If there is then delete it.

If there isn't then open your web.config for the site and look for the section that it's mentioning in the error. Make a copy of your web.config before doing this but you should be able to delete that section (so everything from the initial tag. That's a setting for IIS 7 so you don't need it for IIS 6.
 
New Post
4/12/2012 4:14 PM
 

Thanks for the fast response.

In Reference to the Login link I was just referring to the DNN Home Page Login | Register Link I am not being challenge by IIS for credentials I simply click on the login link and fill in the my AD domain/username and password and it logs me in with my AD information.

I checked the DesktopModules/AuthenticationServices/ActiveDirectory directory and there was not a web.config file located in this directory.

I then open the web.config file and simple removed <formsAuthenticationWrapper enabled="false"/>. Now when I navigate to http://h3-acad-02/prop/desktopmodules... it logs me in with my AD credentials automatically.

However when I access h3-acad-02/prop it does not log me in. I have tried this on a  completely different computer so there should not be a issues with the cashe

Its like it is not looking for the windowssignin.aspx page when I hit h3-acad-02/prop

Thanks

Brian

 
New Post
4/12/2012 5:17 PM
 
The only thing I can think of is doing some tracing or logging to try to see what's happening in the background. I'm running it on Server 2003 without any problems so I know it works.
 
New Post
4/12/2012 9:59 PM
 
Thanks I may just reinstall everything. I just wanted to make sure I had the steps right
 
Previous
 
Next
HomeHomeDotNetNuke Forg...DotNetNuke Forg...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationAuto Login Not WorkingAuto Login Not Working


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.

Attend A Webinar
Start  Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.