DLM Automation crashes when run
Problem Event Name: CLR20r3
Problem Signature 01: RedGate.DLMAutomation.exe
Problem Signature 02: 2.0.32.1199
Problem Signature 03: f9dc7ad5
Problem Signature 04: mscorlib
Problem Signature 05: 4.7.2117.0
Problem Signature 06: 59cf513d
Problem Signature 07: 165d
Problem Signature 08: ca
Problem Signature 09: System.Windows.Markup.XamlParse
OS Version: 6.2.9200.2.0.0.272.7
Locale ID: 1033
Additional Information 1: 6d04
Additional Information 2: 6d0490a44eb8d1c1579148eaaaae3033
Additional Information 3: 5764
Additional Information 4: 5764f50261bcc31ebba0e54970aae0f3
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=190175
If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
I attempted an upgrade the first time around. Then I noticed and both versions of DLM Automation were installed. I uninstalled both, rebooted, and re-attempted to install version 2. It is still crashing. The error seems to be related to .NET. We have .NET 4.6 SDK installed. I don't know if the SDK versus the runtime makes a difference. The operating system is Windows Server 2012
Answers
However, with the latest version of DLM, now called SQL Change Automation you no longer need to install DLM Automation on your build agents in order to be able to run your cmdlets. The module will be downloaded from the PowerShell gallery
Would you be able to give it a try?
https://www.powershellgallery.com/packages/SqlChangeAutomation/3.1.3.3059
Lead Software Engineer | Red Gate
Website: www.productivecsharp.com
Twitter: @angella_andrea
Currently installed on server -
- Windows Server 2008 R2 SP1 Datacenter
- .NET Framework 4.6.1
- DLMAutomationSuite 1.4
Requirements are met for DLM 2 as per - https://documentation.red-gate.com/dlma2/requirements
To upgrade DLM from 1.4 to 2.0, I installed DLM 2.0.32.1199.
However as mentioned in the original post, DLM app crashes.
Also, after upgrade I tried running the PS cmdlet, it gave this error -
I uninstalled DLM1.4 completely and reinstalled DLM2.0, still get the same error.
Server event logs -