Signing Error

From: Jeff (jeff_at_nowhere.com)
Date: 09/29/03


Date: Mon, 29 Sep 2003 09:15:02 -0500


I am trying to create and sign an assembly with a strong name via attributes
in the AssemblyInfo.cs file. I have entered the following attribute into my
AssemblyInfo.cs file:

    [assembly: AssemblyKeyFile(@"..\..\..\Cert\DailyPlan.snk")]

When I build the application, I receive the following compilation error:

    "Cryptographic failure while signing assembly 'C:\Documents and
Settings\jbramwe\My Documents\Visual Studio
Projects\NNG\DailyPlan\obj\Debug\DailyPlan.exe' -- 'An internal error
occurred.'"

I had to generate the "DailyPlan.snk" key pair file on a separate
development PC because my current development PC (the one I am doing the
build on) gives me the same error ("An internal error occurred") if I try to
generate a key pair using the sn.exe tool.

Does anyone have any idea as to what needs to be modified on my PC to
resolve this issue?

I am running Windows 2000 Pro. w/Service Pack 3. I am running Visual Studio
.NET 2003. I have Local Administrator rights on my development PC. I have
IE 6.0.2800.1106 with 128-bit encryption installed.

  --- TIA, Jeff



Relevant Pages

  • Signing Error
    ... I had to generate the "DailyPlan.snk" key pair file on a separate ... build on) gives me the same error ("An internal error occurred") if I try to ... w/Service Pack 3. ... I am running Visual Studio ...
    (microsoft.public.dotnet.security)
  • Signing Error
    ... I had to generate the "DailyPlan.snk" key pair file on a separate ... build on) gives me the same error ("An internal error occurred") if I try to ... w/Service Pack 3. ... I am running Visual Studio ...
    (microsoft.public.dotnet.security)