[quoted text, click to view] Frans van Bree wrote:
> You also did steps 1 and 3? You needs step 1 the first time to get an initial
> version of the meta data. Do not forget step 3 also:
Of course I did (see my other replies to this posting). The troubles
have been in step 2 indeed. This step has to be executed exactly as
follows to make it work (at least for me):
2a) set WriteOption = Append
The raw file destination component will immediately show an ex-
clamation mark ("this component has inconsistent metadata"). I
can't explan this - to me this looks like a bug?
2b) double-click the raw file destination component; a message like
the following will be shown:
The external metadata collection is out of synchronization with
the data source columns.
The column "..." needs to be added to the external metadata
collection
...
Do you want the component to fix these errors automatically?
After answering with "yes" I had to adjust some connections bet-
ween the input and output columns.
After closing the editor for the raw file destination the ex-
clamation mark disappiears.
2c) set ValidateExternalMetadata = False
The remaining steps stay exactly as Jamie has described.
I think that my troubles have been self made. The data flow looks
like this:
XML Data Source -> Data Conversion -> Raw File Destination
I didn't rename the converted columns in the data conversion com-
ponent because I preferred the names with the prefix. But this pre-
fix is not written into the raw file. Therefore the metadata got
inconsistent after I have switched WriteOption to Append. At least
this is the only explanation I can come up with.