Search This Blog


Wednesday, February 20, 2008

fatal error CS0041: Unexpected error writing debug information ...'Catastrophic failure '

Well, I got this when I compiled my C# .Net 1.1 project. The full error was:

fatal error CS0041: Unexpected error writing debugging information to file "XXXX\obj\Debug\ATest.pdb" 'catastrophic failure'.

What caused the error?

It was all because the VS 2003 compiler was trying to create a pdb file on a directory that contained such a pdb file which was created by VS 2005, so said the Internet.

So I deleted the pdb file.

Still, the same error occurred.

Confounded, I closed the Visual Studio, opened it again, made a recompile. Same error. I deleted the pdb file again, recompiled, no luck

I fiddled around for half an hour without any result. Out of frustration, I deleted all the bin and obj folder. And it worked.

Puzzled, I read the troubleshooting guide and the error message again. Well, the error message said that error occurred in \obj\Debug\ATest.pdb. No wonder, I deleted the pdb file in \bin\Debug folder.


1 comment:

Anonymous said...

Good day !.
You may , perhaps curious to know how one can manage to receive high yields .
There is no need to invest much at first. You may commense earning with as small sum of money as 20-100 dollars.

AimTrust is what you need
The firm represents an offshore structure with advanced asset management technologies in production and delivery of pipes for oil and gas.

Its head office is in Panama with offices everywhere: In USA, Canada, Cyprus.
Do you want to become really rich in short time?
That`s your chance That`s what you really need!

I`m happy and lucky, I started to take up real money with the help of this company,
and I invite you to do the same. It`s all about how to choose a correct companion who uses your money in a right way - that`s AimTrust!.
I make 2G daily, and my first investment was 500 dollars only!
It`s easy to get involved , just click this link
and go! Let`s take this option together to get rid of nastiness of the life