Visual Studio takes forever to start the first time - visual-studio-2013

I downloaded and installed Visual Studio 2013 Profession Trial on my Windows 7 64-bit computer ( RAM is 6 GB). But, when I start it for the first time, it says 'We're getting things ready. Thanks for your patience' and its been on for about an hour.
Is this normal with VS 2013?
EDIT 1:
I left my computer running the whole night, and by morning it had re-booted. After the re-boot, VS 2013 seems to be starting quickly. So, its hard to say why Visual Studio 2013 was taking hours to start up the first time.

If the loading is taking a long time, Alt+Tab to find a login page hidden underneath the "We're getting things ready" window. Enter your Microsoft account credentials.
This answer was originally posted by Alex K in a comment.

I had already gone past the credentials screen.
I left mine running for a while but eventually killed the process and restarted VS.
It started instantly.

I had no sign-on screen hiding behind the "We're Getting Things Ready". I ended the task in Windows Task Manager. Then I started Visual Studio again (no need to reboot). This time I noticed the option to "Sign In later". I selected this and it started up in just a couple of minutes. I then signed in after it started up. All seems to be working fine now.

I too experienced this odd first time start up 'hang' on a fresh install to a new PC. For what it's worth, my experience mirrored bassbytesbikes. I finally just killed and restarted it. No discernible ill effect... so far.

I came across this problem installing Visual Studio Premium 2013 in a VirtualBox VM. Specifically, I'd enter my login credentials and then it would hang on the 'Preparing for first time use' screen. If I killed VS and then restarted it, it'd bring up the main window but then hang before it displayed the startup page.
The solution for me was to enable 3D graphics acceleration in the VM settings. This seems to be because IE relies on 3D graphics and VS uses IE to display the start page (among other things).

As an answer, I got the same issue while creating, openning projects at visual studio 2012. Then I searched a lot about it and I learned that they fixed that problem with Visual Studio 2013 with Update 5. I got the vs2013 with update 5 and everything works well now.

For my situation the firewall was blocking the connection to Microsoft's server

Related

Visual Studio 2013 freezes when ending debugging

Out of the blue Visual Studio started locking up on me for 2-5 minutes at a time when ending debugging (after a test run, in my case). CPU usage is high (maxing out one core). If I leave it, eventually it will unfreeze and continue as normal.
I've tried a number of solutions but nothing seems to help.
I don't have any add-ons installed
I tried restarting Visual Studio and my PC
I rebooted my PC and ran chkdsk /F
I don't have Show All Files turned on in the Solution Explorer
Turned out to be stupidly simple: I saw a suggestion somewhere (can't remember where, sorry) to clear all breakpoints with Ctrl+Shift+F9. I did that and restarted the IDE for good measure, and so far it's been running fine.

Visual Studio Express 2013 for windows with update 2 installation Taking Too much time in "Configuring Your System"

visual studio express 2013 for web is already installed on my windows 8.1 laptop.
Now i am trying to install visual studio express 2013 for widows with update 2.
It works fine until last step , but in last step "Configuring Your System, this may take a white" . it just goes like infinite loop. it just showing installing and progress
it has takes more than 3 hours and still same progress.
after i have decided to cancel the setup, but same problem in cancelling , just goes on and on.
after that i have killed the process from task manager. and then restarted the Laptop.
but after Restart the setup is started from where it left. and still the same issue.
Please Someone help.
either i want to cancel the setup, or to install successful. but nothing works its just goes like infinite loop.
any idea how can i do this?
I had the same problem today trying to install Visual Studio 2013 Update 3 from the 6.9 GB iso file I downloaded from MSDN. A few things:
1) First I stopped then disabled the Windows Search process since it seemed to be in a fight for the disk during the install. Note, disabling the service is not enough since something keeps turning back on. You have to right click on the service entry in the Task Manager Services tab and then choose Open Services option since trying to end the task directly from the tab will fail. From the Open Services option you can stop the Windows Search service and then change it's run status to disabled. Don't forget to turn it back on later when you're done with the install.
2) I looked in my Task List and I noticed there were some entries for the installer for Visual Studio 2013 RC 2. I had uninstalled that version because the design editor was crashing continuously. The uninstall was only partially successful. I wonder if it got launched in an attempt to clean up the previous uninstall. In either case, I ended the task for RC 2.
3) I also saw entries for the Windows Phone 8.1 emulator installers. I ended those tasks too.
The instant I did steps #2 and #3 the main Visual Studio installer perked up and said Setup Completed. My guess is that either the RC 2 installer or the Windows Phone 8.1 emulator installer got stuck and the main installer was waiting for it to return. I then clicked LAUNCH and Visual Studio 2013 Update 3 started properly. The good news is that the update worked fine.
The moral of the story is if you get the problem reported by the original poster, check for stuck sub-installers in your task list and get rid of them, but do not stop the main installer.
I've got similar issue. I solve it by going to process manager and killing all visual studio application process (i.e. emulator, visual studio 32b, visual studio for web...) without main process of instalation. After 5 minutes installation end.
I had the same problem with Visual Studio 2014 Update 3 hanging for hours at the very end of the install. The very second I ended the process described by Robert Oscler at (3) above "I also saw entries for the Windows Phone 8.1 emulator installers. I ended those tasks too." the install finished and I was ready to launch. This really worked thanks. If your not familiar with Task Manager here's what to do. To do it you press CTRL ALT DELETE together and pick Task Manager. If there is nothing showing press More Details bottom right. On the processes page scroll down until you see an entry that has Windows Phone 8.1 emulator (or similar) as a description. Click on any of these and just press the button that says end task on the bottom right. You need to be careful what processes that you end in general but it's fine to end Windows Phone 8.1 emulator in this case. Hope this fixes the problem for you and thanks again to Robert
I had Visual Studio 2013 Ultimate on my laptop and downloaded and installed VS 2013 with Update 2 on the same machine.
I got to that last step "Configuring Your System, this may take a while" and it took like forever. About 2 hours for me.
My take is that you wait for it to complete, maybe leave it finishing up overnight.
Another suggestion, assuming you installed "over" the original VS 2013 is to first uninstall it and the install VS 2013 with Update 2.

