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

  • Home
  • SEARCH
  • 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 6227131
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:09:39+00:00 2026-05-24T09:09:39+00:00

If I run a 2010 visual studio C# web project using the Use Visual

  • 0

If I run a 2010 visual studio C# web project using the “Use Visual Studio Development Server” in the project settings my app opens up fine and the CSS renders and all images render.

If I change the property of the project to use the Local IIS Web Server and I try to run the project.
I get a prompt almost about as many for how many images / css files I have linked. If i keep clicking cancel the web page appears but all the images are missing and the css file is not rendered (formatting looks like hell).

I thought ok this ought to be some sort of security issue. I have the project setup in the web config file to use “Windows” authentication and I also have enabled anonymous access. I’ve added the network / network service account and gave full rights. I’ve added the ASPNET account on my local machine and gave full access. I’ve even added my domain of users and even got so desperate as to give them full access…

no luck..I still get prompted, and If I try to browse to one of the images directly in the url:
http://localhost/mysite/images/myimage.jpg I get the error:

Access is denied. Description: An error occurred while accessing the
resources required to serve this request. You might not have
permission to view the requested resources.

Error message 401.3: You do not have permission to view this directory
or page using the credentials you supplied (access denied due to
Access Control Lists).

I don’t know what else to do or change to get this to work….

  • 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-24T09:09:41+00:00Added an answer on May 24, 2026 at 9:09 am

    The error message you are seeing (Error message 401.3: You do not have permission to view this directory or page using the credentials you supplied (access denied due to Access Control Lists)) usually occurs because the Application Pool user that executes the web application does not have NTFS Read permissions to the css and image files that are being requested.

    A web application runs under an Application Pool, which has a user assigned to it. You can find out which Application Pool your application is using by checking Basic Settings for the site.

    what app pool am I using

    Once you know what Application Pool you are using, you can view which user is configured to run that Application Pool by checking Application Pools, select Advanced Settings for your app pool, then look at Advanced Settings -> Process Model -> Identity.

    what user is my app pool using

    By default, Application Pools are set to use the AppPoolIdentity user (incidentally, in case you need it, the username for this user is IIS APPPOOL\ApplicationPoolName, so in my case it would be IIS APPPOOL\mywebapp). This user is a member of both the Users group and the Authenticated Users group. If your Application Pool is configured to use the AppPoolIdentity user, the easiest way to resolve the permissions issue you are having is to make sure that the Users group at least has Read & Execute, List folder contents, and Read access to the web root folder for the application, along with all files and subdirectories. On my test machine, Authenticated Users also has all access allowed, with the exception of Full Control. (Note: in the interest of correctness, these ACLs are applied whenever I create a new folder under C:. If you want to, you might be able to get away without adding Authenticated Users or just specifying Read access for Users. I’m not going to try to determine what the actual minimum access required is here).

    To specify these permissions, right click on the folder than contains the web application in Windows Explorer, go to Properties > Security, click Edit, and then use Add to add the groups. Note that after you add the groups, you will probably need to click the Advanced button > Change Permissions > check the “Replace all child object permissions …” button and then click OK to grant permissions to all child objects in the folder (see below). After you complete this operation, you can check one of the .css files to make sure the groups have been added properly.

    enter image description here

    Once those permissions have been added, IIS should be able to serve up the css and image files.

    As a side note, if you are getting a Windows login prompt, then you most likely have “Windows Authentication – 401 Challenge” enabled under the Authentication section in IIS for your web application (see below). If you do not have that setting specified, then you will not get a prompt when attempting to view a file that does not have proper ACLs. Instead, you will just get the error message. The prompt will not be shown.

    enter image description here

    I verified this information using Windows 7 Ultimate and IIS 7.5, so if you are using a different OS YMMV, but I believe IIS should behave as described.

    Hope that helps. If you have any questions please let me know.

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

Sidebar

Related Questions

Visual Studio 2010 / ASP.NET project / ASP.NET Development server I can run and
I have a dataset in a Visual Studio 2010 Web App project which accesses
I'm developing a web app using C# and MS VS 2010 IDE. The project
I converted a small Web Project to a Web Application in Visual Studio 2010.
Everytime when I open a Website Project/Web, Project in Visual Studio 2010 and try
I am trying to make Visual Studio 2010 to run my project under a
I am using Visual Studio 2010, Windows 7 and IIS. I have written a
Background: I am using the deployment tools in Visual Studio 2010. I right clicked
We use Visual Studio 2010 Ultimate with tests written in MSTest. Both our unit
Background-info: I'm using Microsoft Visual Web Developer 2010 Express. Info about my (lack of)

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.