473,386 Members | 1,790 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,386 software developers and data experts.

The application failed to initialize properly (0xc0000005)

Hi, all.

I've been working on a .NET project written in C# for the past three
months. Yesterday, all of a sudden, I get The application failed to
initialize properly (0xc0000005) error when i try to execute the .exe I
built from my project. I'm sure I did not do any .NET framework
install/uninstall/updates at all, neither did I delete any .dll files
in any directory. Does anyone know what this error means?

The only weird thing that I remember happened before was that my laptop
was suddently turned off by my friend and when it rebooted i cancelled
XP's filesystem check during reboot. Do you think that would cause
..dlls to get corrupted maybe?

What do you think I should do to fix/diagnose ?
Thanks,
John

Nov 3 '06 #1
1 12900
John,
Yesterday, all of a sudden, I get The application failed to
initialize properly (0xc0000005) error when i try to execute the .exe I
built from my project.
People seem to run into this error sometimes, but I'm not aware of any easy
fix for this problem (0xc0000005 means an access violation memory error
occurred). However, I'd say some file or registry setting might be
corrupted on your laptop.

Here are some things you might try:

- try running your application from Windows Explorer instead of Visual
Studio, any difference?
- does the Windows Event Log display any additional information?
- try running Check Disk (chkdsk.exe /f) on your hard drives
- check to see if this error affects all your .NET applications, i.e. try to
build another very simple one
- try re-installing the appropriate .NET framework runtime (1.1 or 2.0
depending on your Visual Studio version)
- check to see if you have any beta software installed that might interfere
with your setup

Hope this helps!

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/
Nov 5 '06 #2

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

Similar topics

7
by: Staale L. Hansen | last post by:
We have an application which uses some mixed-mode code to expose a .NET 1.1 managed API. Only the necessary files are compiled with /clr. We want to be able to load the application without .NET...
4
by: Tommy Vercetti | last post by:
I've been trying to convert a Standard C++/MFC application to Managed C++/Forms (the application is pretty complex but the GUI is just a simple status dialog). I created a new project shell and...
3
by: Gustavo L. Fabro | last post by:
Greetings! I'm testing VS 2005 Beta 2, and I've compiled a program that runs just fine on my computer (where VS is installed). I've tried to run this same program on another computer (after...
0
by: Patricia Kline | last post by:
I have an application that was written in dotnet. It works on some computers but not others. I get the following error... The application failed to initialize properly (0xc000135). I am...
1
by: John Baker | last post by:
I built a very simple program called First.exe. It is a form that has a few text labels on it and a picturebox that displays a JPG. Nothing else. Works fine on the computer it was built on. ...
1
by: Jason Bell | last post by:
I've been developing with the .net framework 2.0 since it's release with no problems. It has suddenly stopped working. When I try to execute any .net application a popup with the following...
0
by: rajezh | last post by:
Sir, Im using ASP.NET 2.0. In my project, I used ProcessStartInfo to execute C# .exe console application. It works fine when I run thorough Visual Studio.But when i run this code through virtual...
1
by: =?Utf-8?B?RHRvd25EYWxl?= | last post by:
When I try to start programs like win media player Error pops up and says the application failed to initialize properly (0xc0000034). Click on OK to terminate the application. The same thing...
0
by: =?Utf-8?B?UHJhamFrdGE=?= | last post by:
Hi, I have build application Visual Studio 2005 on Windows Server 2003. While executing the application in getting this error "The application failed to initialize properly 0xc0000135" The...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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.