?
Solved

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

Posted on 2013-05-22
3
Medium Priority
?
1,437 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 1000 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

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
During and after that shift to cloud, one area that still poses a struggle for many organizations is what to do with their department file shares.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses

770 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