Hi!
I'm struggling with the following scenario:
I want my asp.net 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":
http://msdn2.microsoft .com/en-us/library/aa302396.aspx
2. I have created a virtual directory on my web server where my asp.net application resides in.
3. I have created a application pool on my web server that uses the custom asp.net account as an identity. The virtual directory is using this application pool.
4. I have given the custom asp.net account on the file server access right to write to a certain file for test purpose. This is the file that the asp.net application is trying to write to.
But when I run the asp.net application, all I get is a "Service unavailable" message in internet explorer and the event log says:
"Applicatio n 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 asp.net 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
I'm struggling with the following scenario:
I want my asp.net 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":
http://msdn2.microsoft .com/en-us/library/aa302396.aspx
2. I have created a virtual directory on my web server where my asp.net application resides in.
3. I have created a application pool on my web server that uses the custom asp.net account as an identity. The virtual directory is using this application pool.
4. I have given the custom asp.net account on the file server access right to write to a certain file for test purpose. This is the file that the asp.net application is trying to write to.
But when I run the asp.net application, all I get is a "Service unavailable" message in internet explorer and the event log says:
"Applicatio n 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 asp.net 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
Comment