sample projects broken

Automate and integrate using the SQL comparison API

Moderators: Chris Auckland, David Atkinson, Michelle Taylor, chengvoon.tong

sample projects broken

Postby cooperphil » Fri Nov 16, 2012 8:50 pm

when I run the example projects I receive the error below when execution attempts to new a Database class:

System.ArgumentNullException was unhandled
Message=Value cannot be null.
Parameter name: format
Source=mscorlib
ParamName=format
StackTrace:
at System.String.Format(IFormatProvider provider, String format, Object[] args)
at RedGate.SQLToolkit.Engine.Licensing.ToolkitLicenceProvider.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions)
at System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey)
at System.ComponentModel.LicenseManager.ValidateInternal(Type type, Object instance, Boolean allowExceptions, License& license)
at System.ComponentModel.LicenseManager.Validate(Type type, Object instance)
at RedGate.SQLCompare.Engine.Database..ctor()
at SQLDataCompareCodeSnippets.ProjectExample.RunExample() in C:\\Program Files\\Red Gate\\SQL Comparison SDK 10\\Samples\\Automating SQL Data Compare\\C#\\ProjectExample.cs:line 28
at SQLDataCompareCodeSnippets.Program.Main() in C:\\Program Files\\Red Gate\\SQL Comparison SDK 10\\Samples\\Automating SQL Data Compare\\C#\\Program.cs:line 63
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
cooperphil
 
Posts: 1
Joined: Fri Nov 16, 2012 8:46 pm
Location: Sarasota, Fl

Postby Brian Donahue » Mon Nov 19, 2012 11:15 am

Please try the following patch to SQL Comparison SDK:
ftp://support.red-gate.com/patches/SQL_ ... .0.111.zip
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am


Return to SQL Comparison SDK 10

Who is online

Users browsing this forum: No registered users and 0 guests