VS2015 Community Subscription license is stale - visual-studio

I have a Windows Form app that I developed with Microsoft Visual Studio 2015. I recently got a message that my license "has gone stale" and must be updated. When I click the link, I get an error message: "We could not download a license. Please check your network settings or proxy settings."
Going to my subscription online, I see "Visual Studio Dev Essentials"
I tried the solutions from https://cloudopszone.com/visual-studio-2015-error-message-we-could-not-download-a-license/ without success. My account is a "work" account and we do not use MFA at this time.
Visual Studio Community 2015 won't sign in. How do I fix this? suggests that uninstall/reinstall is needed, so perhaps that is my best next step.
I found the VS2015 installer here: https://my.visualstudio.com/Downloads?q=visual%20studio%202015&wt.mc_id=o~msft~vscom~older-downloads
Anyone know if it is possible to update a stale VS2015 license currently? It occurs to me that MS may have made that impossible somehow since it is an old version.
I installed VS2019 CE to use that, and it opens just fine but my app has issues with fonts (which is a separate issue), and forms look almost ok on screen but very bad when run.

This was caused because years ago, I used a "personal" microsoft account, which has the same user id as my "domain" account. The domain account is what I use for Office 365, Azure, and domain logins. Apparently VS 2015 was connected to the personal account. I knew of this personal account, but since I don't use it anymore, I incorrectly assumed it was kaput.
To fix, I opened VS2015, and when prompted to update license, I selected "Add an account..." and entered my userid and noted it was a personal account, and entered that password (different from domain p/w, and thankfully saved in chrome for better or worse). Then, when I clicked on "Check for an updated license", it found one right away and is now working.

Related

cannot Publish web app with Visual Studio 2019 and Azure

There are lots of examples of people having a similar problem to mine, but none of them are the problem that I'm having.
I'm running the Community edition of Visual Studio 2019 (maybe that's the problem). I've already created a free Azure account using the same username/pw/email as the account that I have the version of Visual Studio installed as (note that Azure didn't used to support Core, but it does now).
I'm following this Microsoft Doc on how to create a ASP.NET Core web app with Azure. I've created the project, and it's time to "publish" the web app.
Seems simple: right click on the project >> Publish. Here is the first window, where I should make sure that App Service is highlighted, then hit Create New and Create Profile.
In the next window I can either create my Azure account (which I already have) or sign in. This option seems strange, being that I'm clearly already signed in. Perhaps they mean signed into Azure? In any case, I choose "Already have an account (sign in)" because I do. If I were to choose the first option to create an account, it would tell me that I already have an account.
Next, it asks me to sign into Microsoft Visual Studio account (of which I'm already signed in -- my picture is on the upper right corner of the IDE). I do it anyways:
Next I put in the password (I'll spare you this screenshot -- I showed the last one to illustrate that it wanted me to sign into Visual Studio when I'm already signed in), and...
Nothing.
It takes me back to the App service window. According to the Microsoft doc, the wizard should continue to creating the resource group.
What I've tried:
getting to "Publish" without signing into Visual Studio
getting to "Publish" without signing into Azure (note that the email/pw associated with the Azure account is the same as my Visual Studio account, and I have access to the Azure account; I can go to the Dashboard, at least)
and every variation of being signed into one and not the other or none or both
repeated the entire thing while running Visual Studio 2019 as admin
from the "Pick a publish target" window selecting select existing instead of create new. It takes me to the same window that create new does
instead of .NET Core, using just plain old .NET Framework 4.7.2
What I haven't tried
Uninstalling and reinstalling the Azure SDKs. I'm scared if I do that, then Microsoft won't let me re-install them (because I already have once), and besides, this seems to be a problem with signing in.
Maybe there's some config that I'm missing, either in Visual Studio or Azure?
Maybe it's because I'm using the free Visual Studio version AND the free Azure?
Maybe it knows that I'm laid off and broke, and just wants to push the nail in?
I'm stuck. Does anyone know anything about this?
This question involves both Azure accounts and Visual Studio.To deal with this problem, we can start with these two aspects.
First, we can publish the created project using FTP. If the project runs normally, it means that there is no problem with the free subscription account. The problem may appear on VS.
Second, we can devenv.exe / resetuserdata to clear the personal account cache information on Visual Studio.
I solved the problem, just enable yours directories in visual studio 2019.
Thanks :)
I solved this problem.
After 30 days of a free trial account, when you want to deploy for example a new Azure app service you can see the label "(disabled) free". This is why you cannot proceed with Visual Studio publishing anymore.
I had the same problem with you. I created a new Microsoft account and then a new Azure account. Now Visual Studio allows me to proceed with creating a new profile in order to publish my app.
I hope I helped you.