Visual Studio Hangs in debug?

For the past couple of days, Visual Studio 2012 and 2013 have been hanging during debug mode. Most of the time, i dont get this issue until further into my project. When i press the Start Button, everything continues as normal, but then hangs with this message at the bottom of visual Studio statusBar.
Inside Task Manager, when i try to force taskkill, or end process/process tree, this continues to stay present in my running processes.
Even after a reinstall, nothing seems to help it. I did see somewhere on the Microsoft Developer forums where a person was told it was something to do with the windows sybmol server?. What do i need to do to fix this issue i am having?
After this occurs once, i am forced to reboot my computer. Even if i open Visual Studio after this happens, it still has the same issue.

What is making Visual Studio hang and how can I prevent it?

I'm working on a solution in Visual Studio (v10.0.30319.1) which contains 8 C# projects (WPF Application and Class Libraries). I've been working on this solution for several months, but yesterday I started having problems with Visual Studio hanging for some time when starting and stopping my app in the debug environment.
I first notice it when I stop the application and VS hangs for around 5 seconds. I then press F5 to start again and it takes 5-10 seconds to start. Then I stop the application and it takes about 10 seconds to stop. The problem subsequently worsens until I reboot the computer (I'm not sure if restarting VS is sufficient - I will test and update the question when it happens again).
Once the computer has been restarted, I cannot replicate the problem, but I know it will creep up on me again today.
While the problem is happening, one of the cores is at 100% usage. Memory usage for devenv.exe is normal at a bit over 200MB, and not increasing.
The computer is quite powerful and everything else is working correctly so I'm sure it's not a resource issue.
Did you update VS2010 with Service Pack 1?
Microsoft Visual Studio 2010 Service Pack 1 Download
Be warned, although the page says it's only an 800 KB download, what is actually downloaded is a downloader that downloads over 800 MB of patches. (That's a lot of "downloads" :P)
Delete your solution user option files i.e. {SolutionName}.suo and {SolutionName}.docstates.suo
It worked for me, before doing that I tried #Casey solution but it didn't work.
so first try deleting files, if it do not work then update VS2010 and then delete files again.

Starting Visual Studio causes all running apps to hang and stop responding

After my laptop fell on the floor and its screen was a little damaged, I was able to continue working with it, but failed to build a project of mine. At some point, the system froze, and I was forced to restart the laptop. Ever since, I’m not able to start Visual Studio 2008 or 2010. Moreover, when I do try to start one of the versions, I see no splash screen, and at some point, all running applications stop responding, and I’m forced to restart the laptop.
When I started Visual Studio 2008 with the /SafeMode flag it started OK and worked perfectly, but when I tried it with Visual Studio 2010, I did see a splash screen and the application main window was opened, but then the system got stuck again and forced me to restart.
I use Windows XP SP3, and the addins I recall I have are Visual Assist, IncrediBuild, and Productivity Power Tools for VS 2010 (how can I check what other addins are installed without having Visual Studio running?)
I tried using the /Log flag to find out what’s happening, but there was nothing that seemed related in the generated log.
At the time of the hang, the CPU and memory of the system was low.
The problem happens whether I open Visual Studio with no solution, or with an existing solution.
Do you have any idea why this might happen, or how it can be solved?
Edit:
I run chkdsk /R /V and it is stuck on "1 percent
completed." for hours now. Is there anything I can do?
I'll try to re-install Visual Studio 2010 next week, when I'm in the office. I hope that will help.
Thanks a lot,
splintor
Your drive is torched. Buy a new drive, and salvage whatever you can from the existing drive, then swap them out. If you're lucky you can salvage enough of the existing drive to not need to do a full OS reinstall, but it's likely you're going to need to do some reinstallation.
Looks like the cause if the fall of your laptop. Though what changes happened is unknown it is more likely to be a hardware issue.
Did you reinstall the softwares and check how they work.
If I was diagnosing this issue, I would start from the ground up.
Start of with a basic CheckDisc - CheckDisk Instructions for XP
Progress from that to try re-installing over your existing VS install.
I can't see it being a software problem, so I reckon the checkdisk will discover/fix something, or a reinstall should resolve it.
Dave
You've probably damaged your hard disk in an area which is touched by VS. Windows often grinds completely to a halt when it's struggling to read a damaged area of disk.
Check the Windows event log for errors to do with disk drives.

Resources