Share via


License Error (0x00000001): Invalid Online License

Question

Tuesday, August 9, 2016 9:13 PM

This came to be a new thing that I cannot figure out. I have three machines running VS 2015 Pro (none are used at the same time) and two machines can get their license data just fine. This other one cannot. I've tried Wiresharking to find a block (there isn't any), tried an unprotected network (no dice) and whenever I "Check for an updated license" it doesn't feel like the button responds. I've attempted a removal and reinstallation of VS2015 to no avail. Is there some way I can delete local license data or something to try again?

All replies (12)

Friday, August 26, 2016 9:00 AM ✅Answered | 5 votes

Hi Christopher,

Refer to the error message in your log file, please have a try with the following:

1. Please open an administrative CMD window and navigate to C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE and run these commands as below, then open VS.

devenv /resetsettings

devenv /resetuserdata

devenv /safemode

After each command, please try to open VS and see if the error will occur or not. 

2. Rename the following folders and then reopen VS.

  • C:\Users\your users name>\AppData\Local\Microsoft\VisualStudio\14.0
  • C:\Users\your users name>\AppData\Roaming\Microsoft\VisualStudio\14.0

3. Removed all installed extensions under Tool--Extensions and Updates one by one at a time, to check if the installed extensions caused by this issue.

Best regards,

Sara

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.


Friday, August 26, 2016 5:58 PM ✅Answered | 4 votes

"devenv /resetuserdata"

Seems to have done it. I'll keep this open a couple days to make sure it works. Thanks.


Wednesday, August 10, 2016 6:04 AM

Hi Christopher,

Welcome to the MSDN forum.

>> I have three machines running VS 2015 Pro (none are used at the same time) and two machines can get their license data just fine. This other one cannot.

How did you get your license data? Like sign in with a MSDN subscription account or enter a valid product key…

According to the error information “License Error (0x00000001): Invalid Online License”, there have some causes of the invalid license error, please have a look at the following:

1. Please check your system date/time

2. Run the VS as administrator and check the license issue

3. Repair VS and reopen VS

4. If you try to update the license through your Microsoft account, please have a try with another valid account to exclude the account issue.

5. Temporarily disable any antivirus software and reopen VS

>>Is there some way I can delete local license data or something to try again?

*Before modify the registry table, please remember to back up it.*

You can try to delete the local license by remove the following registry:

HKEY_CLASSES_ROOT\Licenses\4D8CFBCB-2F6A-4AD2-BABF-10E28F6F2C8F

After you remove this key, VS2015 will tell you that it's license information is incorrect. Go to "Programs and features" and repair VS2015.

Best regards,

Sara

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.


Monday, August 22, 2016 6:19 PM

I tried all of this in the sequence you mentioned and none of it has worked. I find it strange since I can download my license easily on another machine inside of the same network. Is there something I may have missed?


Wednesday, August 24, 2016 2:03 AM

Hi Christopher,

Thank you for your update.

Since the same account can successfully download the update license on another machine under the same network, which means this issue is not related to the account and network and more preferred to your local computer that occurs this issue.

Please check the default browser is IE 11 on your computer, clean up the history data, then add the following sites to your IEInternet Options--Security--Trusted Sites:

https://app.vssps.visualstudio.com/profile/view

https://login.microsoftonline.com

https://login.live.com

After that, please try it again and if it not work, please produce it then run the command: devenv /log in the evaluated command prompt if you can, then upload the activity file (%APPDATA%\Microsoft\VisualStudio\Version\ActivityLog.xml) to https://onedrive.live.com/ and share the link here.

Best regards,

Sara

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.


Wednesday, August 24, 2016 6:52 PM

Here you go: https://1drv.ms/u/s!As5DYck_hFS-sJoOpF2jHS7ML2DX0g


Thursday, August 25, 2016 6:45 AM | 3 votes

Had the same issue. I sorted out the issue by signing out of Visual Studio and signing back in. Then click 'check for an updated license'. I'd changed my Windows Live password since I last ran visual Studio. Maybe it uses cached credentials from last time? 


Thursday, August 25, 2016 3:04 PM

I tried this myself. Didn't work for me.


Sunday, August 28, 2016 5:02 AM

Hi Christopher,

I'm so glad to hear that your issue is solved and thank you for your sharing.

If you have any update, please feel free to let me know.

BTW, if you think my reply is helpful, please mark it as answer and it will helpful for other community members who have the same or similar issue to easier search it, thank you for your understanding.

Best regards,

Sara

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.


Sunday, August 20, 2017 3:38 PM

Thank you!


Sunday, August 20, 2017 3:38 PM

Thank you X2 for already posting the question and your solution. It worked for me too.


Thursday, January 11, 2018 12:31 PM

Had the same issue. I sorted out the issue by signing out of Visual Studio and signing back in. Then click 'check for an updated license'. I'd changed my Windows Live password since I last ran visual Studio. Maybe it uses cached credentials from last time? 

I've had the exact same issue, and, like you, I'd recently changed my password. Signing out and signing back in was the solution, even though I had already re-entered my credentials earlier.