The license for Visual Studio has expired

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptom

There is a valid license but Bamboo advised that the license for Visual Studio has expired and the following error is received in the build log:

30-Apr-2015 13:31:05 	"G:\Program Files (x86)\Microsoft Visual Studio 12.0" 
30-Apr-2015 13:31:05 	
30-Apr-2015 13:31:05 	G:\bamboo-home\xml-data\build-dir\DT-ON-JOB1>call "G:\Program Files 
(x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86_ia64 
30-Apr-2015 13:31:05 	Error in script usage. The correct usage is:
30-Apr-2015 13:31:05 	    "G:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" [option]
30-Apr-2015 13:31:05 	where [option] is: x86 | amd64 | arm | x86_amd64 | x86_arm | amd64_x86 | amd64_arm
30-Apr-2015 13:31:05 	
30-Apr-2015 13:31:05 	For example:
30-Apr-2015 13:31:05 	    "G:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86_amd64
30-Apr-2015 13:31:07 	
30-Apr-2015 13:31:07 	Microsoft Visual Studio 2013 Version 12.0.21005.1.
30-Apr-2015 13:31:07 	Copyright (C) Microsoft Corp. All rights reserved.
30-Apr-2015 13:31:07 	
30-Apr-2015 13:31:07 	The license for Visual Studio has expired.
30-Apr-2015 13:31:07 	
30-Apr-2015 13:31:07 	Class not registered.

Resolution

Visual Studio is expired the Account Settings dialog will open automatically for the license to be added. Otherwise, go to File > Account Settings and manually add the subscription key.

To make sure that the user that's being used to start Bamboo service is able to see the license, you have to log in with that user before adding the license to Visual Studio.

Last modified on Sep 25, 2019

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.