The license for Visual Studio has expired.

Luis Martinez de Bartolome Izquierdo's Avatar

Luis Martinez de Bartolome Izquierdo

14 Feb, 2017 03:47 PM

Invoking msbuild suddenly started to fail with "The license for Visual Studio has expired."
Example build: https://ci.appveyor.com/project/ConanCIintegration/conan/build/1.0.867/job/82d9ndnchv8j1otf

[00:11:16] ----Running------
[00:11:16] > call "%vs140comntools%../../VC/vcvarsall.bat" amd64 && call _conan_env.bat && devenv MyProject.sln /upgrade && msbuild MyProject.sln /p:Configuration=Release /p:Platform="x64"
[00:11:16] -----------------
[00:11:16] Logging command output to file 'c:\users\appveyor\appdata\local\temp\1\tmpmvownvconans\path with spaces\.conan\data\Hello\1.2.1\lasote\stable\build\63da998e3642b50bee33f4449826b2d623661505\conan_run.log'
[00:11:16]

[00:11:16] Microsoft Visual Studio 2015 Version 14.0.25420.1.

[00:11:16] Copyright (C) Microsoft Corp. All rights reserved.

[00:11:16]

[00:11:16] The license for Visual Studio has expired.

  1. 1 Posted by Jeff Klawiter on 14 Feb, 2017 04:27 PM

    Jeff Klawiter's Avatar

    I just came here to report this as well.

    Microsoft Visual Studio 2015 Version 14.0.25420.1.
    Copyright (C) Microsoft Corp. All rights reserved.
    The license for Visual Studio has expired.
    Your license for this product is expired and could not be refreshed. Please connect to the internet to continue to use this product.
    
  2. Support Staff 2 Posted by Feodor Fitsner on 14 Feb, 2017 05:13 PM

    Feodor Fitsner's Avatar

    Thanks for reporting that. The image is being updated and will be available shortly later today. Sorry for the inconvenience.

  3. Support Staff 3 Posted by Feodor Fitsner on 14 Feb, 2017 08:32 PM

    Feodor Fitsner's Avatar

    The image has been updated. It should be working now.

  4. 4 Posted by lestat.de.lionk... on 09 Apr, 2018 04:41 PM

    lestat.de.lionkur's Avatar

    Hello Fedor,

    Looks like the license for VS2013 image has expired again: https://ci.appveyor.com/project/BOINC/boinc/build/1.0.183-sttfjkpa

    Could you please take a look?

    Thanks

    Best regards,
    Vitalii

  5. Support Staff 5 Posted by Feodor Fitsner on 09 Apr, 2018 04:57 PM

    Feodor Fitsner's Avatar

    Thanks for letting know. Looking into that.

  6. Support Staff 6 Posted by Feodor Fitsner on 09 Apr, 2018 10:54 PM

    Feodor Fitsner's Avatar

    VS 2013 license has been updated.

  7. 7 Posted by Malik on 18 Jun, 2018 03:47 PM

    Malik's Avatar

    I'm getting this error again:

    Microsoft Visual Studio 2013 Version 12.0.40629.0.
    Copyright (C) Microsoft Corp. All rights reserved.
    The license for Visual Studio has expired

  8. Support Staff 8 Posted by Feodor Fitsner on 18 Jun, 2018 03:49 PM

    Feodor Fitsner's Avatar

    Can you drop a link to a build please?

  9. 9 Posted by Malik on 18 Jun, 2018 07:03 PM

    Malik's Avatar

    I posted the link here, but it's not appearing. Are you seeing it?

  10. 10 Posted by Malik on 18 Jun, 2018 07:04 PM

    Malik's Avatar
  11. Support Staff 11 Posted by Feodor Fitsner on 18 Jun, 2018 10:11 PM

    Feodor Fitsner's Avatar

    The image should be fixed now.

  12. 12 Posted by Malik on 18 Jun, 2018 10:24 PM

    Malik's Avatar

    Thanks! Works.

  13. Owen McDonnell closed this discussion on 27 Aug, 2018 06:36 PM.

  14. lestat.de.lionkur re-opened this discussion on 26 Jun, 2019 06:03 AM

  15. 13 Posted by lestat.de.lionk... on 26 Jun, 2019 06:03 AM

    lestat.de.lionkur's Avatar

    It happened again: https://ci.appveyor.com/project/BOINC/boinc/builds/25547168
    @Feodor, could you please update VS2013 image? Thanks

  16. 14 Posted by lestat.de.lionk... on 07 Jul, 2019 07:01 PM

    lestat.de.lionkur's Avatar

    Any updates on this?

  17. 15 Posted by Nicknine on 14 Jul, 2019 12:40 PM

    Nicknine's Avatar

    Same problem, I can't build my VS2013 project because the license has expired. Please, fix.

  18. 16 Posted by Ilya Finkelshte... on 16 Jul, 2019 08:39 PM

    Ilya Finkelshteyn's Avatar

    @lestat.de.lionkur, @Nicknine Visual Studio 2013 license issue should be fixed now. Sorry guys for the long resolution.

  19. 17 Posted by lestat.de.lionk... on 16 Jul, 2019 09:04 PM

    lestat.de.lionkur's Avatar

    Fresh build is successful, according to the status, but in fact it's not and gives very strange output:
    https://ci.appveyor.com/project/BOINC/boinc/builds/26026689
    Why the project was updated if it is for VS2013?

  20. 18 Posted by Ilya Finkelshte... on 16 Jul, 2019 11:06 PM

    Ilya Finkelshteyn's Avatar

    Yes, it was isolated update to Visual Studio 2013 image, only to fix licensing issue. You can RDP and check VS version, licensing and why project is being updated.

  21. 19 Posted by lestat.de.lionk... on 17 Jul, 2019 12:16 AM

    lestat.de.lionkur's Avatar

    Strange, it didn't happen before. Project itself was not changed, so the only change was with AppVeyor container itself.I'll use your suggestion with RDP to investigate this case.
    Thanks

  22. 20 Posted by lestat.de.lionk... on 18 Jul, 2019 04:03 AM

    lestat.de.lionkur's Avatar

    Smth definitely happened with VS2013. I got next errors for my VC solution:
    The application which this project type is based on was not found. Please try this link for further information: http://go.microsoft.com/fwlink/?LinkID=299083&projecttype=8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942 @Ilya, could you please check VS2013 image one more time? Thanks

  23. 21 Posted by Ilya Finkelshte... on 19 Jul, 2019 01:29 AM

    Ilya Finkelshteyn's Avatar

    Yes, it is double checked. And also no complaints came after other Visual Studio 2013 image users after this update... Please send a link to the specific build so I double-check what image was used. Also try Previous Visual Studio 2013.

  24. 22 Posted by lestat.de.lionk... on 19 Jul, 2019 03:36 AM

    lestat.de.lionkur's Avatar
  25. 23 Posted by lestat.de.lionk... on 19 Jul, 2019 03:51 AM

    lestat.de.lionkur's Avatar

    Build with Previous Visual Studio 2013 image is failed due to license on test PR:
    https://ci.appveyor.com/project/BOINC/boinc/builds/26093039

  26. 24 Posted by Ilya Finkelshte... on 19 Jul, 2019 04:50 PM

    Ilya Finkelshteyn's Avatar

    I see. Build you mentioned in previous message indeed was executed on Visual Studio 2013. Did you try to RDP and see if anything out of order?

  27. 25 Posted by lestat.de.lionk... on 19 Jul, 2019 05:00 PM

    lestat.de.lionkur's Avatar

    No but I'll do this on weekend. I'll share results with you here

  28. 26 Posted by lestat.de.lionk... on 19 Jul, 2019 11:34 PM

    lestat.de.lionkur's Avatar

    According to this article, the solution is pretty simple, next folder should be emptied:
    %localappdata%\Microsoft\VisualStudio\12.0\ComponentModelCache I made this manually and was able to run the build using command-line.
    @Ilya, could you please empty this folder on your image? Of course, I could add this command to my build script, but making image more stable is better I believe. Thanks

  29. 27 Posted by Ilya Finkelshte... on 30 Jul, 2019 08:11 PM

    Ilya Finkelshteyn's Avatar

    @lestat.de.lionkur done, sorry for the delay.

  30. Ilya Finkelshteyn closed this discussion on 29 Sep, 2019 09:01 PM.

  31. lestat.de.lionkur re-opened this discussion on 14 Oct, 2019 08:21 AM

  32. 28 Posted by lestat.de.lionk... on 14 Oct, 2019 08:21 AM

    lestat.de.lionkur's Avatar

    License is expired again.
    See this build log for reference: https://ci.appveyor.com/project/BOINC/boinc/builds/28086812

  33. Support Staff 29 Posted by Feodor Fitsner on 14 Oct, 2019 07:39 PM

    Feodor Fitsner's Avatar

    The license on Visual Studio 2013 image has been fixed.

  34. 30 Posted by lestat.de.lionk... on 15 Oct, 2019 06:15 AM

    lestat.de.lionkur's Avatar

    Thank you for the fix

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac