如何修复“无效的许可证数据".需要重新安装."Visual C# 2010 Express 中的错误? [英] How do I fix an "Invalid license data. Reinstall is required." error in Visual C# 2010 Express?

查看:54
本文介绍了如何修复“无效的许可证数据".需要重新安装."Visual C# 2010 Express 中的错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试将 Visual C# 2010 Express edition 安装到我的电脑上,但是每当我尝试运行它时,都会收到一条错误消息.

I've tried to install Visual C# 2010 Express edition onto my PC, but whenever I try to run it, I get a error message.

无效的许可证数据.需要重新安装.

Invalid license data. Reinstall is required.

我已经尝试重新安装它,但消息仍然存在.

I've already tried reinstalling it, and the message persists.

操作系统是 Vista 家庭高级版.我已经安装了 VC# 2008 Express.

OS is Vista Home Premium. I already have VC# 2008 Express installed.

推荐答案

这对我在 Vista 上有用.它基于 MS 的解决方法:http://connect.microsoft.com/VisualStudio/feedback/details/520110/invalid-license-data-reinstall-is-required

This worked for me on Vista. It's based on work-around at MS: http://connect.microsoft.com/VisualStudio/feedback/details/520110/invalid-license-data-reinstall-is-required

  1. 下载 subinacl 命令行工具
    http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en

运行这些命令:
subinacl/subkeyreg HKEY_CLASSES_ROOTLicenses/setowner=everyone
subinacl/subkeyreg HKEY_CLASSES_ROOTLicenses/grant=everyone=f

再次启动 VS 2010 Express,这次它要求输入许可证密钥.

Start VS 2010 Express again and this time it asks for a license key.

(在 Windows 7 Home 上,我必须两次运行上述命令才能正常工作)

(On Windows 7 Home I had to run the above commands twice before they worked correctly)

这篇关于如何修复“无效的许可证数据".需要重新安装."Visual C# 2010 Express 中的错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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