How do I fix an “Invalid license data. Reinstall is required.” error in Visual C# 2010 Express?

后端 未结 30 2422
[愿得一人]
[愿得一人] 2020-12-08 10:03

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

30条回答
  •  抹茶落季
    2020-12-08 10:37

    I have the same problem with Windows 7 Pro. Have tried everything suggested by the Microsoft people, including uninstalling, cleaning up, reinstalling both from the web installer and the VS2010 Express iso - with the same result every time.

    To say it's frustrating is an understatement and the disinterest from Microsoft in fixing what appears to be a common problem (you can find lots of search engine 'hits' for the problem, none for a solution) is quite unbelievable.

    Since this is virtually a virgin Win7 install, the only conclusion is that MS have broken their licesing checks again (why check for a license on a free product?).

    Edit: Following further investigation I have concluded that the advice given by Microsoft is useless and does not attempt to diagnose the problem. It simply assumes a corrupt installation source. I believe that the problem is in fact corrupt permissions/ownership of registry keys. HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Licenses and subkeys needs to be owned by SYSTEM with admins having full access. On my affected system the owner cannot be displayed and no permissions are shown when viewed by admin.

    I don't have the definitive fix for this so far, as I cannot adequately edit the permissions for the affected registry keys.

    Re-installing Windows is an almost certain fix, but also an extremely drastic one.

提交回复
热议问题