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

Ask a Question related to ASP.NET Web Services, Design and Development.

  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. Similar Questions and Discussions

    1. Server.CreateObject("MSWC.Tools") fails in Windows 2003 server?
      hello all, I hope you all are fine and doing well. I'm finding this error when i do Server.CreateObject("MSWC.Tools") in ASP using interdev. I...
    2. crystal report "logon failed" on windows server 2003
      Hi all, I encountered a crystal report deployment problem. I make reports with Crystal Report for Visual Studio .NET 2003. It works fine in...
    3. "Could not find a part of the path… " error on IIS 6.0
      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. ...
    4. Exception - Could not find a part of the path "D:\"
      I've just deployed my .Net Web app at an ISP on a shared server. Whenever I try to create a new directory, an exception is raised - Could not...
    5. replacing part of the path for "tar"
      Hi, I have to tar -xvf ebf100.30.tar, but when I do it it creates an ebf10030 directory inside the target directory and puts all the stuff...
  3. #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@yahoo.com> wrote in message
    news:76e903e5.0401151356.249d5707@posting.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

  4. #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" <jan@no.spam.please.leadit.be> wrote in message news:<uT1wa2$2DHA.3196@TK2MSFTNGP11.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@yahoo.com> wrote in message
    > news:76e903e5.0401151356.249d5707@posting.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

Posting Permissions

  • You may not post new threads
  • You may 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