Solved

ASP.NET Windows Authentication

Posted on 2013-06-07
7
434 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

617 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