Error: Object reference not set to an instance of an object.

Hi,

I am using the command line interface of SQL Data Compare. I am having a problem using the IncludeColumns switch.

This is the XML that i used

<include>Table:\[portfolio_conversion_status\]</include>
<includecolumns>portfolio_conversion_status:portfolio</includecolumns>

I get the following error message

Error: Object reference not set to an instance of an object.

Can anyone point out where I'm going wrong ?

Thanks
Malathi

Comments

  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Hello Malathi,

    I believe there is a bug in SQLDataCompare in parsing the XML that makes the include element case-sensitive. Can you try <Include> with a capital I? Thanks!
  • Hello Malathi,

    I think I may have been mistaken about the bug. The SQL Data Compare bug I was thinking of is a case-sensitivity issue somewhere else.

    Just out of curiosity, does the same comparison work in the user-interface version of Data Compare?
Sign In or Register to comment.