Products

Solutions

Resources

Partners

Community

About

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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Windows Authentication on localhostWindows Authentication on localhost
Previous
 
Next
New Post
6/23/2012 9:09 PM
 

Installed DNN 6.2.0 on my local PC (home PC not part of a domain) and was able to make it work on Form Authentication but when I switch to Windows Authenticatiob it doesn't work. My goal is to make it work in Windows Authentication, so when I open the web site using http://localhost:80/Default.aspx to be able to enter the site without using the login screen and the user to be added automatically to the Users table. I cannot make it work.

My environment and settings are:

SQL Server on my local PC: 2008 R2

PC with Windows 7 Professional edition, IIS 7.5, DNN 6.2.0.

Web Config setting:

<authentication mode="Windows">
    </authentication>

IIS settings:

Application Pool: .NET Framework v2.0, Managed Pipeline Mode: Classic, Identity:Network Service, Load User Profile:True

Web Site settings in Authentication section: Anonymous Authentication: Disabled, all others: Disabled, Windows Authentication:Enabled

Using IE 9 with Enable Windows Integrated Authentication checked.

The message I get when open http://localhost:80/Default.aspx is: Internet Explorer cannot display the webpage

Please advice.

 

 
New Post
6/24/2012 7:58 AM
 
Im not sure if I have a complete answer for you but just some thoughts and possible pointers for help.

DNN uses forms authentication to work, and I dont think you are able to set up a users session just by them logging on to windows, unless the workstation is connected to a domain controller and is using active directory AFAIK. (Maybe in windows 8 this will be possible though as you can login to your PC using Passport & possibly OpenID or other custom security providers)
There might be some workarounds though:
http://stackoverflow.com/questions/318816/multiple-different-authentication-settings-in-web-config

hope this helps :-)
 
New Post
6/24/2012 9:06 AM
 
Winston,
Thanks for sharing this with me.
Maybe I wasn't very clear in my question. I don't want to have mixed entry in my DNN. I want to use it just with Windows authentication. And because I'm doing my development at home, where I don't have domain controller or Active Directory, I want to be able to test the Window Authentication functionality under a simple PC running Windows 7 and IIS.

I tried all possible DNN and IIS configurations to make it work, without any success, so I was starting to think, as you point very well in your answer, this is not possible to achieve unless you are running it under a domain controller and AD, but was hoppimg there might a solution.

If anyone reading this thread have a solution, please advice.
Thanks.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Windows Authentication on localhostWindows Authentication on localhost


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