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

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

问题描述

我尝试在PC上安装 Visual C#2010 Express版,但是每当我尝试运行它时,我都会收到一条错误消息.

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.

OS是Vista Home Premium.我已经安装了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

  1. Download subinacl command line tool
    http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en

运行以下命令:
subinacl /subkeyreg HKEY_CLASSES_ROOT\Licenses /setowner=everyone
subinacl /subkeyreg HKEY_CLASSES_ROOT\Licenses /grant=everyone=f

Run these commands:
subinacl /subkeyreg HKEY_CLASSES_ROOT\Licenses /setowner=everyone
subinacl /subkeyreg HKEY_CLASSES_ROOT\Licenses /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)

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

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