Running ASP.NET on a DomainController

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

  1. #1

    Default Running ASP.NET on a DomainController

    I'm developing an ASP.NET app that uses ActiveDirectory. To demo
    this, I've built a notebook as a Win2000 DomainController with IIS.
    To my pleasant surprise this actually worked - at least until I
    patched it the other night. Now I get nothing but security violations
    (access denied), with no usefull indication as to what security I've
    violated. I'm using 'impersonate' mode and I'm logged in as the admin
    of the only Domain.

    I can get this working with .NET 1.0 and an un-patched DC, but I need
    to upgrade it to .NET 1.1 which requires patches that will introduce
    the security problems.

    I've tried modifying the Machine.Config to use 'SYSTEM' rather than
    'machine' as the processed, this didn't do it.

    Does anybody have a hint on what security settings need to be tweeked
    to get this to work?

    Thanks,
    Randy
    Randy Guest

  2. Similar Questions and Discussions

    1. getting php up and running
      how do i fix this error: (occurs when attempting to open http://192.XXX.XXX.XXX/~user in browser) MySQL said: #2002 - The server is not...
    2. Verity won't stay running - constantly running
      I have tried several reinstalls, but it always shuts itself down. Verity keeps shutting itself OFF ???? All I see the next day is: Unable to...
    3. app not running under MAC OSX 10.3
      hi m. i have a multinational client saying the the 7 language Trainings CD-ROM isnt running under 10.3 i have seen that:...
    4. ASP.NET on a DomainController
      I'm developing an ASP.NET app that uses ActiveDirectory. To demo this, I've built a notebook as a Win2000 DomainController with IIS. To my...
    5. Samba running running slow...
      I installed RH 9 on a box and Samba ran great: copying files from the NT box to the Linux box and visa versa. Then I tried to recompile Apache...
  3. #2

    Default Re: Running ASP.NET on a DomainController

    When you install .NET 1.1 on a Domain Controller, ASP.NET uses the
    IWAM_[machinename] user instead of ASPNET user. This is probably leading to
    your issues...

    This isn't clearly spelled out in documentation I have seen, but I found out
    the gory details via a support call.
    __________________________________________________ ______
    Luther Miller . MCSD (.NET), Sr Software Architect / Engineer
    Softagon Corporation . [url]www.softagon.com[/url] . San Francisco

    "Randy" <Randy@aol.com> wrote in message
    news:t95ohvgnvki0ft9ku891atv186huahgc4m@4ax.com...
    > I'm developing an ASP.NET app that uses ActiveDirectory. To demo
    > this, I've built a notebook as a Win2000 DomainController with IIS.
    > To my pleasant surprise this actually worked - at least until I
    > patched it the other night. Now I get nothing but security violations
    > (access denied), with no usefull indication as to what security I've
    > violated. I'm using 'impersonate' mode and I'm logged in as the admin
    > of the only Domain.
    >
    > I can get this working with .NET 1.0 and an un-patched DC, but I need
    > to upgrade it to .NET 1.1 which requires patches that will introduce
    > the security problems.
    >
    > I've tried modifying the Machine.Config to use 'SYSTEM' rather than
    > 'machine' as the processed, this didn't do it.
    >
    > Does anybody have a hint on what security settings need to be tweeked
    > to get this to work?
    >
    > Thanks,
    > Randy

    Luther Miller Guest

  4. #3

    Default Re: Running ASP.NET on a DomainController

    Had the same problem. Change to username "machine" and password
    "AutoGenerate" worked for us (from ASPNET user or something similar--I'm
    away from the machine at the moment).

    ALSO, had to stop and restart the web service before the change took effect.

    "Randy" <Randy@aol.com> wrote in message
    news:t95ohvgnvki0ft9ku891atv186huahgc4m@4ax.com...
    > I'm developing an ASP.NET app that uses ActiveDirectory. To demo
    > this, I've built a notebook as a Win2000 DomainController with IIS.
    > To my pleasant surprise this actually worked - at least until I
    > patched it the other night. Now I get nothing but security violations
    > (access denied), with no usefull indication as to what security I've
    > violated. I'm using 'impersonate' mode and I'm logged in as the admin
    > of the only Domain.
    >
    > I can get this working with .NET 1.0 and an un-patched DC, but I need
    > to upgrade it to .NET 1.1 which requires patches that will introduce
    > the security problems.
    >
    > I've tried modifying the Machine.Config to use 'SYSTEM' rather than
    > 'machine' as the processed, this didn't do it.
    >
    > Does anybody have a hint on what security settings need to be tweeked
    > to get this to work?
    >
    > Thanks,
    > Randy

    Joe Iano Guest

  5. #4

    Default Re: Running ASP.NET on a DomainController

    This is a documented Microsoft bug. Refer to knowledge base article:
    Q315158
    "BUG: ASP.NET Does Not Work with the Default ASPNET Account on a Domain
    Controller"
    which may be found in the Visual Studio documentation/help
    (ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/enu_kbaspnetkb/en-us/aspnetk
    b/Q315158.htm)
    or [url]http://support.microsoft.com[/url]
    HTH

    --
    Peter O'Reilly


    Peter O'Reilly 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