| Author |
Message |
espo4life
Joined: 31 Oct 2012 Posts: 2
|
Posted: Wed Oct 31, 2012 6:51 pm Post subject: Error generating HTML report in Command Line |
|
|
I am using SQL Compare 10 with the following command line
| Code: |
| SQLCompare /Scripts1:"C:\Database" /db2:"Database" /Server2:"Server" /ScriptFile:"C:\Database\output.sql" /Force /Exclude:User /Report:"c:\Database\DatabaseReport.html" /ReportType:Simple |
and it gives me the following with the /Report tag present.
| Code: |
Unexpected error: Object reference not set to an instance of an object.
Object reference not set to an instance of an object.
System.NullReferenceException
at #i9G.#wamb.#0CIc()
at #i9G.#wamb.#jcmb()
at #i9G.#wamb.#9OVb()
at RedGate.SQLToolsCommandLine.CommandProcessor.#ZjD()
at RedGate.SQLToolsCommandLine.CommandProcessor.#kcmb()
at #i9G.#wamb.#kcmb()
at RedGate.SQLToolsCommandLine.CommandProcessor.#OUb()
at #i9G.#OsPb.#6sc(String[] #ead)
|
Any ideas on the problem and how to fix it?
Thanks,
Michael |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6348 Location: Red Gate Software
|
Posted: Thu Nov 01, 2012 10:25 am Post subject: |
|
|
Can you try appending /Include:Identical to the command? _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
sddesh
Joined: 13 Dec 2012 Posts: 2
|
Posted: Thu Dec 13, 2012 11:54 pm Post subject: |
|
|
| Did you find an answer to this issue? Having the same problem. Thanks. |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6348 Location: Red Gate Software
|
Posted: Fri Dec 14, 2012 10:39 am Post subject: |
|
|
Nope. No solution and can't reproduce it in-house. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
sddesh
Joined: 13 Dec 2012 Posts: 2
|
Posted: Tue Dec 18, 2012 11:01 pm Post subject: |
|
|
SqlCompare /S1:server1 /db1:database1 /S2:server2 /db2:database2 /Exclude:Schema /Exclude:User /Exclude:Role /Options:Default,IgnoreComments,IgnorePermissions,IgnoreFillFactor,IgnoreWhiteSpace,IgnoreQuotedIdentifiersAndAnsiNullSettings,IgnoreExtendedProperties,IgnoreWithNocheck,IgnoreConstraintNames /report:"C:\test.xml" /reporttype:XML /force /loglevel:verbose
gives the above mentioned "object reference not set to instance of object error". Could you please look at it? Am I doing anything wrong here? This is working when I send the output to a text file using /out: variable (without report generation). But erroring while trying to do a report. |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6348 Location: Red Gate Software
|
Posted: Wed Dec 19, 2012 11:40 am Post subject: |
|
|
Please contact support at red-gate.com by email. We'll probably need to debug the program with you. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group