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

后端 未结 30 2437
[愿得一人]
[愿得一人] 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:23

    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. Download subinacl command line tool
      http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en

    2. Run these commands:
      subinacl /subkeyreg HKEY_CLASSES_ROOT\Licenses /setowner=everyone
      subinacl /subkeyreg HKEY_CLASSES_ROOT\Licenses /grant=everyone=f

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

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

提交回复
热议问题