Solved

ASP.NET Windows Authentication

Posted on 2013-06-07
7
431 Views
Last Modified: 2013-06-07
Trying to implement Windows Authentication.  Getting this error when I test the page:

You do not have permission to view this directory or page using the credentials that you supplied.



What do I need to do so that it recognizes me and allows me on?  The server and I are both on the same internal network.
0
Comment
Question by:patriotpacer
  • 4
  • 3
7 Comments
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 39230112
Are you logging in using Domain Credentials?  If there's no domain, are you using credentials which are valid on the web server?
0
 

Author Comment

by:patriotpacer
ID: 39230117
>>Are you logging in using Domain Credentials?  If there's no domain, are you using credentials which are valid on the web server?

Thanks for the reply.

I'm a newbie on this.    I added this below to the web.config.

<authorization>
             <deny users="?"/>
          </authorization>

What I'd really like to do is set up a role and then say anyone within that role has access.  Just not sure how to do that.  But, no, I've not provided any credentials.
0
 

Author Comment

by:patriotpacer
ID: 39230118
By the way, I'm looking for guidance.   I'm not the type that's gonna keep this question open for 5 days and keep asking questions.
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 34

Accepted Solution

by:
Paul MacDonald earned 500 total points
ID: 39230156
Here's a great tutorial:
http://www.codeproject.com/Articles/578374/AplusBeginner-27splusTutorialplusonplusCustomplusF

Whether you chose to do Forms Authentication or Windows Authentication depends a lot on how you want to manage your users.  Do let me know if you have questions after you've looked at the tutorial.
0
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 39230199
Thank you for the points, but that may have been premature.
0
 

Author Comment

by:patriotpacer
ID: 39230204
>>Thank you for the points, but that may have been premature.

I got it working
0
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 39230229
Oh, okay - great!
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

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…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

856 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