Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ASP.NET Windows Authentication

Posted on 2013-06-07
7
Medium Priority
?
436 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 34

Accepted Solution

by:
Paul MacDonald earned 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Integration Management Part 2
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

916 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