By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,979 Members | 960 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,979 IT Pros & Developers. It's quick & easy.

Accessing a file on remote server from a web server

P: 2

I'm struggling with the following scenario:

I want my application to be able to create and write to a specific file on a remote file server from a web server. Both servers have Windows Server 2003 with IIS 6.0 installed.

What I have done is:

1. I have created 2 identical accounts on the servers, a "Custom ASP.NET account" by following this "How To":

2. I have created a virtual directory on my web server where my application resides in.

3. I have created a application pool on my web server that uses the custom account as an identity. The virtual directory is using this application pool.

4. I have given the custom account on the file server access right to write to a certain file for test purpose. This is the file that the application is trying to write to.

But when I run the application, all I get is a "Service unavailable" message in internet explorer and the event log says:

"Application pool 'FileShare' is being automatically disabled due to a series of failures in the process(es) serving that application pool."

"A process serving application pool 'FileShare' terminated unexpectedly. The process id was '4640'. The process exit code was '0xffffffff'."

... I have done some googling and found out that this might have something to do with lacking some ACL, but I have no idea which ACL this might be. Do you have any clues to why this is happening?

I really like the general idea of accessing the remote server using duplicate accounts on both servers and also using the same account in the application pool for my application so if it is possible I would go for this solution.

But how do I make this work...

Appreciate any help from you

-- OKB
Mar 20 '07 #1
Share this Question
Share on Google+
2 Replies

Expert 2.5K+
P: 4,871
Welcome to the site. Which version of are using for your application? Here is an article that may help:
The Windows Access Control Model Part 1
Mar 21 '07 #2

P: 2

I'm using 1.1

The ACL article didn't help I'm afraid, but thank you for trying

-- OKB
Mar 21 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.