469,924 Members | 1,419 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,924 developers. It's quick & easy.

"Could not find a part of the path" error

I have an ASP.NET web application running on a load-balanced Windows
Server 2003 web farm running IIS 6.0, using Active Directory
authentication. I'm trying to programmatically create a new directory
on a different server in the same domain. Before we switched to 2003,
I was able to simply change the user in the machine.config file to a
domain user with permissions. In 2003 I have done the following:

1. Created a new domain user account.
2. Made this user an Administrator on all servers.
3. Created a new application pool and set the Identity of the App Pool
to the new user.
4. Set my application to use this app pool.
5. Added this user account to the IIS_WPG group.
6. Added User Rights of "adjust memory quotas for a process" and
"Replace a process level token" to this user account.
7. Used the SETSPN to add a SPN for this user account using syntax
SETSPN.EXE –A HOST/<computer name> Domain\UserAccount

I'm still getting the "Could not find a part of the path… " error when
the System.IO.Directory.CreateDirectory method is called.

Any ideas?
Nov 18 '05 #1
0 1409

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Jonas Auken | last post: by
9 posts views Thread by Clinton Frankland | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.