这个问题是我家里的机子,win2000  .net framkwork 1.1 装了win2000 所有补丁。同样的情况,公司的机子就没有这个问题。怪事,不知道该如何解决。

解决方案 »

  1.   

    1,你是不是在Microsoft Visual.net 2003 的prompt command 下面执行
    2,你下一个中文的 .net Framework 看看
    3,装Windows 2000 Sp3 CN
      

  2.   

    我用v1.1中文版的是:C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin>sn -k ibm.snkMicrosoft (R) .NET Framework 强名称实用工具版本 1.1.4322.573
    Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.写入 ibm.snk 的密钥对
      

  3.   

    别的机子上生成的我那台机子还是无法使用,编译带有 强名称 的代码也会报这个错误。这台机子装了所有的win2000 的最新补丁,当然包括sp3 Framework 1.0 1.1
      

  4.   

    sounds like permission problems, do you have access to "C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys"?You may check which file and registry sn.exe utility accesses by installing Filemon and Regmon utilities from:
    http://www.sysinternals.com/ntw2k/utilities.shtml
      

  5.   

    可能有这方面的问题你可以看一下,sn.exe 每次访问都要访问C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys 生成一个本机的机器码!你如果采用了NTFS分区的话,可能会出现这样的问题!
      

  6.   

    C:\Documents and Settings\Administrator>sn -k zhao.snkMicrosoft (R) .NET 框架强名称实用工具版本 1.0.3705.0
    Copyright (C) Microsoft Corporation 1998-2001. All rights reserved.写入 zhao.snk 的密钥对1.0.3705.0 没事 ,是否 frameWork  1。1 的 问题 ???
      

  7.   

    我的vs.net启动时报以下错误:
    安装程序检测到输入的密匙丢失或无效。
    谁能告诉我这个问题怎么解决?
    同时给我一个有效的密匙!!
    谢谢了。
      

  8.   

    C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys  这个目录下有四个文件。
    但是 sn 还是报这个错误。
      

  9.   

    copy a new sn.exe to your machine, and try:)
      

  10.   

    Ha,Fzgta(蝈蝈) 也没人歧视我们啊!
      

  11.   

    试过所有方法.都没有用,准备呆几天拿到vs.net 2003 正版 重装看看。
      

  12.   

    How about reinstalling the .NET framework to see if it fixes the problem?
      

  13.   

    我从装了 .net FrankWork 1.1 还是有这个错误。
      

  14.   

    找到解决方法了:
    http://search.csdn.net/expert/topic/52/5201/2002/4/3/619973.htm
    (先sn -c),
    然后 sn -k aa.snk 就可以了。