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 6765749
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:44:56+00:00 2026-05-26T14:44:56+00:00

Is there an easy way to see which user is causing an System.UnauthorizedAccessException to

  • 0

Is there an easy way to see which user is causing an System.UnauthorizedAccessException to be thrown?

I have a web app on domain A that runs using a specific user account from domain B (IIS 7.5 Anonymous authentication). It needs to write to a shared folder on domain B.

I have given the user account full access to the folder on domain B but I’m still getting a
System.UnauthorizedAccessException which makes me assume that it is not actually running under this account.

Is there an easy way to see what security context the application is running under? I can output any error messages where the exception is being caught.

  • 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-26T14:44:56+00:00Added an answer on May 26, 2026 at 2:44 pm

    I think you should probably need to grand permissions to NETWORK SERVICE user. Modify the permissions within the folder should work.

    I found this article about Setting ASPNET (Network Service) Permissions, which might help you in detail.

    Hope this help

    P.S.

    If it regarding Application Pool Identity, you might have look this one about Configuring Application Pool Identity in IIS 6.0 (IIS 6.0)

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

Sidebar

Related Questions

Is there an easy way in C++ to have a message lookup table that
Is there an easy way to see the actual SQL generated by a rails
Is there a an easy way to see(timestamp) when a database was last altered
Is there some easy way to write Context Help in LabVIEW such that it's
Is there an easy way to work with JSON within oracle? I have a
is there an easy way to accomplish ant expandproperties functionality in Makefiles?, an example
Is there an easy way to access to the root view from a deeply
Is there any easy way to convert an Objective-C holding class of NSStrings into
Is there an easy way to print (to a text file) the path of
Is there an easy way to grab the file name? I'm trying something like

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.