how to reset .net policy configuration WITHOUT mscorcfg.msc

G

Gaetan

Hi
I am discovering .NET and what i see is not really wonderful...
I use a system.runtime.remoting conponent, but i don t know why, it
did not wanted to instantiate (An unhandled exception of type
'System.Security.SecurityException' blablabla).
So i played why policies, and, of course i made a mistake so i cannot
execute ANY .NET application :
An unhandled exception of type
'System.Security.Policy.PolicyException' occurred in Unknown Module.

Additional information: Required permissions cannot be acquired.

and mscorcfg.msc, the configuration tools... is dead.
unable to load

how wonderful!!!
using .net configuration tools you can destroy .net...
and the only way to restaure it
(http://msdn.microsoft.com/library/e...rameworkadministrationtoolmscorcfgmscanchor11)
is by using a .net tools.
don t you see there is a problem?

you will not tell that is a correct design. .Net seems to be so
complete that such an mistake should not happened!
so now can someone tell me how can i can simply RESET the security
policies to the DEFAULT settings, but without any .NET tools...
i tried to play with
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config
files but each time i got the same error: the snap in fail to
initialize...

knowing i CANNOT format the computer (not mine)

this is my first day with .NET and it's starting baddly...


Thanks

Gaetan
 
G

Gaetan

ok i respond to myself for all people that can have such a poor surprise:
just disable policy security:
caspol -s off
and now everything work!
 

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

Top