Odd security problem

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

  1. #1

    Default Odd security problem

    We had a problem with our .NET applications on
    one of our application servers (it is not setup to be a domain
    controller). For some reason the local ASPNET account got
    locked out resulting in the following error message in the event log:

    "aspnet_wp.exe could not be launched because the username and/or
    password supplied in the processModel section of the config file are
    invalid."

    We unlocked the account and did an iisreset and everything returned to normal.

    What could cause this? About the only thing of note is that
    I copied some new asp.net application files to the server
    at 'about' the same time. This has worked without incident before.

    Thanks!
    MarkMurphy Guest

  2. Similar Questions and Discussions

    1. strange security problem
      I want to run asp.net under ID A and web service S under ID B (for logging reasons). However as soon as web service S accesses any COM object the...
    2. ASP.Net Security Problem
      Hi I have a problem with permissions with an ASP.Net Application and IIS and SharePoint on Windows 2000 SP4 with .Net Framework 1.1.4322. The...
    3. Security problem
      I noticed that Win XP change its security level after i use Norton Antivirus Software. I am not able to access the control panel and all the...
    4. Asp.net security problem...?
      Hi all , how can i prevent the user of the asp.net page to copy or print screen some text i put it on the page . Please if any one...
    5. Monumental Problem with XP Pro Security
      I have just rebuilt the Software partition of a machine conataining other partitions holding files managed by an earlier XP set up. I have been...
  3. #2

    Default RE: Odd security problem

    Hi Mark,

    From your description, you got the following error message
    ==================
    "aspnet_wp.exe could not be launched because the username and/or
    password supplied in the processModel section of the config file are
    invalid."
    ==================

    on one of yoru application server wihch has .net installed, yes?

    As you mentioned that the problem is resolved after unlock the aspnet
    account. So there must be something which cause the ASPNET local account be
    locked. In ASP.NET the default process account is MACHINE\ASPNET (on w2k3
    server is NetworkService accoutn). So if the machine\aspnet account is
    locked, all the asp.net application( web application or webservcire or
    other service require the asp.net runtime ) will fail to be launched. And
    this process account can be set in the .net framework's machine.config
    which is under the .net framework's installed folder, for example:
    {driver}:\WINDOWS\Microsoft.NET\Framework\v1.1.432 2\CONFIG

    find the machine.config file, and the account is set in the <processModel>
    element. The default value is
    userName="MACHINE" password="AutoGenerate"
    We can change the userName as "SYSTEM" so as to let the process running
    under the system account.

    In addition , we can also create custom account to run the asp.net process.
    here is the related reference in MSDN:

    #How To Create a Custom Account to Run ASP.NET
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secmod/html[/url]
    /secmod15.asp



    Regards,

    Steven Cheng
    Microsoft Online Support

    Get Secure! [url]www.microsoft.com/security[/url]
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)

    Get Preview at ASP.NET whidbey
    [url]http://msdn.microsoft.com/asp.net/whidbey/default.aspx[/url]


    Steven Cheng[MSFT] Guest

  4. #3

    Default RE: Odd security problem

    Hi Mark,

    Have you had a chance to check out the things in my last reply or have you
    got any further ideas on this issue? If you need any further assistance,
    please feel free to post here. Thanks.

    Regards,

    Steven Cheng
    Microsoft Online Support

    Get Secure! [url]www.microsoft.com/security[/url]
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)

    Get Preview at ASP.NET whidbey
    [url]http://msdn.microsoft.com/asp.net/whidbey/default.aspx[/url]

    Steven Cheng[MSFT] Guest

  5. #4

    Default Re: Odd security problem

    Actually we remedied the problem by reenabling the aspnet account.
    What we can't figure out is what disabled it and why. Any ideas?

    Thanks for getting back!

    Mark
    MarkMurphy Guest

  6. #5

    Default Re: Odd security problem

    Hi Mark,

    Thanks for the followup. Since you found that the aspnet local account is
    auto disabled , I think it maybe a lit difficult to monitor it. Is there
    anything helpful in the machine's eventlog ? I think you can do more tests
    to repro the behavior so as to do some further troubleshooting.

    Regards,

    Steven Cheng
    Microsoft Online Support

    Get Secure! [url]www.microsoft.com/security[/url]
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)

    Get Preview at ASP.NET whidbey
    [url]http://msdn.microsoft.com/asp.net/whidbey/default.aspx[/url]


    Steven Cheng[MSFT] 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