Visual Studio 2015 Community Edition failed to download new license - c#

I recently uninstalled VS 2013 & 2015 from my system. I uninstalled every bit I could find that said anything about VS. I then reinstalled it, default installation, everything went fine. Then on start up I get a splash screen that says my 30 day trial evaluation period has ended. I refresh my credentials, then click on the "Check for an updated license" and it says "Failed to download a new license." I know my username and password are fine because I can even Visual Studio profile online and create a team service project, which will even load up in VS 2015 but the splash screen still pops up and blocks me from touching anything else. Has anyone ever come across this and found a solution? I tried looking on past posts and they all say click on the "Check for an updated license" link, It doesn't work for me.

Close Visual Studio
Delete %localappdata%\.IdentityService\SessionTokens.json
Open Visual Studio, "Reenter credentials" and then "Check for an updated license"

Run it as administrator. That worked for me.

I've seen this before, I think that there are a couple places to check:
My problem was solved through this thread:
License expired after installation Microsoft Visual Studio 2015 community
System Date on your machine, sometimes if this is set incorrectly it can mess with the licensing. This wasn't my problem.

What worked for me was to log in to my account. Then, I was able to successfully download and update the license; otherwise it failed to download.

Related

Visual Studio crashes when launching SharePoint add in

My visual Studio 2017 community keeps freezing and i get the error message not responding when i deploy a Provided hosted add in to SharePoint. I can run all other types of projects that i have tried without any problems. I have a newly installed windows with just a few programs on it. I can run a console application to my SharePoint online without any problems. So i guess SharePoint isn't the problem.
What i have tried:
Reinstall windows
Reinstall Visual Studio
Reinstall ISS
Update Visual Studio
Update windows
Disable some debug options (Read online that might help)
And some minor things
I appreciate any help/tips i can get everything is helpful at this point.
i had same problem and i figure out its firefox problem, so when i uninstall firefox, problem solved for me,
may be it help you as well.
Same issue for me, you need to change the default browser from "Start Action" to "Internet Explorer" in the Add-in project properties pane.

WPF Designer can't load VS2015

I have this error when I try to open a WPF file in the designer even with a new project. Everythings else works perfectly. If I try to compile the project it works nicely as well.
I have tried to uninstall visual studio 2015 and reinstall but nothing changed. On another computer I don't have any problem to open my projects.
Edit : Found this link still not working but not sure about the "Ensure your x86 platform has the correct values to target x86" meaning
It may sound like a silly question, but is Internet Explorer 10 (or later) installed? See https://support.microsoft.com/en-us/kb/2906882. I had different problems to Microsoft's when I uninstalled IE.
Otherwise, you might try to repair your installation. Go to Control Panel -> Programs and Features -> Microsoft Visual Studio and choose Repair.

Visual Studio 2015 just debug once, then i have to restart VS

I'm a PHP developer, but recently I have to work with Visual Studio in a C# application. I don't know much about C#, just had a few experiences with it, and the problem is when I try to run/debug my code it works only for the first time. If I change ANY piece of code anywhere in the code the project won't launch anymore, all it does when I click "Debug" is open Google Chrome for me and there it hangs awaiting for "localhost" forever... This issue is driving me nuts, I can't program well if I have to restart Visual Studio whenever I change some code.
I have tried a lot of things that I found here and on Google, but nothing helped. I have fully repaired VS 2015, didn't work. Then I reinstalled it and still not working.

Can't See MVC5 Project Option in VS2012 [duplicate]