This account has no subscription - Publishing to Azure from Visual Studio

Earlier this year I successfully deployed a MVC app to Azure from Visual Studio.
Now I'm trying to do the same thing again, but now I am told my azure account "has no subscription".
However I am 100% positive I do have a subscription associated with my email. My old MVC app still runs and I can see my Pay-as-you-go is properly charged.
What I Have tried to fix it
Emptied my browser caches, history, cookies etc.
Removed my account from Visual Studio, restarted, and added them again.
Formatted my computer and reinstalled everything (not really because of this problem, but the timing was perfect).
Updated the Azure SDK to the newest 2.9.5.
I did the following things above based on advice from these pages:
Visual Studio not finding my Azure subscriptions
Unable to publish to Azure with VS2015
No subscription found in windows azure account
But alas, no luck.
The only thing that comes to thought is I tried to add an Azure Pass to my account, but without luck. But I can't see how that should change anything...
So my question is: How do I make Visual Studio recognize my current Pay-as-you-go subscription, so I can publish my services, apps, etc. from Visual Studio directly?
Or at least: What has gone wrong? Whom can I contact to get help with this?
As always, thank you for your time and patience, and please write a comment if you need further information.
You may try to connect first via the server explorer (ctrl+alt+s). (The server explorer has an azure root node, if the azure sdk installed)
If you have connected, the publish wizard won't ask (usually) for sign in again.
In my case, the solution was as follows:
Open Server Explorer in Visual Studio, right-click on Azure and select "Manage and filter subscriptions":
Screenshot of Manage Subscriptions Dialog
Click the Certificates tab, click Import, then click Download subscription file. This will take you to the azure portal page where you can download a .publishsettings file for your subscription. After downloading that file, click the Browse button in the Import dialog shown above and select that file.
I had the same issue. To solve it I opened the server explorer (ctrl+alt+s) and refreshed the Azure connection. It still said 0 subscriptions, but in the publishing options I could connect without any issue.

Visual Studio doesn't authentificate me after I switch versions

