aspnet regiis.exe - Importing RSA Keys from file using aspnet_regiis -


trying import file fails, saying exists:

c:\windows\system32>c:\windows\microsoft.net\framework\v4.0.30319\aspnet_regiis    -pi "myrsakey" c:\key.xml    microsoft (r) asp.net regiis version 4.0.30319.17929    administration utility install , uninstall asp.net on local machine.    copyright (c) microsoft corporation.  rights reserved.    importing rsa keys file..    object exists.    failed! 

but deleting fails, saying not found:

c:\windows\system32>c:\windows\microsoft.net\framework\v4.0.30319\aspnet_regiis    -pz "myrsakey"    microsoft (r) asp.net regiis version 4.0.30319.17929    administration utility install , uninstall asp.net on local machine.    copyright (c) microsoft corporation.  rights reserved.    deleting rsa key container...    rsa key container not found.    failed! 

the problem turned out related permissions of "c:\users\all users\microsoft\crypto\rsa\machinekeys" folder.

making sure commands executed using user belongs administrator group on machine, , administrator group owner of folder, enabled commands execute successfully.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -