Solved

ASP.NET Windows Authentication

Posted on 2013-06-07
7
428 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 33

Expert Comment

by:paulmacd
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 33

Accepted Solution

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

Expert Comment

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

Expert Comment

by:paulmacd
ID: 39230229
Oh, okay - great!
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

760 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

17 Experts available now in Live!

Get 1:1 Help Now