RE: Error exporting RSA key container via aspnet_regiis



Hello dpomt,

As for the aspnet_regiis.exe tool, it can help generate and export some
machine stored RSA key. And you're right that in order to export the full
public/private key pairs, we need to use -px with -pri options.

As for the exporting error you encountered, regardless of the environment
or framework installing problem, I'm wondering how did you originally
create this RSA key. When creating the RSA key, we need to specify the
"-exp" option so as to make it exportable, have you done this when creating
your RSA key?

Here is a msdn article which has demonstrated how to create and export such
a RSA key for encrypting .net 2.0 applciation's configuration file.


#How To: Encrypt Configuration Sections in ASP.NET 2.0 Using RSA
http://msdn.microsoft.com/library/en-us/dnpag2/html/paght000006.asp?frame=tr
ue


If you've already followed the correct steps from creating key to exporting
key, I would suggest you duplicate the same steps on some other machine
with .net framework 2.0 installed. If other machine works well, this should
be an machine specific issue.

Hope this helps. Please feel free to let me know if you have any new
finding.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================



This posting is provided "AS IS" with no warranties, and confers no rights.

.



Relevant Pages

  • RE: Using BackgroundWorker in a browsers hosted user control
    ... Copy the code in the MSDN sample for BackgroundWorker component (you may ... This ensures the usercontrol hosted in the web page to be loaded ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.clr)
  • RE: Help: Unable to open Web service project in a .net solution.
    ... Welcome to the MSDN newsgroup. ... Microsoft MSDN Online Support Lead ... response from the community or a Microsoft Support Engineer within 1 ...
    (microsoft.public.vsnet.general)
  • RE: web tests in Visual Studio.NET 2005 Team Developer
    ... Can the VS versions that you reference be found in MSDN subscriptions or only ... "Software Tester" version is dedicated to testers which contains all the ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.vsnet.ide)
  • RE: SQL Server 2005: Cannot convert {fn CURDATE()} to "datetime" datatype
    ... Welcome to the SQL Server MSDN newsgroup. ... the CURDATE function is an undocumented internal ... Microsoft MSDN Online Support Lead ... response from the community or a Microsoft Support Engineer within 1 ...
    (microsoft.public.sqlserver.odbc)
  • RE: Could not find schema information
    ... According to our internal product database, the problem is actually due to ... The MSDN document below hasn't been updated after this change, ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.vsnet.general)