Solved

IIS Windows Authentication - Local Dev Machine not on a Domain but Workgroup?

Posted on 2013-05-22
3
1,409 Views
Last Modified: 2013-06-13
Hello all,

I am testing some application stuff using an MVC application where I have authentication mode as Windows.    Once I deploy to IIS 7, I have enabled Windows Auth and disabled Anonymous auth.  However, now everything I try to run the site I get prompted for username and password credentials.  I assume this is because I am home and on my local machine not on a domain but setup as Workgroup.   Is this correct and is there a way to set this up so I can truely test windows auth like it would work at work?
0
Comment
Question by:sbornstein2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 39191002
You're being prompted for credentials because you need to authenticate to the web site.  This is what you've instructed the web site to do.  Whether or not there is a domain is irrelevant.
0
 
LVL 16

Accepted Solution

by:
gurutc earned 250 total points
ID: 39191018
it's going to be almost impossible to make this work.  When you have an AD domain the netbios name has an equivalence to the FQDN domain name configured in IIS, ie mydomain=mydomain.local.  So when a user is logged into mydomain and hits IIS that supports website.mydomain.local IIS says 'I  am mydomain.local which equals mydomain, is the user in mydomain and authenticated, because if he is I don't have to make him login to mydomain.local cuz he's already logged in to the equivalent mydomain.

You're gonna need an AD domain, I think, to make this work.  But, for what it's worth, it looks like your stuff is all working the way it should on a workgroup setup, and that means hopefully that it'll work fine with just a little tweaking when you deploy on an AD domain.

Regards, gurutc
0
 

Author Closing Comment

by:sbornstein2
ID: 39244759
thanks
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question