Strong name validation failed解决方案

如果你是64位的操作系统,并遇到以下的异常:

Could not load file or assembly ‘[Your file], Version=[version], Culture=neutral, PublicKeyToken=[public key token]‘ or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)

#1 以管理员身份启动命令行工具。

#2 定位到sn.exe所在目录,如visual studio 2013的目录为:C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\x64。

#3 执行命令sn -Vr *,[public key token]。

参考:

http://blogs.msdn.com/b/shitals/archive/2008/05/01/8446582.aspx

时间: 2024-08-09 10:24:13

Strong name validation failed解决方案的相关文章

Validation failed for one or more entities. See 'EntityValidationErrors' property for more details.

Validation failed for one or more entities. See 'EntityValidationErrors' property for more details. 这里给大家介绍一个Exception类,让我们能够轻松的知道具体的哪一个字段出了什么问题. 那就是 System.Data.Entity.Validation.DbEntityValidationException,相信代码都知道怎么写了,最简单的就是 try{// 写数据库}catch (DbEn

mllib:Exception in thread "main" org.apache.spark.SparkException: Input validation failed.

当我们使用mllib做分类,用到逻辑回归或线性支持向量机做分类时,可能会出现下面的错误: 15/04/09 21:27:25 ERROR DataValidators: Classification labels should be 0 or 1. Found 3000000 invalid labels Exception in thread "main" org.apache.spark.SparkException: Input validation failed. 由于做调试时

Entity Framework插入数据报错:Validation failed for one or more entities. See 'EntityValidationErrors' property for more details.

stackoverflow的解决方法 try { db.Entity.Add(entity); db.SaveChanges(); } catch (DbEntityValidationException dbEx) { foreach (var validationErrors in dbEx.EntityValidationErrors) { foreach (var validationError in validationErrors.ValidationErrors) { System

ORA-19563: header validation failed for file

在测试服务器还原数据库时遇到了ORA-19563错误.如下所示 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RM

关于在ASP.NET MVC 中使用EF的Code First的方式来读取数据库时的Validation failed for one or more entities. See 'EntityValidationErrors' property for more details.

今天在做一个小网站的时候遇到很多问题唉,我还是个菜鸟,懂的也不多,今天一个表单的提交按钮用不了,都弄了几个小时唉.不过最后还是搞定了,还有浏览器有开发人员选项,不然我都不知道我还要继续排查多久哦,今天晚上在把数据存入数据库的又出现了问题.我使用的是Entity Framework的Code First模式来访问数据库的.对于数据的验证我在数据模型上加了数据注解.当然在前台也引入了一些JS这样就可以再不把数据提交到服务器时完成验证功能.在后台保存用户提交的数据的时候,我们要用到ModelStatu

Validation failed for one or more entities. See ‘EntityValidationErrors’解决方法

Validation failed for one or more entities. See ‘EntityValidationErrors’ property for moredetails. Unfortunately there is no further information about 关于如何查看 EntityValidationErrors 详细信息的解决方法 我们在 EF 的编程中,有时候会遇到这样一个错误: 但是,按照他的提示 “See 'EntityValidationE

spring boot 表单的实体提交错误:Validation failed for object='book'. Error count: 2

一:错误信息 二:解决方法 在实体后加BindingResult 三:参考链接 http://stackoverflow.com/questions/30297719/cannot-get-validation-working-with-spring-boot-and-thymeleaf spring boot 表单的实体提交错误:Validation failed for object='book'. Error count: 2

URL validation failed. The error could have been caused through the use of the browser's navigation

URL validation failed. The error could have been caused through the use of the browser's navigation buttons(the browser Back button or refresh, for example). 最近在登陆Oracle Application时遇到问题:URL validation failed. The error could have been caused through

URL validation failed. The error could have been caused through the use of the browser's navigation

URL validation failed. The error could have been caused through the use of the browser's navigation buttons(the browser Back button or refresh, for example). 近期在登陆Oracle Application时遇到问题:URL validation failed. The error could have been caused through