不能得到的couchbase .NET的memcache客户端运行,抱怨它的强名称验证失败 [英] Cant get the couchbase .net memcache client to run, complains it's strong name validation failed

查看:164
本文介绍了不能得到的couchbase .NET的memcache客户端运行,抱怨它的强名称验证失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

错误:

无法加载文件或程序集Enyim.Caching,版本= 1.0.0.0,文化=中性公钥= cec98615db04012e或它的一个依赖

Could not load file or assembly 'Enyim.Caching, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cec98615db04012e' or one of its dependencies

这是在2008年的服务器,我尝试禁用强名称验证,但说明是完全错误的服务器,我不'真的相信这无论如何,我将如何得到它督促服务器上运行。

This is on server 2008, I tried disabling the strong name validation, but the instructions are totally wrong for server, and I dont' really trust this anyhow, how will I get it to work on the prod server.

野生沮丧..

服务器启动并运行愉快,但我不能得到任何的memcache客户实际工作..

The server is up and happily running, but I can't get any memcache client to actually work..

我假设一个人,地方已设法使这项工作...

I assume someone, somewhere has managed to make this work...

推荐答案

Enyim.Caching.dll,这是Couchbase.dll的依赖,被延迟签名。因此,如果你从Visual Studio中运行,你需要禁用装配验证此组装。如果你打开​​Visual Studio命令提示符,然后键入以下,应该不会再看到错误:

Enyim.Caching.dll, which is a dependency of Couchbase.dll, is delay signed. So if you're running from Visual Studio, you'll need to disable assembly validation for this assembly. If you open up the Visual Studio Command Prompt and type the following, you should no longer see the error:

sn -Vr *,cec98615db04012e

请让我知道如果此修复程序不为你工作。 。此外,请务必在管理员模式下运行此命令或因为它需要更新异常的注册表SN.EXE将失败

Please let me know if this fix doesn't work for you. Also, be sure to run the this command in Administrator mode or sn.exe will fail since it needs to update the registry with the exception.

约翰 -

这篇关于不能得到的couchbase .NET的memcache客户端运行,抱怨它的强名称验证失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