c1121是什么意思&我如何解决它? [英] c1121 what does it mean & how do I fix it?

查看:149
本文介绍了c1121是什么意思&我如何解决它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个20x Win10机器的构建服务器,其中包含"Visual Studio 2015 Professional with Updates",大约每周一次,我得到了可怕的"致命构建错误c1121"。来自MSBuild

I have a build farm of 20x Win10 machines with "Visual Studio 2015 Professional with Updates", about once a week I get the dreaded "Fatal Build Error c1121" from MSBuild

>>  c1xx:致命错误C1121:调用CryptoAPI失败

>> c1xx: fatal error C1121: call to CryptoAPI failed

https://docs.microsoft.com/en-us/cpp/error-messages/compiler-errors- 1 / fatal-error-c1121

https://docs.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/fatal-error-c1121

我已经使用全新安装的Win10 Enterprise 1607重新映像了所有节点,但它仍然会弹出。

I have re-imaged all the nodes with fresh installs of Win10 Enterprise 1607, but it still pops up.

错误是什么意思?我该如何排查故障,看看是什么导致了这种情况? 我可以采取的解决问题的唯一操作是完全卸载/重新安装VS.这不是一个长期的解决方案

What does the error mean? How can I troubleshoot to see what's causing this?  The only action I can take that corrects the problem is a full uninstall/re-install of VS. It is not a long term solution

推荐答案

嗯,消息本身就足够清楚了。编译器必须调用CryptoAPI但由于某种原因失败。因此,编译器无法完成它正在做的事情。

Well, the message itself is clear enough. The compiler has to call into the CryptoAPI but failed for some reason. Because of this, the compiler can't complete what it is doing.

至于导致它的原因,那就更难了。它可能是Visual Studio,它可能是Windows,但如果不确切知道哪些调用失败,很难给出如何解决这个问题的答案。除非详细的MSBuild输出提供更多相关信息,否则唯一可以给出答案的是Visual C ++编译器团队。

As for what causes it, that is more difficult. It could be Visual Studio, it could be Windows, but without knowing exactly what call failed it is hard to give an answer as to how to fix this. Unless the verbose MSBuild output gives more information on this, the only ones who could give an answer are the Visual C++ compiler team.

您可能无法获得满意的答案来自论坛,除非编译团队成员参与其中。出于好奇,您是否在Windows 10 Pro上遇到此问题,并且Windows 10企业域加入是否已实施组策略?

You probably won't get a satisfactory answer from the forum unless a member of the compiler team gets involved. Out of curiosity, do you get this problem on Windows 10 Pro, and is Windows 10 Enterprise domain join with group policy in place?


这篇关于c1121是什么意思&我如何解决它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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