Feb 072013
 
 February 7, 2013  Posted by at 1:59 pm WinRT  Add comments

The not very specific error message from VS2012

The not very specific error message from VS2012


A couple of days ago I had the weirdest problem in Visual Studio 2012. I was working on some demo applications, Windows Store Apps, and in JavaScript and Html. But whatever I did I could not create or rename a folder. Whenever I did Visual Studio would hang, and become completely unresponsive until I basically had to open task manager and end the process. This happened without failure each and every time I tried. If I opened the project location I could see that the folder was created (not showing in Visual Studio 2012), but it was empty.
pdat
Update didn't help

Update didn’t help


First I updated and repaired VS. That didn’t help.
And that is how I learned something new. My husband, he is an IT Pro (worth reading his blog) was quick to open up the Event Viewer.
Under Windows Logs, Application, you can find logs for events.

Under Windows Logs, Application, you can find logs for events.


Aha! The culprit!

Aha! The culprit!

Application logs

Application logs

Under Windows Logs, Application, you can find logs for events. And turns out you get some interesting information, this time enough to actually find the culprit. It was VisualSVN that had problems with the project type- and without notification made VS2012 hang (and then crash). I wasn’t using VisualSVN, but it’s still installed and can cause problems. I uninstalled it directly, I’m mostly using TFS and Github at the moment anyway.

You can't uninstall directly from VS2012

You can’t uninstall directly from VS2012


Notice that it can’t be uninstalled from Visual Studio, and I would restart VS2012 after uninstalling it because it was still there until I restarted.
That basically solved the problem directly, and hopefully it will save you some trouble too. I have a feeling I’ll be checking the Event Viewer more often now 🙂

  2 Responses to “Error: Visual Studio 2012 hangs or crashes when adding new folder in Windows Store App with Javascript and Html”

  1. I’m having same problem but VisualVSN is not installed. Oh well, congrats on solving yours.

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

What is 8 + 13 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)