RE: metadata operation failed (8013110E) : Database file is corrupt and may not be usable.
From: Mohamoss (mohamed.mossad_at_egdsc.microsoft.com)
Date: 12/05/04
- Next message: Joachim Pense: "Re: C# property usage question"
- Previous message: Mohamoss: "RE: How to dynamically create schema for DataSet?"
- In reply to: Tomas Vera: "metadata operation failed (8013110E) : Database file is corrupt and may not be usable."
- Next in thread: Tomas Vera: "Re: metadata operation failed (8013110E) : Database file is corrupt and may not be usable."
- Reply: Tomas Vera: "Re: metadata operation failed (8013110E) : Database file is corrupt and may not be usable."
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 05 Dec 2004 10:39:13 GMT
Hi Tomas
In some other cases, this had to do with the order of #using<> statements
if you're including header files that also have #using<> statements). Make
sure you're not #using anything twice if you don't need to or at all if you
don't need it.
This usually happens because somehow the compiler puts
slightly different metadata in two modules for the same type. At link time,
when the metadata is merged, this error is emitted because the name for the
type is the same, but there is some discrepancy in the rest of the metadata
describing that type. The first thing I would look at are the command line
options used to compile the two modules, and then I would look at the
includes leading up to the definition of the type for the two modules. Both
of these things can sometimes affect the metadata for a type. If these
don't yield any clues, then I would use metainfo to dump the metadata for
the two object files, and look for the differences that way. Often this
will lead you back to the includes or the command line options
Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
- Next message: Joachim Pense: "Re: C# property usage question"
- Previous message: Mohamoss: "RE: How to dynamically create schema for DataSet?"
- In reply to: Tomas Vera: "metadata operation failed (8013110E) : Database file is corrupt and may not be usable."
- Next in thread: Tomas Vera: "Re: metadata operation failed (8013110E) : Database file is corrupt and may not be usable."
- Reply: Tomas Vera: "Re: metadata operation failed (8013110E) : Database file is corrupt and may not be usable."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|