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