Toad World® Forums

Right-Click view --> Generate SQL --> To Editor --> Creation Script = Error


#1

Right-Click view --> Generate SQL --> To Editor --> Creation Script = Error

System.ArgumentNullException

Value cannot be null.

Parameter name: workflowType

Stack Trace:

at System.Workflow.Runtime.WorkflowRuntime.CreateWorkflow(Type workflowType,
Dictionary`2 namedArgumentValues, Guid instanceId)

at System.Workflow.Runtime.WorkflowRuntime.CreateWorkflow(Type workflowType,
Dictionary`2 namedArgumentValues)

at Quest.Toad.SqlServer.Trl.BaseSqlObjectScriptTrl2.StartLoadObjects(Type typeLoadingActivity, IDictionary2 dicsoPropertiesValues, Enum enumMaskToLoad,
Boolean bProcessAsynchronous, Boolean bTrlBackgroundProcess)

at Quest.Toad.SqlServer.Trl.BaseSqlObjectScriptTrl`2.StartLoadObjects(Boolean
bProcessAsynchronous, ScriptOptions scriptOptions, Boolean
bTrlBackgroundProcess)

at Quest.Toad.SqlServer.Trl.BaseSqlObjectScriptTrl`2.get_Source()

at Quest.Toad.SqlServer.Trl.Views.ViewTrl.get_Source()

at
Quest.Toad.DatabaseBrowser.BrowserCallbackActions.GenerateCreate(StringBuilder
sql, TrlParser parser, ITrl table)

at Quest.Toad.DatabaseBrowser.BrowserCallbackActions.GenerateSql(Object sender,
ITrl[] trls, GenerateSqlType type)

at

Quest.Toad.DatabaseBrowser.BrowserCallbackActions.GenerateCreateStatementToEditor(Object
sender, ITrl[] trls)

Darren

image004.png


image001.png


#2

Same problem if you look at the Script tab of the object:

Darren
image005.png


#3

Same problem if you look at the Script tab of the object:

Darren
image001.png


#4

Same problem if you look at the Script tab of the object:

Darren
image003.png


#5

Yes, this is a known issue. We are making some significant changes in
this area and unfortunately it’s not as stable as we would like it to be
right now.

Igor.