Solved

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

Posted on 2013-05-22
3
1,353 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
3 Comments
 
LVL 33

Expert Comment

by:paulmacd
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now