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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:28:37+00:00 2026-05-22T02:28:37+00:00

I have two Windows Server 2008 machines on the same domain. Server one is

  • 0

I have two Windows Server 2008 machines on the same domain. Server one is our web server that has an ASP script that needs file access on server two, our server that does not serve web pages.

I shared the folder I need to access on server two. I gave the users IUSR_serverone@domain.local and domain/IIS_WPG read and write permissions.

This condition is not evaluating to true:

if ( fs.FileExists("\\servertwo\folder\somefile.txt")=true) then

My intent is to use a file upload script. That fails 500, but the error is specific to the upload utility so it is not useful here.

I don’t know why my share + permissions are not working right now. Do you? Thanks.

  • 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-22T02:28:38+00:00Added an answer on May 22, 2026 at 2:28 am

    IIS 7 has a quite complicated authentication structure, by default the application pool runs under “AppPoolUser” which is in reality a pseudo user named after the application pool (look in task Manager for your w3wp processes and it will make more sense). Additionally, you set the user the AppPool runs under AND the user that the webserver accesses the websites files with. So you end up with files requested by the webserver being accessed by IUSR and then files that scripts request being accessed by this pseudo user.

    Easiest solution is to set up a new domain user and give it permissions on your shares. Set the Application pool to use that user (advanced settings > identity). Then in the site, under the “Authentication” config, set it to use the same user as Application Pool.

    Can do screenshots if this is not clear.

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

Sidebar

Related Questions

I have two machines: my dev machine has Windows Server 2008 R2 on it,
I have two machines I work on: Windows Client (Development Machine) Linux Web Server
I have SharePoint 2010 and SQL server 2008 setup on two machines. I have
I'm using Python 2.6 and Windows Server 2008 . The server has two IP
I have a Java program that I start like this on Windows Server 2008.
I have two running processes in Windows, and each process has a pipe to
I have two C++ processes (A and B), executing under Windows, where one launches
This one has me beat; I have a WPF window with two (important for
I have two Windows services written in C# following the same patterns and methodology.
I have a site running on windows server 2008. The site is HTML, and

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.