Solved

ASP.NET Windows Authentication

Posted on 2013-06-07
7
429 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
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.
A short film showing how OnPage and Connectwise integration works.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

930 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

10 Experts available now in Live!

Get 1:1 Help Now