sn.exe - Unable to format error message 8013141C

sn.exe - Unable to format error message 8013141C

Post by damie » Fri, 01 Oct 2004 19:39:08


I too had the problem described below but could not reply to it using
Google Groups because of the age of the post. So here is my solution
to the apparent key container corruption - which is actually a
permissions issue (at least in my case):

After switching to a domain, a couple of key containers seemed to
disappear, or at least were not accessible to Visual Studio when
attempting to build a project/solution. In my case, it was due to the
permissions on the containers as stored in:

Documents and Settings\AllUsers\ApplicationData\Microsoft\Crypto\RSA\MachineKeys

If you open a file using a text editor, you can see the name of the
container near the beginning of the file. To correct the issue, I had
to assign ownership of the file(s) to the MACHINENAME\Administrators
group and also grant full control privileges to the group.

Following this, no more 8013141C. Yay.

--Damien

-- Original Post ---
I am unable to delete a key container.

I get an error message as follows when i try to delete the key
container from the command line:

C:\>sn -d someKey

Microsoft (R) .NET Framework Strong Name Utility Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

Failed to delete container 'someKey' -- Unable to format error message
8013141C

The key container must still exist because I cannot create a new key
container, the error message is as follows:

C:\Projects\dload\Assembly>sn -i "C:\Keys.snk" someKey

Microsoft (R) .NET Framework Strong Name Utility Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

Failed to install key pair -- Object already exists.


How do I access the key container and manually delete it so that I can
create a new uncorrupted one?

I've found out from various sources that the key container resides in
the strong name Cryptographic Service Provider (CSP).

How do I access the strong name CSP?

Thanks in advance.
 
 
 

1. error message: The Win16 Subsystem was unable to enter Protected Mode, DOSX.EXE

2. error message hkcmd.exe unable to locate

Hi,

I've had a new laptop for only a few days. It came pre-installed with
XP pro and has worked fine. Just a short while ago I began receiving
the error message "HKCMD.EXE - unable to locate component" followed by
the message. I'm not aware as yet of anything not working but being
someone who HATES having any error messages at all cropping up, and
this is a new computer - could anyone please suggest a way into
resolving this problem?

Thanks

3. Error Message Motive SB.exe Unable To Locate Component

4. "runbatch.exe - unable to locate DLL" error message

5. Unable to locate component error message - rstrui.exe

6. Error message "gcc.exe unable to locate component"

7. error message: unable to locate webscan.exe

8. ASR + error message "Setup was unable to format the drive"

9. SN.EXE Tool

10. Auto-entering password in sn.exe

11. couldnt find sn.exe in windows 2003 server

12. sn.exe not found on my pc ?

13. Sn.exe failed

14. SN.exe and Public Keys

15. Where to find sn.exe in VS.NET