« Previous Next »

Thread: Unable to import RSA key container using aspnet_regiis and "pi" option

Last post 11-13-2008 5:02 PM by redtiger80. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 11-13-2008, 11:55 AM

    Unable to import RSA key container using aspnet_regiis and "pi" option

    I am unable to import an RSA key container from an XML file using aspnet_regiis -pi.  Here is the exact command that I am using:

    aspnet_regiis -pi "MyKeystore" C:\dev\keys.xml

    This does not throw any errors when run from the command line.  Instead, it displays the full list of options similar to what would happen if I had entered an invalid option.  I'm using "C:\WINNT\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis".  Am I entering the command incorrectly, or is my .NET installation corrupted?

     Thank you in advance.

  • 11-13-2008, 12:48 PM In reply to

    Re: Unable to import RSA key container using aspnet_regiis and "pi" option

    One other note:  I don't have IIS installed.  Does it need to be installed to either create or import an RSA key container?  I assume that a container could be created without IIS.

  • 11-13-2008, 5:02 PM In reply to

    Re: Unable to import RSA key container using aspnet_regiis and "pi" option

    I finally figured this out. I had copied the above command from a Microsoft Word document to Notepad, and then to the command window.  I had assumed that any rich text would have been stripped out, but apparently not.  One of the quotation marks was a curved quotation mark that copied over from Word, and this caused the aspnet_regiis command to fail.  I also had this happen with a hyphen that was copied from Word.

Page 1 of 1 (3 items)
Microsoft Communities