SQLDoc.exe terminated with the exit code 70

gemugemu Posts: 13 New member
edited March 11, 2019 11:37PM in SQL Doc

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
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?



Sign In or Register to comment.