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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:02:49+00:00 2026-05-11T09:02:49+00:00

Let me start by saying, I’m no expert in windows file permissions, so maybe

  • 0

Let me start by saying, I’m no expert in windows file permissions, so maybe there is something very basic I am missing here.

I have a Asp.net FileUploader control. I have a folder on the same machine as the Asp.net application I would like files to be uploaded to.

I want to be able to tell the FileUploader to put the files in

\\thisMachineName\UploadFolder\ 

but I always get an exception stating that access to that path is denied.

If I change the directory to be

c:\UploadFolder\ 

it works fine. Also, I can put the above UNC into windows explorer and it does in fact map to the directory.

Any ideas or thoughts?

–Update Note: This is a Windows 2000 server box, and the folder has ‘Everyone’ granted all of the possible allow permissions.

  • 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. 2026-05-11T09:02:50+00:00Added an answer on May 11, 2026 at 9:02 am

    The one thing I always see people doing is that they fail to set permissions on the share. To set up a shared folder, you have to do the following:

    1) Determine the account under which you will be connecting to the share
    2) Grant this account access rights on the file system
    3) Grant this account access rights to the network file share

    No. 1, in this case, usually means checking your configuration or simply using process explorer to determine under what account ASP.NET is running. Plenty of info on google about how to do this.

    No. 2 is the obvious one. You log on the machine where the physical drive exists, browse to the folder in explorer, right click on it and hit the security tab. We’ve done this a bazillion times.

    No. 3 is where people mess up. Yes, the worker account now has rights to the local file system, but not to CONNECT to the local file system over the network. From the Security tab skip back to the network sharing tab and look for a Permissions button. You’ll use this to grant the worker account rights to connect to the share.

    The second issue I’ve seen is when people attempt to grant access rights on machine A to an account that only exists on machine B. This won’t work, generally. Both machine A and machine B have to belong to a common domain which both A and B trust to authenticate users. Most often businesses running Windows use ActiveDomain to control access rights on the network.

    In order to have the ASP.NET worker process on machine B access the share on machine A, the worker process must be running under an account that is authenticated on the network, not just the local machine. Most often you’ll have to create a specific account on the network and give that account rights to both machines, and then use that account to run the ASP.NET worker process for your website.

    If you’re scratching your head, you’ve got some learning to do. This stuff isn’t easy. I strongly suggest reading the following:

    http://msdn.microsoft.com/en-us/library/ms978378.aspx

    Its relatively clear and contains everything you need to know.

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

Sidebar

Related Questions

Let me start by saying I'm very new to Java and to this site.
Let me start by saying I am not an SQL or SQL Server expert
Let's start by saying that my code works perfectly fine, there is no problem
First let me start off by saying I read on here a lot and
Let me start by saying that I'm not a power-JavaScript/jQuery programmer, I do very
Let me start by saying that I know there are a few topics discussing
Let me start by saying that I am not an expert in any one
Let me start by saying this is a homework assignment, I don't need any
Let me start by saying that I've never coded in Python. I need to
Let me start by saying, I like the border that chrome is using for

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.