VMware Horizon Community
vivekrishna
Enthusiast
Enthusiast
Jump to solution

I am getting License error for Visual Studio, while opening SQL management Studio (SQL assigned by appstack).

Hi,

I am installing the SQL Server Management Studio in the Provisioning VM and while I assign it as an App stack it is showing License expired message in "Visual Studio Isolated 2015".

I tried installing Visual studio first in Golden Image and assigned the SQL software as an app stack to a user but its failed.

I added the registry path to the snavol.cfg in C drive, failed.

Please help, any ideas.

Reply
0 Kudos
1 Solution

Accepted Solutions
Ray_handels
Virtuoso
Virtuoso
Jump to solution

Apparantly they did change that behaviour in the last few version as we were able to install visual studio 2018 using our package machine.

If you are able to use a newer version of the product I would give that a try.

To be fair about it. This is not really an issue of Appvolumes as it is more of an issue with Microsoft. I normally would not think that free software does check some sort of GUID when installing, because it is a free license but apparantly Microsoft thinks otherwise.

View solution in original post

Reply
0 Kudos
15 Replies
Ray_handels
Virtuoso
Virtuoso
Jump to solution

You need to package Visual Studio 2015 on the golden image. Apparently it does not work well with a new GUID.

I haven't seen this issue with newer version of SQL Management Studio and Visual Studio. Is it an option for you to install an older version??

Reply
0 Kudos
sjesse
Leadership
Leadership
Jump to solution

Did you have a previous one installed? Also are you using linked clones, and if so are the linked clones using sysprep. The linked clones cannot be sysprepped as it breaks the license in visual studio, including what  sql uses it for. What I have seen upgrading a current one would cause this, but I never figured out a way other then making a new appstack.

Reply
0 Kudos
vivekrishna
Enthusiast
Enthusiast
Jump to solution

Could you please tell me a working version of SQL and visual studio shell ?

Reply
0 Kudos
vivekrishna
Enthusiast
Enthusiast
Jump to solution

Yes its a linked clone and its sypreped.. so as you said we cannot use visual basic in syspreped golden image. is there for installing Visual Studio on image which is syspreped

Reply
0 Kudos
sjesse
Leadership
Leadership
Jump to solution

Its like Ray mentioned, microsoft looks at the SID of the destkop, and when you use sysprep that is changed. VMware has a quickprep option that doesn't change that, if you don't have another need for using sysprep, I'd switch to quickprep. It's the only way to this to work.

VMware Knowledge Base

Reply
0 Kudos
Ray_handels
Virtuoso
Virtuoso
Jump to solution

Apparantly they did change that behaviour in the last few version as we were able to install visual studio 2018 using our package machine.

If you are able to use a newer version of the product I would give that a try.

To be fair about it. This is not really an issue of Appvolumes as it is more of an issue with Microsoft. I normally would not think that free software does check some sort of GUID when installing, because it is a free license but apparantly Microsoft thinks otherwise.

Reply
0 Kudos
vivekrishna
Enthusiast
Enthusiast
Jump to solution

We are already using Quick Prep for the desktops. Is there anyway other that this quick prep, to throw away the Visual Studio License Issue.

Reply
0 Kudos
vivekrishna
Enthusiast
Enthusiast
Jump to solution

Its not Visual Studio 2018, I was trying to install Visual Studio Shell . It only have 2015.

pastedImage_0.png

Reply
0 Kudos
jlenag
Enthusiast
Enthusiast
Jump to solution

The only way we got VS to work at all is to use storepid.exe after you install the app using the golden image.

From our install guide:

5. Run "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\StorePID.exe" <insert license here>

6. echo %errorlevel%, result needs to be 0 or the license did not apply

This should allow the license to be applied regardless.  We have a working copy of VS 2017 Enterprise in our environment now and we use linked clones.

Reply
0 Kudos
vivekrishna
Enthusiast
Enthusiast
Jump to solution

Thanks for the Input.

But we are having the issue with Visual Basic Isolated Shell and it does not have a license. It happens when we install SSMS 17.9.

Reply
0 Kudos
sjesse
Leadership
Leadership
Jump to solution

It does have a license, but its a free included license, so the steps mentioned before won't help.

Reply
0 Kudos
sjesse
Leadership
Leadership
Jump to solution

I'm confused,are you using quickprep or not, if your not your out of luck you cannot use sysprep and have this in an appstack.

Reply
0 Kudos
vivekrishna
Enthusiast
Enthusiast
Jump to solution

We are using the Quick Prep for our pools. Still its showing the License issue.

Was the issue with Visual Studio Shell be fixed after the installation of SQL Management Studio 16.9 or 18.4 ?

Reply
0 Kudos
sjesse
Leadership
Leadership
Jump to solution

Is your build/provisioning machine a clone of the parent image you are using?

Reply
0 Kudos
vivekrishna
Enthusiast
Enthusiast
Jump to solution

The Issue was resolved by installing the SQL Managmeent Studio 18.3 which contains Visual Basic Isolated version 2017.

Thanks everyone for support..

Reply
0 Kudos