Invalid Parameters Passed into the Utility!
Required  parameters:
application DBID appid
dbid of the Master or Parent table dbid
Document Template Record ID# tpid
File Name fn
Template DBID tpdbid
Template Record ID# tpid
Master Table Query: (if not using msid) msqry
Check that you have either msid or msqry!