The application failed to initialize properly (0xc0000005)

  • Thread starter Thread starter John Todd
  • Start date Start date
J

John Todd

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
 
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
(e-mail address removed)
http://www.saunalahti.fi/janij/
 
Back
Top