Results 1 to 3 of 3

Thread: ASP.NET deployment help!

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2001
    Posts
    416

    ASP.NET deployment help!

    Hi,

    Today, I start to deploy my first ASP.NET application to production environment. This application simply retrieve data from sql server and display to client. However, I even can't make this simple things done!!

    We are using W2K3 server running IIS6.0. Because of strict security policies in our company (as well as W2K3), the same setup works in UAT environment does not work in production. To put the things simple, I just try to view an aspx page, but got the following error:

    ----
    Server cannot access application directory 'C:\Inetpub\Wwwroot\WebApp\'. The directory does not exist or is not accessible because of security settings.
    ----

    The application is set to allow anonymous access, and a domain a/c is created for such purpose.

    Internet guest a/c, anonymous domain a/c are granted the required directory permission. What is missing is the ASP.NET process identity a/c NETWORK SERVICE. However, I can't find out such a/c in the machine.

    Then I tried to grant rights at "WebApp" level to the "authenticated users" group, then I got this error:

    ---
    Access denied to 'C:\Inetpub\Wwwroot' directory. Failed to start monitoring directory changes.
    ---

    Because there are many other ASP application hosted in this IIS, I don't want to take the risk to grant authority to other a/c at WWWroot level or higher.

    So I copy the "WebApp" out to the C:\, and make changes to IIS to point to this path, but the same error display, but this time request at "C:\Inetpub" level............

    In msdn kb:317955

    http://support.microsoft.com/kb/317955/EN-US/

    it points out that in Method 1, I can elimiate the 2nd error if all directories in the hierarchy are less than 9 characters. Is it such simple? I haven't tried yet....

    Any expert have such experience?
    Why the NETWORK SERVICE a/c does not exist? Is it a NT account or not?

    I have dealing it for half day, but still can't get any cues.

    Thx for help~~~~~~~

  2. #2
    Code Monkey wild_bill's Avatar
    Join Date
    Mar 2005
    Location
    Montana
    Posts
    2,993

    Re: ASP.NET deployment help!

    What access rights does the ASP.NET account have for 'C:\Inetpub\Wwwroot\WebApp\'?

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2001
    Posts
    416

    Re: ASP.NET deployment help!

    Read & Execute
    List Folder Contents
    Read

    just granted at the WebApp level.

    but not IIS 6.0 uses NETWORK SERVICE instead of ASPNET?

Posting Permissions

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



Click Here to Expand Forum to Full Width