ASP.NET Fails after SP4 with Impersonation

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

  1. #1

    Default Re: ASP.NET Fails after SP4 with Impersonation

    Michael,

    See [url]http://support.microsoft.com/default.aspx?scid=kb;[/url][LN];821546


    "Michael Kennedy [UB]" <mkennedy@REMOVETHIS.unitedbinary.com> wrote in
    message news:ujp$QUNPDHA.3236@TK2MSFTNGP10.phx.gbl...
    > Hi Everyone,
    >
    > Last night we installed SP4 on our Windows 2000 Advanced Server which was
    > are using as an ASP.NET web server (.NET 1.1). This morning we found out
    > that our ASP.NET applications that use impersonation. That is from the
    > web.config:
    >
    > <identity impersonate="true" userName="DOMAIN\USER" password="PASSWORD" />
    >
    > fail with the message "Access Denied: Failed to start monitoring
    > c:\inetpub\wwwroot\myapp\default.aspx for changes."
    >
    > This application worked fine before. Moreover, if I remove the
    impersonation
    > line from the web.config, everything is find again except of course things
    > that required the impersonation fail.
    >
    > Does anyone know why this happens? Better yet, anyone know how to fix it?
    >
    > Thanks in advance!
    > Michael
    >
    >
    >

    Raymond Basque Guest

  2. Similar Questions and Discussions

    1. #38978 [NEW]: Impersonation fails for a COM object under load
      From: tetikr at spytech dot cz Operating system: Win2003 SP1 PHP version: 5.1.6 PHP Bug Type: COM related Bug description: ...
    2. ASP.NET Impersonation fails on IIS
      Hi, I built an ASP.NET Web application with impersonation. This works fine, my login is recognized. Now I want to get access to a certain folder...
    3. impersonation fails on 2K server
      I've got an ASP.NET web app that generates dynamic excel spreadsheets via COM. It does this work in a seperate subdirectory called "reports" and...
    4. Impersonation fails on all other pages
      I am trying to impersonate 3 "roles" based upon forms authentication, a SQL Server lookup, and a LogonUser call on a Win2003 1.1 box. The goal of...
    5. Impersonation fails after upgrade to .NET 1.1 Framework
      I have developed and ASP.NET application that uses the aadvapi32.dll to impersonate a domain user to gain access to files on a different server. The...
  3. #2

    Default RE: ASP.NET Fails after SP4 with Impersonation

    Hello Michael,
    Try to add read, execute, and list access for the account on the root Web
    site or on any virtual directory, follow these steps:



    1. In Windows Explorer, browse to the folder that contains the root Web
    site (which is C:\Inetpub\Wwwroot by default) or the virtual directory.

    2. Right-click the folder, and then click Properties.

    3. On the Security tab, click Add.

    4. Type "<ComputerName>\ASPNET" (without the quotation marks) (for
    example, on a computer named Webdev, type "Webdev\Account" (without the
    quotation marks)), and then click OK.

    5. Allow the following permissions for the custom account:

    - Read & Execute

    - List Folder Contents

    - Read



    6. Click OK to close the Properties dialog box and to save the changes.


    NOTE: You do not need to perform these steps if the Everyone group or the
    Users group has read access to the root Web site or virtual directory.

    You might check also the following Kb article:
    317955 FIX: "Failed to Start Monitoring Directory Changes" Error Message
    When
    [url]http://support.microsoft.com/?id=317955[/url]


    Please let me know if this solves the problem.


    Thanks,
    Bassel Tabbara
    Microsoft, ASP.NET

    This posting is provided "AS IS", with no warranties, and confers no rights.


    --------------------
    | From: "Michael Kennedy [UB]" <mkennedy@REMOVETHIS.unitedbinary.com>
    | Subject: ASP.NET Fails after SP4 with Impersonation
    | Date: Fri, 27 Jun 2003 10:53:47 -0700
    | Lines: 23
    | Organization: United Binary, LLC.
    | X-Priority: 3
    | X-MSMail-Priority: Normal
    | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
    | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
    | Message-ID: <ujp$QUNPDHA.3236@TK2MSFTNGP10.phx.gbl>
    | Newsgroups:
    microsoft.public.dotnet.framework.aspnet,microsoft .public.win2000.general
    | NNTP-Posting-Host: 130.191.240.187
    | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
    | Xref: cpmsftngxa06.phx.gbl microsoft.public.win2000.general:55001
    microsoft.public.dotnet.framework.aspnet:155514
    | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    |
    | Hi Everyone,
    |
    | Last night we installed SP4 on our Windows 2000 Advanced Server which was
    | are using as an ASP.NET web server (.NET 1.1). This morning we found out
    | that our ASP.NET applications that use impersonation. That is from the
    | web.config:
    |
    | <identity impersonate="true" userName="DOMAIN\USER" password="PASSWORD" />
    |
    | fail with the message "Access Denied: Failed to start monitoring
    | c:\inetpub\wwwroot\myapp\default.aspx for changes."
    |
    | This application worked fine before. Moreover, if I remove the
    impersonation
    | line from the web.config, everything is find again except of course things
    | that required the impersonation fail.
    |
    | Does anyone know why this happens? Better yet, anyone know how to fix it?
    |
    | Thanks in advance!
    | Michael
    |
    |
    |
    |


    Bassel Tabbara [MSFT] Guest

  4. #3

    Default Re: ASP.NET Fails after SP4 with Impersonation

    It's impressive how quickly MS has addressed this issue.

    I would also be impressed if someone would tell me how we were supposed to
    know about this problem? There's a HUGE list of bug fixes in SP4. Were we
    supposed to read every one of those KB articles?

    --
    John Saunders
    Internet Engineer
    [email]john.saunders@surfcontrol.com[/email]


    "Raymond Basque" <NOSPAMrbasque@jednm.comNO_SPAM> wrote in message
    news:uki0ctNPDHA.1624@tk2msftngp13.phx.gbl...
    > Michael,
    >
    > See [url]http://support.microsoft.com/default.aspx?scid=kb;[/url][LN];821546
    >
    >
    > "Michael Kennedy [UB]" <mkennedy@REMOVETHIS.unitedbinary.com> wrote in
    > message news:ujp$QUNPDHA.3236@TK2MSFTNGP10.phx.gbl...
    > > Hi Everyone,
    > >
    > > Last night we installed SP4 on our Windows 2000 Advanced Server which
    was
    > > are using as an ASP.NET web server (.NET 1.1). This morning we found out
    > > that our ASP.NET applications that use impersonation. That is from the
    > > web.config:
    > >
    > > <identity impersonate="true" userName="DOMAIN\USER" password="PASSWORD"
    />
    > >
    > > fail with the message "Access Denied: Failed to start monitoring
    > > c:\inetpub\wwwroot\myapp\default.aspx for changes."
    > >
    > > This application worked fine before. Moreover, if I remove the
    > impersonation
    > > line from the web.config, everything is find again except of course
    things
    > > that required the impersonation fail.
    > >
    > > Does anyone know why this happens? Better yet, anyone know how to fix
    it?
    > >
    > > Thanks in advance!
    > > Michael
    > >
    > >
    > >
    >
    >

    John Saunders Guest

  5. #4

    Default Re: ASP.NET Fails after SP4 with Impersonation

    Thanks Raymond,

    That seems to be exactly the problem I'm encountering. I have tried taking
    all the steps mentioned in the KB article, but I'm still suffering the
    problem. I'll keep looking into it

    Thanks again!
    Michael


    "Raymond Basque" <NOSPAMrbasque@jednm.comNO_SPAM> wrote in message
    news:uki0ctNPDHA.1624@tk2msftngp13.phx.gbl...
    > Michael,
    >
    > See [url]http://support.microsoft.com/default.aspx?scid=kb;[/url][LN];821546
    >
    >
    > "Michael Kennedy [UB]" <mkennedy@REMOVETHIS.unitedbinary.com> wrote in
    > message news:ujp$QUNPDHA.3236@TK2MSFTNGP10.phx.gbl...
    > > Hi Everyone,
    > >
    > > Last night we installed SP4 on our Windows 2000 Advanced Server which
    was
    > > are using as an ASP.NET web server (.NET 1.1). This morning we found out
    > > that our ASP.NET applications that use impersonation. That is from the
    > > web.config:
    > >
    > > <identity impersonate="true" userName="DOMAIN\USER" password="PASSWORD"
    />
    > >
    > > fail with the message "Access Denied: Failed to start monitoring
    > > c:\inetpub\wwwroot\myapp\default.aspx for changes."
    > >
    > > This application worked fine before. Moreover, if I remove the
    > impersonation
    > > line from the web.config, everything is find again except of course
    things
    > > that required the impersonation fail.
    > >
    > > Does anyone know why this happens? Better yet, anyone know how to fix
    it?
    > >
    > > Thanks in advance!
    > > Michael
    > >
    > >
    > >
    >
    >

    Michael Kennedy [UB] Guest

  6. #5

    Default Re: ASP.NET Fails after SP4 with Impersonation

    Hi Bassel,

    Thanks. I think it may have been a combination of this and the KB article
    mentioned previously by Raymond. I'm still working on it however. There is
    something that is not quite right here. I'll let you know if I learn any
    more details.

    Michael

    ""Bassel Tabbara [MSFT]"" <basselt@online.microsoft.com> wrote in message
    news:8VGEAZOPDHA.1200@cpmsftngxa06.phx.gbl...
    > Hello Michael,
    > Try to add read, execute, and list access for the account on the root Web
    > site or on any virtual directory, follow these steps:
    >
    >
    >
    > 1. In Windows Explorer, browse to the folder that contains the root Web
    > site (which is C:\Inetpub\Wwwroot by default) or the virtual directory.
    >
    > 2. Right-click the folder, and then click Properties.
    >
    > 3. On the Security tab, click Add.
    >
    > 4. Type "<ComputerName>\ASPNET" (without the quotation marks) (for
    > example, on a computer named Webdev, type "Webdev\Account" (without the
    > quotation marks)), and then click OK.
    >
    > 5. Allow the following permissions for the custom account:
    >
    > - Read & Execute
    >
    > - List Folder Contents
    >
    > - Read
    >
    >
    >
    > 6. Click OK to close the Properties dialog box and to save the changes.
    >
    >
    > NOTE: You do not need to perform these steps if the Everyone group or the
    > Users group has read access to the root Web site or virtual directory.
    >
    > You might check also the following Kb article:
    > 317955 FIX: "Failed to Start Monitoring Directory Changes" Error Message
    > When
    > [url]http://support.microsoft.com/?id=317955[/url]
    >
    >
    > Please let me know if this solves the problem.
    >
    >
    > Thanks,
    > Bassel Tabbara
    > Microsoft, ASP.NET
    >
    > This posting is provided "AS IS", with no warranties, and confers no
    rights.
    >
    >
    > --------------------
    > | From: "Michael Kennedy [UB]" <mkennedy@REMOVETHIS.unitedbinary.com>
    > | Subject: ASP.NET Fails after SP4 with Impersonation
    > | Date: Fri, 27 Jun 2003 10:53:47 -0700
    > | Lines: 23
    > | Organization: United Binary, LLC.
    > | X-Priority: 3
    > | X-MSMail-Priority: Normal
    > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
    > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
    > | Message-ID: <ujp$QUNPDHA.3236@TK2MSFTNGP10.phx.gbl>
    > | Newsgroups:
    > microsoft.public.dotnet.framework.aspnet,microsoft .public.win2000.general
    > | NNTP-Posting-Host: 130.191.240.187
    > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
    > | Xref: cpmsftngxa06.phx.gbl microsoft.public.win2000.general:55001
    > microsoft.public.dotnet.framework.aspnet:155514
    > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    > |
    > | Hi Everyone,
    > |
    > | Last night we installed SP4 on our Windows 2000 Advanced Server which
    was
    > | are using as an ASP.NET web server (.NET 1.1). This morning we found out
    > | that our ASP.NET applications that use impersonation. That is from the
    > | web.config:
    > |
    > | <identity impersonate="true" userName="DOMAIN\USER" password="PASSWORD"
    />
    > |
    > | fail with the message "Access Denied: Failed to start monitoring
    > | c:\inetpub\wwwroot\myapp\default.aspx for changes."
    > |
    > | This application worked fine before. Moreover, if I remove the
    > impersonation
    > | line from the web.config, everything is find again except of course
    things
    > | that required the impersonation fail.
    > |
    > | Does anyone know why this happens? Better yet, anyone know how to fix
    it?
    > |
    > | Thanks in advance!
    > | Michael
    > |
    > |
    > |
    > |
    >
    >

    Michael Kennedy [UB] Guest

  7. #6

    Default Re: ASP.NET Fails after SP4 with Impersonation

    I got the same problem after SP4, seems the SP4 got some update on the
    IIS and some file have been replaced, so the ASP.NET system file is
    removed from the web server.

    I try to reinstall the .net framework 1.1 again and it works for me.

    Michael Kennedy [UB] wrote:
    > Hi Everyone,
    >
    > Last night we installed SP4 on our Windows 2000 Advanced Server which was
    > are using as an ASP.NET web server (.NET 1.1). This morning we found out
    > that our ASP.NET applications that use impersonation. That is from the
    > web.config:
    >
    > <identity impersonate="true" userName="DOMAIN\USER" password="PASSWORD" />
    >
    > fail with the message "Access Denied: Failed to start monitoring
    > c:\inetpub\wwwroot\myapp\default.aspx for changes."
    >
    > This application worked fine before. Moreover, if I remove the impersonation
    > line from the web.config, everything is find again except of course things
    > that required the impersonation fail.
    >
    > Does anyone know why this happens? Better yet, anyone know how to fix it?
    >
    > Thanks in advance!
    > Michael
    >
    >
    >
    Hidulf Guest

  8. #7

    Default Re: ASP.NET Fails after SP4 with Impersonation

    "John Saunders" <john.saunders@surfcontrol.com> wrote in message news:<eIdVneOPDHA.2480@tk2msftngp13.phx.gbl>...
    > It's impressive how quickly MS has addressed this issue.
    >
    > I would also be impressed if someone would tell me how we were supposed to
    > know about this problem? There's a HUGE list of bug fixes in SP4. Were we
    > supposed to read every one of those KB articles?
    Gee, maybe by reading the documents that are prominently listed on the main
    SP4 web page? The ones that Microsoft says all users should read? Only four
    documents are listed, and anybody who installs SP4 really should read all four:

    System Requirements
    Readme File
    Release Notes
    Windows 2000 SP4 FAQ

    Here's what that page says about the Release Notes:

    Release Notes for Windows 2000*Service*Pack*4
    See this article in the Microsoft Knowledge Base for release notes
    and information about known issues. Read these notes carefully
    before you install SP4.

    The phrase "known issues" should cause any decent admin to realize
    that they really should read the info, as Microsoft recommends. The
    link for the Release Notes is:

    [url]http://support.microsoft.com/?kbid=813432[/url]

    You did read those notes carefully before you installed SP4, right?
    If so, you would have seen a very short page, listing eight items that
    represent differences in SP4 that might cause you problems. The
    very first one is this, under "Application Compatability":

    821546 Some Programs That Use Impersonation Do Not
    Work Correctly After You Install Windows 2000
    Service Pack 4

    Seemed very clear to me. It's already on our "investigation list" as we plan
    to rollout SP4.

    Microsoft's track record with reliability and lack of problems with Windows
    Service Packs may be improving, but it's not perfect. You should always
    read the available documentation first, even if you want to be on the
    bleeding edge, and install it on the first day it's available.
    M B Guest

  9. #8

    Default Re: ASP.NET Fails after SP4 with Impersonation

    Hi,

    Ah interesting. Maybe I will try reinstalling ASP.NET. Does anyone know the
    command to refresh the install of ASP.NET without completely uninstalling
    and then reinstalling the .NET Framework?

    Thanks,
    Michael

    "Hidulf" <hidulf@netscape.net> wrote in message
    news:3EFDD539.9060303@netscape.net...
    > I got the same problem after SP4, seems the SP4 got some update on the
    > IIS and some file have been replaced, so the ASP.NET system file is
    > removed from the web server.
    >
    > I try to reinstall the .net framework 1.1 again and it works for me.
    >
    > Michael Kennedy [UB] wrote:
    > > Hi Everyone,
    > >
    > > Last night we installed SP4 on our Windows 2000 Advanced Server which
    was
    > > are using as an ASP.NET web server (.NET 1.1). This morning we found out
    > > that our ASP.NET applications that use impersonation. That is from the
    > > web.config:
    > >
    > > <identity impersonate="true" userName="DOMAIN\USER" password="PASSWORD"
    />
    > >
    > > fail with the message "Access Denied: Failed to start monitoring
    > > c:\inetpub\wwwroot\myapp\default.aspx for changes."
    > >
    > > This application worked fine before. Moreover, if I remove the
    impersonation
    > > line from the web.config, everything is find again except of course
    things
    > > that required the impersonation fail.
    > >
    > > Does anyone know why this happens? Better yet, anyone know how to fix
    it?
    > >
    > > Thanks in advance!
    > > Michael
    > >
    > >
    > >
    >

    Michael Kennedy [UB] Guest

  10. #9

    Default Re: ASP.NET Fails after SP4 with Impersonation

    Hi David,

    Thanks. Yeah, they added some new, tighter security which some of the other
    posts mentioned. I'm still having issues with them but I think I may need to
    try some more.

    Regards,
    Michael


    "David Adner" <davidadner@yahoo.com> wrote in message
    news:3EFFB6DE.9113EE51@yahoo.com...
    > Check out the release notes. They mention new User Rights surrounding
    > impersonations.
    >
    > "Michael Kennedy [UB]" wrote:
    > >
    > > Hi Everyone,
    > >
    > > Last night we installed SP4 on our Windows 2000 Advanced Server which
    was
    > > are using as an ASP.NET web server (.NET 1.1). This morning we found out
    > > that our ASP.NET applications that use impersonation. That is from the
    > > web.config:
    > >
    > > <identity impersonate="true" userName="DOMAIN\USER" password="PASSWORD"
    />
    > >
    > > fail with the message "Access Denied: Failed to start monitoring
    > > c:\inetpub\wwwroot\myapp\default.aspx for changes."
    > >
    > > This application worked fine before. Moreover, if I remove the
    impersonation
    > > line from the web.config, everything is find again except of course
    things
    > > that required the impersonation fail.
    > >
    > > Does anyone know why this happens? Better yet, anyone know how to fix
    it?
    > >
    > > Thanks in advance!
    > > Michael

    Michael Kennedy [UB] 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