I've installed Visual Studio 2013 Premium (MSDN license) on my machine. Yet, the ASP.NET Web Application template is not there (except for Version2012, which offers me MVC 4, see screenshot below):
I have uninstalled and reinstalled VS2013 three times now. I've deleted the ItemTemplatesCache and ProjectTemplatesCache folders along with running the devenv /InstallVSTemplates and devenv /Setup to no avail. I've also checked to make sure web developer tools are installed. Under the \Common7\IDE\ProjectTemplatesCache\CSharp\Web folder, I only see MVC 4 template files. Am I missing something? An extension or additional program?
Below I added a screenshot of the frameworks I have installed. Any direction or advice would be appreciated. Thank you!
Jodie.
I think that "Re-install Visual Studio from scratch" is not a solution.
I have faced with the described problem and found much faster way to fix it:
First of all, try to repair Visual Studio installation (in "Control Panel\Programs\Programs and Features" find your Visual Studio, right-click and select "Repair"). Reboot after (!).
Check if template appeared in the Visual Studio. If not, then: in the "Control Panel\Programs\Programs and Features" make sure that you have "Microsoft Web Platform Installer 4.x" installed (I have 4.6 version). If not - install it from here: http://www.microsoft.com/web/downloads/platform.aspx
Run "Web Platform Installer" (it should be here: "%ProgramFiles%\Microsoft\Web Platform Installer\WebPlatformInstaller.exe")
On the "Products" tab find the line "Microsoft ASP.NET and Web Tools 2013.1 for Visual Studio 2013" (make sure that it is not for 2012!). If line has "Add" button on the right side enabled, then click it and install the tools. Reboot PC (!) and you should have your ASP.NET project template back.
If line says "Installed", then you should repair it via "Control Panel\Programs\Programs and Features", just find "Microsoft ASP.NET and Web Tools 2013.1 -Visual Studio 2013", right-click and select "Repair"). Reboot PC (!) and you should have your ASP.NET project template back!
Cheers!
After many hours of troubleshooting, these are the steps I took to fix the issue (on Windows 7 Ultimate). I assumed it was an issue with a corrupt installation and possible problems with registry keys, so I removed any and all Microsoft development tools using the following steps:
FULL VIRUS SCAN (just to make sure this was not related to a virus or malware). I used Microsoft Security Essentials
Downloaded Microsoft FixIt to help clean up registry keys as I deleted programs. After I deleted any program or program updates, I ran this tool to verify a clean uninstall had been done
Visual Studio 2010 - Ran the Visual Studio 2010 Uninstall Utility and removed the program. Went into Control Panel > Programs > Uninstall a program > View Installed Updates and searched for 'Visual Studio 2010', then removed any updates associated with VS2010 (and ran the FixIt program after every uninstall to verify the registry keys had been wiped)
Followed this MSDN post to remove Visual Studio 2012 (paying particular attention to the 'Optional Shared Packages' and removed any and all programs under this list, again running Microsoft FixIt to verify the registry keys were wiped)
Followed this blog post from Shawn Harrison to remove all SQL server; also referenced these two MSDN posts Uninstall an Existing Instance of SQL Server (Setup) and SQL Server Files Left After Uninstall
Uninstalled Visual Studio 2013, along with all references to 'Visual Studio 2013' in programs and installed updates; used FixIt to clean up registry keys after every install
Last but not least, I removed all MVC Visual Studio-related tools, references extensions including Web Tools and Web Platform Installer
This solved my problem with missing templates :)
(I'm soooooooo grateful this was all done on an SSD, however, I think it would have taken 5x longer with an old-spinning HD)
Cheers, everyone!
Not the solution in your case, but I had a similar issue where I could not find the MVC templates. Eventually I realized that I still had .NET Framework 3.5 selected, which of course does not provide MVC... switching to .NET Framework 4.5 let me find the MVC templates again.
You already had 4.5 selected in the screenshot, but I'm just posting this here for others who might make the same mistake as I did.
Don't forget to check that "Microsoft Web Developer Tool" was actually enabled during installation see this related stackoverflow question: How do I open a csproj with ProjectTypeGuids 349c5851-65df-11da-9384-00065b846f21?
"Microsoft Web Developer Tool" that was the problem for me
Have you tried updating the gallery
Tools>Extension and updates> Templates
To get up and running you could click Version 2012 under Web and get to the stock web applications templates which will provide you upto MVC 4
For MVC 5 you can either download Visual Studio 2013 Express Web, it roughly has the same ASP.NET features at Premium on MSDN License.
Update for Studio 2013:
Make sure you install express for Windows and not express for Windows Desktop. The Desktop version does not have the Web templates.
I had a similar issue with VS 2013 Web Express Update 3. After reinstalling stuff all week its fixed. I had to uninstall VS, delete the "Microsoft Visual Studio 12.0" directory, and reinstall VS. There are other workarounds that are more precise.

Visual Studio 2013 Update 2 RC isn't installing ( Error: Update 2 RC does not apply, or is blocked by another condition on your computer.)

This is the error image and the next image shows i have VS2013 installed with Update 1
Visual Studio 2013 Update 2 RC error:
http://1.bp.blogspot.com/-tLiGHIoOHHg/U1dWwhMG7qI/AAAAAAAAAek/CA_VCulggd0/s1600/Error.png
Proof of Visual Studio 2013 Update 1:
http://2.bp.blogspot.com/-gs3zPKsS8K8/U1dWxHHmg7I/AAAAAAAAAes/8HP-7FTaBnw/s1600/Visual+Studio+Update+1.png
I had the same problem when installing Update 2 for my Visual Studio Express 2013 for Web.
The reason in my case was because before the installation I was doing some housekeeping and deleted content of this folder c:\Users\All Users\Package Cache\
When I restored it back, there was no error message and the installation was successful.
That means, you might have missing bundles and your installer is not happy with that. In my case I had a backup but if I haven't had I would need to reinstall my Visual Studio Express 2013 for Web so all is good and in place and then installation of the update should be hassle free.
More less the same as mentioned in the article from the link above. Thanks Keval.
The above answer never helped me.
The problem was my Operating System wasn't detecting my Visual Studio 2013, even though i tried to reinstall it, instead it was already installed but was never detected by computer.
I used cmd to uninstall VS2013 by command eg. "uninstall c:/...devenv.exe /Force" and then again installed VS2013 and applied the update

Categories

Resources