Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / July 2008

Tip: Looking for answers? Try searching our database.

Can I trace VS2005 startup?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve Barnett - 24 Jul 2008 16:11 GMT
I have a problem with VS 2005. After a spyware scan or a virus scan (or any
disk intensive activity), if I start VS 2005, I get the splash screen and
then PC reboots. It's a bit irritating.

On reboot, Windows reports a blue screen error and blames a "device error".
Strange thing is, this ONLY happens when starting VS 2005, so I'm
unconvinced about the cause. To be fair, the error reporting used to blame
my anti-virus program, so I replaced it with a different one. It now blames
the device error.

What I was wondering was, is it possible to trace the start up of VS 2005 so
I can see what it was doing before it crashed? If I can get a few traces
together, maybe I can spot something going on when the PC reboots and maybe
I can do something to fix the problem.

Thanks
Steve
Igor Solodovnikov - 24 Jul 2008 17:59 GMT
Execute it with /log parameter.
http://msdn.microsoft.com/en-us/library/ms241272.aspx

> I have a problem with VS 2005. After a spyware scan or a virus scan (or  
> any
[quoted text clipped - 19 lines]
> Thanks
> Steve
John Saunders - 24 Jul 2008 19:01 GMT
Maybe you have a device error. Did you look in the event log to see if your
disk has been reporting errors?

Visual Studio is purely user-mode code. It is completely impossible for it
to cause a BSOD. On the other hand, some piece of kernel code could be
watching what VS is doing and in the process, could be crashing your system.

Without naming the name of the a company that has been very helpful in
resolving my BSOD issue, I have to say that I know of one case of a popular
piece of kernel-mode software that is being notified when each DLL is being
loaded on the system. Sometimes, when it does this, it screws up and the
system crashes. The problem appears related to Visual Studio simply because
Visual Studio is composed of a large number of DLL files.

Signature

John Saunders | MVP - Connected System Developer

> I have a problem with VS 2005. After a spyware scan or a virus scan (or
> any disk intensive activity), if I start VS 2005, I get the splash screen
[quoted text clipped - 13 lines]
> Thanks
> Steve
Steve Barnett - 25 Jul 2008 08:31 GMT
I've checked out the hard disk as best I can and it appears to be fine - it
passed the tests I've run. If it were failing, I would have expected crashes
when I started other apps or when I did my spyware/virus scans since they're
rather disk intensive. Fact is, only VS reboots the system.

Until recently, I also had VS 2003 installed and that didn't have a problem.
I would have thought it was as likely to crash as VS 2003.

I was wondering whether one of the scans is corrupting a file or leaving it
open or in a strange state and VS isn't handling it properly, which is why I
wanted to see if a trace would highlight something. I'm quite prepared to
accept that VS is suffering the consequences of another apps actions, but I
need a way to track down what that 'other app' might be.

I'll try the log parameter as suggested by Igor.

Thanks
Steve

> Maybe you have a device error. Did you look in the event log to see if
> your disk has been reporting errors?
[quoted text clipped - 28 lines]
>> Thanks
>> Steve

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.