Got it. Here's what's extra strange: it appears it DID the -c, but still
(I
suppose afterwards) gave the error.
I am a member of the administrators group on the machine. The error
message
says one needs "administrative privileges", not that one must log in with
the
user name "Administrator" (or whatever that user may have been renamed
as).
So far there has been no operation I can not do on that machine other than
this, including installing any software, accessing any registry key, etc.
Wouldn't make much sense with those privileges to be denied some part of
the
-ea or -c operations!
In any case, since the files WERE properly placed by -c, despite the
error,
I just created a virtual directory in the web app to point to it for the
aspnet client, and it is working fine so far.
-oz
Juan T. Llibre said:
heh, heh...
Clearly, you can't make sure
that deleted files are not read-only
You should check that *before* deleting them.
When you say that you are a "local administrator",
are you *the* "Administrator", or an account which
has been granted administrative privilege ?
Juan T. Llibre
ASP.NET MVP
===========
Oz said:
Juan -- I don't understand the sequence.
It looks to me like you've said to delete the 1-1-4322 directory in its
entirety, THEN to be sure the files in it (which are now gone) are not
read-only, and THEN run aspnet_regiis -ea. Obviously the above sequence
is
impossible.
But even when I follow any combination of these, I still get the
"administrative privileges" message. Even running the "-ea" process
fails
because of this. I am definitely a local administrator (win 2K Server).
What is it that needs admin permissions exactly -- obviously it isn't
me...?
:
Forgot to add...
Make sure the [Web Root]\aspnet_client\system_web\1_1_4322\*.js
files are NOT read-only BEFORE running the aspnet_regiis -ea
and the aspnet_regiis -c commands.
Juan T. Llibre
ASP.NET MVP
===========
Hi, Jorriss.
Try this If you're using .NET Framework 1.1 :
Find the "system_web" directory under wwwroot.
Under it, you should find a directory named "1_1_4322".
Delete it.
Run apsnet_regiis -ea from
drive:\windowsdirectory\Microsoft.NET\Framework\v1.1.4322
That should kill all old 1.1.4322 scripts.
Then, run aspnet_regiis -c
That should re-install the 1_1_4322 directory and client scripts.
Let us know how you do.
Juan T. Llibre
ASP.NET MVP
===========
An error has occurred (0x80070005).
You must have administrative rights on this machine in order to run
this
tool.
:
Which error message do you get ?
Juan T. Llibre
ASP.NET MVP
===========
I'm getting the same issue when running aspnet_regiis -c. Any
one
from
MS
out
there to help?
:
I'm not sure what you're asking. Which directories/site/etc..
does
ASPNET
need access to?
The site runs fine, except for not having the correct
validation
jscript
files.
When I run the ASPNET_regiis app I am logged in as the
administrator
or a
member of the administrator group.
Thanks for the help.
John
:
Did u give the ASPNET account access?
OR are u under the acct..
Enjoy
Patrick
:
On one of my localhost sites I'm getting a message to run
aspnet_regiis -c to
correct some scripting issues.
When I try to run the listed command I get another error:
"You must have administrative rights on this machine in
order
to
run
this
tool."
I have verified that I have administrative rights on the
box
as
my
normal
login. I have also logged in as the local administrator,
tried
the
same thing
and get the same message.
I'm running XP Pro SP2 with VS2003. I believe the problem
started
after
applying SP2.
Anyone have any ideas on how to correct this?