In Visual Studio (no matter if 2013 Professional, 2013 Community or 2015 Community, they all behave the same on different machines in different places and networks like home, office, friends' places) can't seem to access my login information and asks me to re-enter user and password. Here is a screenshot of the message, followed by a rough translation because I use the German version:
Translation: "An error occured, and no user information could be accessed for "[email address]". Re-enter your login information for this account. (Link: Re-enter login information)
(box with my correct live id)"
I haven't found a way to get any details about what error occured where and when or why, which doesn't help. Apparently it does save which account I use, but without re-entering my log-in at least once a day, functions that rely on it (e.g. accessing TFS repositories that my account has rights to) do not work. It seems to have some correlation to the time since I last logged in, because even after rebooting the machine it still works correctly if I logged in before.
It's not preventing me from work, but it's still very annoying. I've spent quite some time on google, but when I look for keywords like "visual studio login error" or similar fitting things I find all kinds of pages mainly about Visual Studio Online, or pages that explain how to login inside of Visual Studio - nothing mentions this problem, so I suppose it isn't a very common one.
My internet connection in all places is usually pretty stable, and no other open application show any signs of connection problems, so I can all but rule that out as the cause.
It took a while, but it seems to be a problem only when I switch versions of Visual Studio. I.e., if I only use 2013 for a while, it works fine. If I then login with 2015, I get the error when I use 2013 again after that, and vice versa.
I've fixed this issue by allowing visual studio through the windows firewall, then restarting visual studio. It stems from parts of visual studio not having access to the authentication servers.
Press the windows key and search for "firewall" and select "allow a
program through windows firewall
Click "Allow another program..."
Choose Visual Studio from the programs list and click add
Restart (or start) Visual studio

Visual Studio Community 2015 expiration date

I have downloaded the Visual Studio Community 2015 (free version) and I don't see when the expiration date is.
I have tried to see the expiration date at Help Menu -> About Microsoft Visual Studio and there is no expiration date there.
Is there any expiration date (I have a Microsoft account)? If yes, Where can I see it? Or until when is it?
There is and there isn't an expiration date. If you register Visual Studio 2015 Community Edition by successfully signing into Visual Studio then the product is fully unlocked with no set expiry date. If you don't sign in (or haven't entered a purchased licence key), you only have 30 day evaluation license.
You can check whether your copy of Visual Studio has is registered or not by selecting Help -> About Microsoft Studio and clicking on the "License Status" link in the upper right of the About dialog. If your product isn't registered you'll see something like this:
Visual Studio Community 2015 is free. But I got the 30 day trial expired message. After some googling figured out that I have to sign in with a Microsoft account. So I signed up with my Hotmail account and after that I was able to continue using the VS community 2015.
Here is a simple approach to sneak by that stupid blocker screen in Visual Studio after 30-days expires using Process Hacker:
Details at: https://stackoverflow.com/a/34243422/3135511
It's more of a quick 'n dirty fix than a real solution. However, it may be quicker than doing all that official login/sign up, subscribe, whatever crap Microsoft wants you to do, in order to use Visual Studio Community Version for free.
I am running VSCommunity 2015 in Win8.1 virtual machine installed inside a Parallels 11 virtual machine installed on my Mac OSX El Capitan. To my surprise and delight it installed and ran fine. I used it for 2 weeks without signing into my Microsoft account. I tried to login 6 weeks later and got the 30 day trial screen shown above.
However for me I was able to simply click on the link above shown as "Check for an updated license" and was prompted in to log in to my Microsoft account. I did so and it granted me a license successfully and was seamless. Now under License Status it displays as "This product is licensed to: ".
I guess I got lucky as I'm guessing this is how it is supposed to work.
[sidebar]:
Over the decades I've disliked most MS products but have been out of the VS IDE development tools game for awhile, and I have to say using VSComm15 has been flawless. Using it to learn C# and the IDE itself for a new contract job and it worked perfectly and has great features.
You can use "RunasDate" to solve this.
There isn't an expiration date for the community edition.
The usage section from the from the Visual Studio website clearly states:
For individuals
Any individual developer can use Visual Studio Community to create
their own free or paid apps.
For organizations
An unlimited number of users within an organization can use Visual
Studio Community for the following scenarios: in a classroom learning
environment, for academic research, or for contributing to open source
projects.
For all other usage scenarios: In non-enterprise organizations, up to
five users can use Visual Studio Community. In enterprise
organizations (meaning those with >250 PCs or >$1 Million US Dollars
in annual revenue), no use is permitted beyond the open source,
academic research, and classroom learning environment scenarios
described above.
In case you had enabled 2-Step verification for your Microsoft account disable it when updating the VS License using the 'Check for Updated License' option provided in the window.
I also get same issue after I repair vs2015, even I click check license online, still fail.
Correct action is:
1. Sign out
2. Check License Status, then it will pop-up login window, after login then it able to successfully get the license info.
In my case, even after sign up to Visual Studio account, I cant sign in and the license still expired.
Solution from across the internet:
Download iso version of the installer.
Then run installer, select repair. That would solve the problem for most case.
In my case, I got an iso version of ms Visual Studio 2013. Installed it and I can successfully sign in and its forever free.
Here is an instructions for the problem:
You can evaluate Visual Studio for free up to 30 days.
To Unlock Visual Studio using an online subscription
Link Microsoft account to Visual Studio 2015
I have encountered this problem:
Possible solution can be found at the link above.
This message indicates that while your subscription may still be valid, the license token Visual Studio uses to keep your subscription up to date hasn’t been refreshed and has gone stale due to one of the following reasons:
You have not used Visual Studio or have had no internet connection for an extend period of time.
You signed out of Visual Studio.

Visual Studio 2013 keeps requiring to enter in MS Live username/password for license

Every few months I get a message that Visual Studio 2013 Ultimate cannot login to download an updated license and I must re-login. I enter my MS Live account and it updates fine, but I will get the message again in a few months.
Anyway to fix this so it doesn't keep happening?
I am running update 4 which I believe is the latest.
Visual Studio 2013 Ultimate can only be bought as part of the Dreamspark Premium programme (only via an educational institution that has bought this package) or via MSDN.
The licenses for the two methods vary but however both require you to re-enter your login details every three months.
It is auth'ed by a login token, that expires if:
Three months have passed since it was issued;
The password for the Windows/Microsoft Account was changed;
Your licence is revoked;
Switching your 'signed-in user'
Visual Studio logs in using a token, and that token has a limited lifetime. Visual Studio will try to extend the token in the background, but there are a couple of things that could cause the renewal to fail. In such cases you need to log in again to get a fresh token.
Some actions/conditions I know of:
A wifi-connection that requires form authentication;
Proxy servers that interfere;
You choosing the "Log off all sessions" on any Windows account on any site.

Resources