Visual Studio 2013 crashes and restarts every time I run my test solution
Asked Answered
R

1

12

Visual Studio 2013 crashes and restarts every time I run my test solution. When I hit F5 IIS Express starts, the solution builds successfully but after that a dialog box comes up saying Visual Studio is not responding and looking for a solution and then restarts itself.

I tried re-installing IIS express, Visual Studio 2013 but no good.

It is a blank solution and I have not added any code.

Residency answered 12/11, 2013 at 15:20 Comment(4)
Post the stack trace/errors in the eventlog. did you try with a simple brand new fresh project?Sandal
Yes it is a brand new fresh project.Residency
no, you misunderstood. Did you try, again, file > new project? were you able to run it, without writing any code?Sandal
Sure. I will try that and post the error log. Thanks.Residency
R
37

I think I figured out how to fix the issue:

Go to:

Visual Studio 2013 -> Tools -> Options -> Projects and Solutions -> Web Project -> Use 64 bit version of IIS Express

for websites and projects has to be checked if you are using a 64 bit machine.

Residency answered 14/11, 2013 at 2:46 Comment(7)
I had the same Problem, but not with a Web-Project. to reproduce it, i just need to start visual studio 2013 and close it... it will always crash and start again. this solution solved it! win 8.1 x64 THANKS!Quiteris
That was spot on! Thanks for the fix.Cenotaph
Thanks bro! how did you come to this?Shah
Honestly I don't remember. But I remember finding some hint in one of the tech forums.Residency
@StevenSpyrka How did this solution fix it if you had the problem with non-web projects and the solution is related to web projects?Fluxion
I am working on NopCommerce, I did the same setting , but when i start debugging(after 64 bit) i get error of No database instance. But when i rollback settings then it again started working but same crash error ! Any other solution is there ?Sterculiaceous
It worked for me for a few hours. Started facing the same issue now. Upvoted the answer too soon :DHydroquinone

© 2022 - 2024 — McMap. All rights reserved.