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

  1. #1

    Default aspnet_setreg fails

    Getting a consistent failure on machines when attempting
    to run the aspnet_setreg utility. The command line has
    worked on one or two machines. Here is the command line
    being used:
    aspnet_setreg.exe -
    k:SOFTWARE\CORPORATEAPPS\AppName\identity -
    u:"domain\account" -p:"password"

    The error is: ERROR: Argument 1 Invalid:

    I've tried creating the key manually ahead of time and
    checking rights. Cannot find anything wrong. Windows
    2000, SP4, Framework 1.1 (only).

    Anybody else get this or know what the issue might be?


    Kevin Brown Guest

  2. Similar Questions and Discussions

    1. ASPNET_SETREG and Framework 1.1
      My colleage and I determined that generic error message that is given as a response to *anything* being slightly out of place, when using the...
    2. Using aspnet_setreg
      Hello, I am converting a asp.net web app from using connection string safety in the web.config to using encrypted values using astnet_setreg. I...
    3. ASPNET_SETREG runs on XP, not 2000
      I have a webservice up and running locally on my dev machine (XP) using impersonate like so: Line 5: <identity impersonate="true" Line 6:...
    4. Using ASPNET_SETREG.exe
      Can this utility be used for an impersonated user in Web.Config? I've used it to create the appropriate userName and password keys in the registry...
    5. Has _ANYONE_ ever got the aspnet_setreg utility to work for them?
      Dear Jason, I found the resolution to my problem with a hotfix from MS it is listed as Q329250 and you must requested from the support. You have...
  3. #2

    Default Re: aspnet_setreg fails

    Well anything is always worth a try but no that isn't the
    problem. Same failure. The original command line worked
    on my XP machine but fails on the Windows 2000 boxes at my
    client.
    It would be nice if we had the source. There isn't much
    to this program so re-producing the encrypt functionality
    isn't difficult (just seems ashame to have to do that when
    a tool is provided).
    >-----Original Message-----
    >Well, the help specifies a single subkey argument, and
    you are providing two
    >levels. Perhaps this is the issue? It shouldn't matter, I
    know, but it
    >might. Try using only SOFTARE\AppName\identity ....
    >
    >--
    >Chris Jackson
    >Software Engineer
    >Microsoft MVP - Windows XP
    >Windows XP Associate Expert
    >--
    >"Kevin Brown" <newsgroupid@versatilesolutions.com> wrote
    in message
    >news:001c01c361b5$be935f90$a401280a@phx.gbl...
    >> Getting a consistent failure on machines when attempting
    >> to run the aspnet_setreg utility. The command line has
    >> worked on one or two machines. Here is the command line
    >> being used:
    >> aspnet_setreg.exe -
    >> k:SOFTWARE\CORPORATEAPPS\AppName\identity -
    >> u:"domain\account" -p:"password"
    >>
    >> The error is: ERROR: Argument 1 Invalid:
    >>
    >> I've tried creating the key manually ahead of time and
    >> checking rights. Cannot find anything wrong. Windows
    >> 2000, SP4, Framework 1.1 (only).
    >>
    >> Anybody else get this or know what the issue might be?
    >>
    >>
    >
    >
    >.
    >
    Kevin Brown 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