Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7003767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:06:42+00:00 2026-05-27T21:06:42+00:00

I am building a local intranet web application which uses the current user’s AD

  • 0

I am building a local intranet web application which uses the current user’s AD credentials to access the system. My web server is running IIS 7.5 on Server 2008.

My AD is configured with two groups, Users and Admins, both of which I want to access my web application and I have added the two groups (read/execute permissions) to my directory in IIS. My web.config is pretty standard and I do not have any additional filters in my Global.asax file.

I am able to access my application if I use my user or admin account, but my coworker can not, which further complicates things. My accounts do not have any permissions on the folder – only the groups to which they belong.

Authentication mode is set to Windows, but unfortunately every attempt as my coworker to access the website fails with the following:

HTTP Error 401.0 - Unauthorized
You do not have permission to view this directory or page.

The “most likely cause” box suggests:

The authenticated user does not have access to a resource needed to process the request.

I just can not figure this out. If I create a sample mvc3 application and deploy it in the same directory, I can authenticate and view pages fine as any user.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T21:06:43+00:00Added an answer on May 27, 2026 at 9:06 pm

    There can be many reasons for this.

    1. Your controller needs to be decorated with appropriate authorization attribute like following

      [Authorize(Roles = “Administrator”)]

    2. In your web.config, you need to have following code inside your system.web configuration

      <roleManager enabled="true" defaultProvider="YourRoleProvider">

    3. Finally you need to see if that user has been added to their respective roles

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

An application I'm building uses a local Service for downloading files from the web
I am building a Struts2 web application which uses tiles however I have discovered
I am building an Ajax Based application that will run on our local intranet
I am building an application in Cocoa that uses a local Ruby on Rails
I am building a GWT app that uses Web SQL Local Storage ( http://dev.w3.org/html5/webdatabase/
Im building Phonegap application that uses token authentication strategy to access rest services. Is
I am building a Java Applet that is running local that needs to access
I'm building a small HTML/JS application for primary use on local machine (i.e. everything
I am building using zlib.h which I have a local copy to v1.2.5, but
I'm building a local vm for doing web dev rather than using our on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.