How can we help you today? How can we help you today?

SQLDoc.exe terminated with the exit code 70

Hi,

I get following in my logs:
New-DatabaseDocumentation : SQLDoc.exe terminated with the exit code 70: An unhandled exception occurred.
See the log information above for more details.
At F:\redgateScripts\createPackageFromFiles_v1.1.ps1:70 char:41
+ ... tedSchema | New-DatabaseDocumentation @temporaryConnection -FilterPat ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (RedGate.Version...xistingDatabase:ExistingDatabase) [New-DatabaseDocument
   ation], TerminatingException
    + FullyQualifiedErrorId : AnUnhandledExceptionOccurred,RedGate.Versioning.Automation.PowerShell.Commands.NewDataba
   seDocumentationCommand
I'm basically just executing:
if ($includeDocs) {
#build the documentation
$documentation = $validatedSchema | New-DatabaseDocumentation @temporaryConnection -FilterPath $filter -SQLCompareOptions $Options
#and add it to the arguments for the packaging process
$dlmDatabasePackageArgs += @{'Documentation' = $documentation}
}
all 3 variables have been used successfully in the Invoke-DatabaseBuild command 2 lines earlier.

Any idea whats going on?

gemu
0

Comments

1 comment

  • Sergio R
    I suspect this has to do with the schema that you are using, I will contact you directly to troubleshoot this further.
    Sergio R
    0

Add comment

Please sign in to leave a comment.