Red Gate forums :: View topic - Exception Comparing Snapshots via Command Line
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Compare 10
SQL Compare 10 forum

Exception Comparing Snapshots via Command Line

Search in SQL Compare 10 forum
Post new topic   Reply to topic
Jump to:  
Author Message
farreachjason



Joined: 18 Jun 2012
Posts: 2

PostPosted: Mon Jun 18, 2012 8:12 pm    Post subject: Exception Comparing Snapshots via Command Line Reply with quote

I get the following error when trying to compare snapshots via command line:

Registering data sources
Creating mappings
Comparing
Applying Command Line Items
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 #namb.#tamb.#q1r(ExitCodes #M6rc, Exception #9Z)
at RedGate.SQLToolsCommandLine.CommandProcessor.#Acmb(Exception #9Z)
at RedGate.SQLToolsCommandLine.CommandProcessor.#Acmb()
at RedGate.SQLToolsCommandLine.CommandProcessor.#ZjD()
at RedGate.SQLToolsCommandLine.CommandProcessor.#kcmb()
at #i9G.#wamb.#kcmb()
at RedGate.SQLToolsCommandLine.CommandProcessor.#OUb()


The command line I am running is as follows:

C:\PROGRA~2\REDGAT~1\SQLCOM~1\SQLCOM~1.EXE /sn1:"C:\TeamCity\AccessSentry\ChangeScripts\1.0.803\After_1.0.803.snp" /sn2:"C:\TeamCity\AccessSentry\ChangeScripts\1.0.803\Before_1.0.803.snp" /sf:"C:\TeamCity\AccessSentry\ChangeScripts\1.0.803\Schema_Changes_1.0.803.sql"

One thing to note is there are no acutal differences, so I don't know if that is what is causing the issue.

Any ideas on what would be causing this exception?

Thanks.

Jason
Back to top
View user's profile Send private message
farreachjason



Joined: 18 Jun 2012
Posts: 2

PostPosted: Wed Jun 20, 2012 9:04 pm    Post subject: Reply with quote

I determined it was the quotes that I had put around the file paths that was causing the issue. Once I removed the quotes it executed successfully.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic 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