I have the same problem. I had a .NET project which i had not used for
a while and now when i try to build i get this error:
fatal error LNK1215: metadata operation failed (8013110E) : Database
file is corrupt and may not be usable.
I tried everything and finally i changed the "Create/Use/ Precompile
header" option to "Create Precompiled Header (/Yc)" and recompiled and
to my supprise it started to work again!
hope it helps
Peter Oliphant wrote:[color=blue]
> I think I can solve your problem, same thing happened to me...
>
> Let me guess. Your project started out under one version of the compiler
> (say, 2002), and you loaded it up into another one (say, 2003), and it
> converted it for you. Well, in my case, this conversion was not perfect, and
> 2 weeks later I also got random error 1215 errors. The compiling errors you
> get will be random and not make sense (e.g., you add a line of code and
> something totally unrelated that use to work stops working).
>
> Solution? Create a BRAND NEW project under the new compiler (in the example
> above, 2003) of the same type, copy your source over, and it should work
> now.
>
> This might also happen converting to 2005, but my experience was conversion
> from 2002 to 2003. The weird part is it all worked great until 2 weeks
> later, so that really made it tough to figure out what went wrong! The point
> being that you might have converted your project a long time ago and this
> still could be the cause.
>
> By the way, if you look down lower in this newsgroup, around October 19th at
> 2:16PM, you'll see a thread I started when this happened to me called
> "LINKER ERROR 1215"...
>
> Let me know if that was your problem too... : )
>
> [==P==]
>
> "Samarpan" <samarpandas@rediffmail.com> wrote in message
> news:90e0ce18-d9c3-4ac2-9fe3-8d1383579a4c@msnews.microsoft.com...[color=green]
> > Hi,
> > I am getting a strange LNK Error 1215 saying
> >
> > fatal error LNK1215: metadata operation failed (8013110E) : Database file
> > is corrupt and may not be usable.
> >
> > when I am trying to declare any function in my entire project .. sometimes
> > I reset some events it works fine ... It even happened when I tried to
> > declare variables and used .. When I used the same code in the page load
> > event it worked .. Dont know what is happening ? Pls help me ........ This
> > is a real showstopper for me as I am almost on the delivery stage .....
> > Please please help me ...
> >
> > Thanks in advance
> > Samarpan
> >
> >
> > From
> >
http://developmentnow.com/g/42_2003_...link-error.htm
> >
> > Posted via DevelopmentNow.com Groups
> >
http://www.developmentnow.com[/color][/color]