Professional Web Applications Themes

Windows Server 2003/IIS 6.0/ASP.NET "Could not find a part of the path" - ASP.NET Web Services

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 ...

  1. #1

    Default Windows Server 2003/IIS 6.0/ASP.NET "Could not find a part of the path"

    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?
    dsh Guest

  2. #2

    Default Re: Windows Server 2003/IIS 6.0/ASP.NET "Could not find a part of the path"

    I suggest you post this question in the ASP.NET or IIS newsgroups... I guess
    they'll be able to help you out.

    --
    Greetz

    Jan Tielens
    ________________________________
    Read my weblog: [url]http://weblogs.asp.net/jan[/url]


    "dsh" <darrienhess> wrote in message
    news:76e903e5.0401151356.249d5707posting.google.c om...
    > 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?

    Jan Tielens Guest

  3. #3

    Default Re: Windows Server 2003/IIS 6.0/ASP.NET "Could not find a part of the path"

    Thanks, Jan. I realized my mistake in posting it in the webservices
    forum immediately after I submitted it and put it in the proper forum.
    Sorry for the inconvenience.

    - Darrien

    "Jan Tielens" <janno.spam.please.leadit.be> wrote in message news:<uT1wa2$2DHA.3196TK2MSFTNGP11.phx.gbl>...
    > I suggest you post this question in the ASP.NET or IIS newsgroups... I guess
    > they'll be able to help you out.
    >
    > --
    > Greetz
    >
    > Jan Tielens
    > ________________________________
    > Read my weblog: [url]http://weblogs.asp.net/jan[/url]
    >
    >
    > "dsh" <darrienhess> wrote in message
    > news:76e903e5.0401151356.249d5707posting.google.c om...
    > > 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?
    dsh Guest

Similar Threads

  1. Replies: 7
    Last Post: October 19th, 04:07 AM
  2. crystal report "logon failed" on windows server 2003
    By sztonix in forum Windows Server
    Replies: 1
    Last Post: June 26th, 04:25 PM
  3. Replies: 1
    Last Post: February 1st, 06:25 AM
  4. Exception - Could not find a part of the path "D:\"
    By Bernie Raffe in forum ASP.NET Security
    Replies: 3
    Last Post: September 12th, 09:53 AM
  5. replacing part of the path for "tar"
    By János Löbb in forum AIX
    Replies: 1
    Last Post: July 16th, 11:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139