Crashed on last step: Scripting
description
On the last step where the application starts scripting it crashed,I've tried to debug the application to see what exactly is the issue and it was "Index was outside the bounds of the array." , here's the stacktrace:
at SQLAzureMWUtils.ScriptDatabase.ScriptTableData(SqlSmoObject obj, StringCollection& bcpOutputCommands, StringCollection& bcpTargetCommands, String& outputDir)
at SQLAzureMWUtils.ScriptDatabase.ScriptTables(SqlSmoObject[] smoObjects, StringCollection& tableForeignKey, StringCollection& bcpOutputCommands, StringCollection& bcpTargetCommands, String& outputDir)
at SQLAzureMWUtils.SourceProcessor.Process(SqlSmoObject[] objects, Int32 start)
at SQLAzureMW.ScriptWizard.GenerateScriptFromSourceServer()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()