Solved

Visual Studio.NET Freezes on Start

Posted on 2008-10-21
18
545 Views
Last Modified: 2013-11-26
I'm Running Microsoft Visual Studio .NET 2003.  
When I want to test a project that I'm working on, I hit F5 to start the project.  When I hit F5, Visual Studio freezes and the project never comes up.  I have to end Visual Studio and end whatever process I'm just tried to start via the Task Manager.  I believe it is the debugger because I can hit Ctrl+F5 (start without debugging) and everything works just fine.  I have opened some older projects that I know work just fine, and they freeze also when I hit F5. Any ideas what could be causing this problem?

Thanks
-Paul
0
Comment
Question by:paulfarmer
  • 7
  • 7
  • 4
18 Comments
 
LVL 12

Assisted Solution

by:jazzIIIlove
jazzIIIlove earned 250 total points
ID: 22771921
I suggest booting Wimdows into "Safe Mode" and seeing if you can reproduce the problem.
Hi there;

and it's worth to try to remove got rid of the language bar and kicked ctfmon.exe because it could be the main reason for this...

To remove ctfmon.exe, follow the instructions here:

http://www.ghacks.net/2007/10/22/how-to-remove-ctfmonexe/

Best regards...
0
 
LVL 11

Assisted Solution

by:jgmontgo
jgmontgo earned 250 total points
ID: 22772021
What version of Visual Studio .NET 2003 do you have? I did some checking and found some other similar cases with Enterprise Architect. Although I also found many other similar cases where the version was never stated.
My gut feeling, especially if it was working on other projects before, is that something changed on your system between the last time it worked and now. Most commonly I see this kind of behavior when new software is installed that  may have introduced newer DLL's that are not compatible with the software you are having problems with.
Two things you may  want to consider would be to reinstall Visual Studio .NET 2003 and all of the updates. Second you may try removing newly installed software to see if it makes a difference.
I can say that this problem seems to be somewhat common, as I was able to find a lot of reports of the same behavior in 2003. None of these pointed to a good workable resolution.
0
 
LVL 12

Expert Comment

by:jazzIIIlove
ID: 22772050
very nice reply jgmontgo...

best regards...
0
 
LVL 11

Expert Comment

by:jgmontgo
ID: 22772060
jazzIIIlove mentions getting rid of ctfmon.exe I have seen some cases where this has resolved the problem. The following Microsoft page explains what this program does, and how to remove it:
http://support.microsoft.com/kb/282599
 
0
 
LVL 4

Author Comment

by:paulfarmer
ID: 22776969
I appreciate the replies.  I do have Enterprise Architect.  I will try getting rid of ctfmon.exe.

Thanks,
-Paul
0
 
LVL 4

Author Comment

by:paulfarmer
ID: 22841434
I got rid of ctfmon.exe and that has not resolved the problem.

-Paul.
0
 
LVL 11

Expert Comment

by:jgmontgo
ID: 22845431
Is the Office Language Bar still active?
0
 
LVL 4

Author Comment

by:paulfarmer
ID: 22845844
Where do I check to see if the language bar is still active?
0
 
LVL 11

Expert Comment

by:jgmontgo
ID: 22846018
Follow this to disable the Language Bar:
http://support.microsoft.com/kb/827323
 
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 4

Author Comment

by:paulfarmer
ID: 22850580
I followed those instructions, and it still freezes.
0
 
LVL 11

Expert Comment

by:jgmontgo
ID: 22855623
Then something else is going on. So lets see what we can find.
Have you tried this same project on a different computer? There is a possibility it is the program you are debugging, then I do not know specifically what you are working on and I could easily be wrong on this.
Are other projects doing the same thing, or is this the only one?
Have you checked to make absoultely sure you do not have a problem with a Virus or Trojan? It might be worth running HijackThis just to make sure.
What Anti-Virus are you running? Have you tried disabling it to see if it makes a difference? For that matter it might be a really good idea to see if there are any other resident applications that are (a) running and (b) as invasive as an Anti-virus might be..
Jon
0
 
LVL 12

Expert Comment

by:jazzIIIlove
ID: 22882157
yes..a hijackthis log...I am still registered...
0
 
LVL 4

Author Comment

by:paulfarmer
ID: 22898419
The same problem occurs on all projects.  I do not have VB on any other computers, so...
I'm running Symantec Anti Virus Corporate Edition.
0
 
LVL 11

Expert Comment

by:jgmontgo
ID: 22899984
Ok, have we tried disabling the Anti Virus (Symantec) to see if that makes a difference. Also just to confirm you are using Windows XP? Also how much RAM do you have installed?
0
 
LVL 4

Author Comment

by:paulfarmer
ID: 22900241
I tried disabling the AV and that didn't work.  I'm running XP Pro and I have 1GB of ram.
0
 
LVL 11

Expert Comment

by:jgmontgo
ID: 22901330
Well you have enough RAM, although more would be good. Are you running any other applications that actively take up a lot of memory?
Probably not the AV then, unless there is some sort of a conflict.
I really feel the issue is likely a conflict with some DLL, probably one that is older, newer, or possibly even named the same as another DLL that is in use. While this is not often discussed as the cause of software failure, it is actually a somewhat common cause of some of these mysterious issues. Narrowing it down can be very difficult.
One course of action might be to simplify that machine as much as possible. Uninstall any application that is really not in use. I would really focus on any application that may be non-standard or unusual. This includes making absolute sure we do not have a malware problem (malware is of course software).
0
 
LVL 12

Expert Comment

by:jazzIIIlove
ID: 23072617
Maybe a reformat of the machine can solve...But have some system restores so if the problem reproduces itself, we can go back...
0
 
LVL 4

Accepted Solution

by:
paulfarmer earned 0 total points
ID: 23266812
Thanks for the help guys.
I figured out that the problem was totally unrelated to VB and was caused by a program that was stuck in "install". Once I cleared up the stuck program, VB, and a few other programs I was having problems with, worked just fine.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video discusses moving either the default database or any database to a new volume.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now