Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > aspnet_setreg fails

Reply
Thread Tools

aspnet_setreg fails

 
 
Kevin Brown
Guest
Posts: n/a
 
      08-13-2003
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?


 
Reply With Quote
 
 
 
 
Kevin Brown
Guest
Posts: n/a
 
      08-13-2003
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" <> wrote

in message
>news:001c01c361b5$be935f90$...
>> 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?
>>
>>

>
>
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Error reading the password from the registry, aspnet_setreg D Barry ASP .Net 1 12-17-2008 10:35 PM
ASPNET_SETREG runs on XP, not 2000 microsoft.public.dotnet.framework.aspnet.webcontrols ASP .Net 0 05-05-2004 07:13 PM
Setting registry permission after aspnet_setreg. Kevin Burton ASP .Net 1 02-07-2004 06:53 PM
aspnet_setreg? Kevin Burton ASP .Net 1 01-09-2004 03:26 PM
aspnet_setreg error with v1.1 Andy ASP .Net 1 11-20-2003 01:17 PM



Advertisments
 



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