Options

System.NullReferenceException

Jason PerezJason Perez Posts: 3
edited February 8, 2007 11:18AM in SQL Compare Previous Versions
Hi:
My company have interest to buy redgate toolkit, im evaluating sql compare api but i found problem when a try to sinchronize 2 databases, the error code is:

A first chance exception of type 'System.NullReferenceException' occurred in RedGate.SQLCompare.Engine.dll
Object reference not set to an instance of an object.
ERROR:Object reference not set to an instance of an object.

the exception is throwed when i call:
work.BuildFromDifferences(differences, Options.Default, false);
method i make project whit diferent layers when i call the method in de same layer works fine, but when i call the method from other layer, like presentationLeyer the method throw the exception, i check before the method execute the differences object and the work object and is not null,
how can i get explicity description of error? :?:

thanks a lot, im waiting for ur response

Jason Perez C
Jake!
Sign In or Register to comment.