Error running ASPNET_RegIIS -c

G

Guest

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?
 
G

Guest

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
 
G

Guest

I'm getting the same issue when running aspnet_regiis -c. Any one from MS out
there to help?
 
G

Guest

An error has occurred (0x80070005).
You must have administrative rights on this machine in order to run this tool.
 
J

Juan T. Llibre

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
===========
 
J

Juan T. Llibre

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
===========
 
G

Guest

That was it. Thanks Juan for your help!

Jorriss

Juan T. Llibre said:
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
===========
 
J

Juan T. Llibre

You're more than welcome.

Glad to have been of help!



Juan T. Llibre
ASP.NET MVP
===========
 
G

Guest

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...?



Juan T. Llibre said:
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
===========
Juan T. Llibre said:
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
===========
 
G

Guest

BTW, I've tried giving ASPNET admin rights, but same problem.

-oz

Juan T. Llibre said:
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
===========
Juan T. Llibre said:
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
===========
 
J

Juan T. Llibre

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...?



Juan T. Llibre said:
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
===========
Juan T. Llibre said:
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?
 
J

Juan T. Llibre

That would not accomplish anything, since it's not the
ASPNET account which is executing aspnet_regiis




Juan T. Llibre
ASP.NET MVP
===========
Oz said:
BTW, I've tried giving ASPNET admin rights, but same problem.

-oz

Juan T. Llibre said:
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
===========
Juan T. Llibre said:
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?
 
G

Guest

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...?



Juan T. Llibre said:
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?
 
J

Juan T. Llibre

Great!

Thanks for following through.



Juan T. Llibre
ASP.NET MVP
===========
Oz said:
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?
 
G

Guest

Still having the problem here. I've checked my rights in the appropriate
subdirectorys (full), deleted the recommended directories (they were
recreated but no script files were moved into them), tried running with the
-ea switch followed by the -c switch (no luck, in fact got the same error
trying to run the -ea switch).


Anyone from MS or elsewhere have any other suggestions or a nice answer?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top