473,394 Members | 1,640 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Cannot launch debugger

I am running Visual Studio .NET 2002 Professional on Windows 2000 SP4.

When I try to launch the debugger from inside the IDE for VC++ applications
I get the following error “Application failed to initialize properly
(08x0000003). Click on OK to terminate the application”. I get the same
results when I right-click on application and choose Debug->Start New
Instance. However, the same application runs without any errors if I use the
menu option Debug->Start without debugging. I can also attach the debugger to
the running process.

I have tried to reinstall Visual Studio, rebuilding entire solution without
any luck.

Thanks in advance

Thomas

Jan 26 '06 #1
5 2444
When I try to launch the debugger from inside the IDE for VC++ applications
I get the following error "Application failed to initialize properly
(08x0000003). Click on OK to terminate the application". I get the same
results when I right-click on application and choose Debug->Start New
Instance. However, the same application runs without any errors if I use the
menu option Debug->Start without debugging. I can also attach the debugger to
the running process.


Does it happen with only one application, or with any application, including
simple wizard-generated apps?

What output will be displayed if you run the following command?

ntsd -g yourapp.exe

(NTSD is a command line based debugger located in winnt\system32 directory)

Regards,
Oleg
[VC++ MVP http://www.debuginfo.com/]
Jan 26 '06 #2
"Oleg Starodumov" wrote:

Does it happen with only one application, or with any application, including
simple wizard-generated apps?

What output will be displayed if you run the following command?

ntsd -g yourapp.exe

(NTSD is a command line based debugger located in winnt\system32 directory)

Regards,
Oleg
[VC++ MVP http://www.debuginfo.com/]


Thanks for the reply.

I get the same error for all applications including simple wizard generated
applications.

Also, when I run the ntsd -g I get the same error "“Application failed to
initialize properly (08x0000003). Click on OK to terminate the application”.

Thomas
Jan 26 '06 #3
I get the same error for all applications including simple wizard generated
applications.

I would suspect a security-related product installed on the system.
Some personal firewalls, antivurus products, and other "intrusion prevention"
applications are known for breaking Win32 debugging.
(but at the same time, scanning for viruses/rootkits will not harm, too)
Also, when I run the ntsd -g I get the same error ""Application failed to
initialize properly (08x0000003). Click on OK to terminate the application".


What output is printed by NTSD to its console?

Oleg


Jan 27 '06 #4


"Oleg Starodumov" wrote:
I get the same error for all applications including simple wizard generated
applications.


I would suspect a security-related product installed on the system.
Some personal firewalls, antivurus products, and other "intrusion prevention"
applications are known for breaking Win32 debugging.
(but at the same time, scanning for viruses/rootkits will not harm, too)
Also, when I run the ntsd -g I get the same error ""Application failed to
initialize properly (08x0000003). Click on OK to terminate the application".


What output is printed by NTSD to its console?

Oleg


I did not provide the output as nothing useful is being printed out. In any
case, here it is.

------------
Microsoft(R) Windows 2000 Debugger
Version 5.00.2184.1
Copyright (C) Microsoft Corp. 1981-1999

CommandLine: simpleApp.exe
----------------
simpleApp.exe is a wizard-generated application that I created for testing
this bug.
Jan 27 '06 #5
Try running Dependency Walker on your app, both stand-alone and the ntsd
command line. Maybe it's finding a different set of libraries... debuggers
can change the search order. 0x80000003 usually indicates a DLL refused to
load.
"thomas1107" <th********@discussions.microsoft.com> wrote in message
news:FA**********************************@microsof t.com...


"Oleg Starodumov" wrote:
> I get the same error for all applications including simple wizard
> generated
> applications.
>


I would suspect a security-related product installed on the system.
Some personal firewalls, antivurus products, and other "intrusion
prevention"
applications are known for breaking Win32 debugging.
(but at the same time, scanning for viruses/rootkits will not harm, too)
> Also, when I run the ntsd -g I get the same error ""Application failed
> to
> initialize properly (08x0000003). Click on OK to terminate the
> application".
>


What output is printed by NTSD to its console?

Oleg


I did not provide the output as nothing useful is being printed out. In
any
case, here it is.

------------
Microsoft(R) Windows 2000 Debugger
Version 5.00.2184.1
Copyright (C) Microsoft Corp. 1981-1999

CommandLine: simpleApp.exe
----------------
simpleApp.exe is a wizard-generated application that I created for testing
this bug.

Feb 1 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Fisch von Gestern | last post by:
I have tried to run the extension function/element examples provided with the Xalan-J download. I believe that my classpath is correct, and that my versions are up-to-date. However, I can't get...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
0
by: Diana Bulthaupt | last post by:
Hello, have implemented a global exception handler. If an exception occurs, the event OnThreadException will be called. In this method I call Debugger.Launch() to start a Debugger. This works so...
3
by: Michael D. Ober | last post by:
Does anyone know the actual version of VS 2005 that will be distributed at the VS 2005 Launch events? Also, will there be an equivalent "trial edition" available for download while we wait for the...
7
by: dinamointer | last post by:
Could you help me in this problem: I want to launch an exe file(executable jar file) from a web page. I use jsp...and i cannot use vbScript...? could u tell me how should i do it? Thanks
3
by: thomson | last post by:
Hi All, Are there any sort of exceptions that cannot be caught by the Runtime, Any Insights? Thanks in Advance thomson
4
by: nagar | last post by:
I'm trying to launch a webservice in Debug from visual studio .net 2003. When I do that I get an error: "Cannot start debugging on the webserver". This happens on old and new projects, both using...
7
by: Rory Becker | last post by:
Hello Mark Rae , Oh well thanks anyway :) Nope... Some DevExpress and some Infragistics (older 2005 stuff) but no ComponentArt -- Rory
2
by: jtm5044 | last post by:
Hello, I am writing an application that will monitor a directory and when a new file is saved into that directory, it will open the file, extract the information needed and send an email with the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.