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

Activity overview

Latest activity by DatabaseOperations

DLM Automation 2.1.3.2175 - PS cmdlet error
All DLM cmdlets error out run during first run. What needs to be done to make the cmdlet run successfully the first time?Step 1 - PS> Register-DlmSerialNumber 111-111-111111-1111Register-DlmSerialN...
2 followers 3 comments 0 votes
I get the same error as well. Currently installed on server -  - Windows Server 2008 R2 SP1 Datacenter - Windows PowerShell 3.0 - .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.  Install finished successfully, server was restarted, However as mentioned in the original post, DLM app crashes. Also, after upgrade I tried running the PS cmdlet, it gave this error - The term 'Register-DlmSerialNumber' is not recognized as the name of a cmdlet, function, script file, or operable program. I uninstalled DLM1.4 completely and reinstalled DLM2.0, still get the same error. Server event logs  -  ---------------------- Application: RedGate.DLMAutomation.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.IO.FileNotFoundException    at System.IO.__Error.WinIOError(Int32, System.String)    at System.IO.FileStream.Init(System.String, System.IO.FileMode, System.IO.FileAccess, Int32, Boolean, System.IO.FileShare, Int32, System.IO.FileOptions, SECURITY_ATTRIBUTES, System.String, Boolean, Boolean, Boolean)    at System.IO.FileStream..ctor(System.String, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare)    at MS.Internal.AppModel.SiteOfOriginPart.HandleFileSource(Boolean)    at MS.Internal.AppModel.SiteOfOriginPart.GetStreamAndSetContentType(Boolean)    at System.IO.Packaging.PackagePart.GetStream(System.IO.FileMode, System.IO.FileAccess)    at System.IO.Packaging.PackWebResponse+CachedResponse.GetResponseStream()    at System.IO.Packaging.PackWebResponse.get_ContentType()    at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(System.Uri, System.IO.Stream, System.Windows.Media.Imaging.BitmapCacheOption, System.Guid ByRef, Boolean ByRef, System.IO.Stream ByRef, System.IO.UnmanagedMemoryStream ByRef, Microsoft.Win32.SafeHandles.SafeFileHandle ByRef)    at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(System.Uri, System.Uri, System.IO.Stream, System.Windows.Media.Imaging.BitmapCreateOptions, System.Windows.Media.Imaging.BitmapCacheOption, System.Net.Cache.RequestCachePolicy, Boolean)    at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(System.Uri, System.Uri, System.IO.Stream, System.Windows.Media.Imaging.BitmapCreateOptions, System.Windows.Media.Imaging.BitmapCacheOption, System.Net.Cache.RequestCachePolicy)    at System.Windows.Media.ImageSourceConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext, System.Globalization.CultureInfo, System.Object)    at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(System.Windows.Markup.MarkupExtension, System.IServiceProvider) Exception Info: System.Windows.Markup.XamlParseException    at System.Windows.Markup.XamlReader.RewrapException(System.Exception, System.Xaml.IXamlLineInfo, System.Uri)    at System.Windows.Markup.WpfXamlLoader.Load(System.Xaml.XamlReader, System.Xaml.IXamlObjectWriterFactory, Boolean, System.Object, System.Xaml.XamlObjectWriterSettings, System.Uri)    at System.Windows.Markup.WpfXamlLoader.LoadBaml(System.Xaml.XamlReader, Boolean, System.Object, System.Xaml.Permissions.XamlAccessLevel, System.Uri)    at System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream, System.Windows.Markup.ParserContext, System.Object, Boolean)    at RedGate.DLMAutomation.App.OnStartup(System.Windows.StartupEventArgs)    at System.Windows.Application.<.ctor>b__1_0(System.Object)    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)    at System.Windows.Threading.DispatcherOperation.InvokeImpl()    at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)    at System.Windows.Threading.DispatcherOperation.Invoke()    at System.Windows.Threading.Dispatcher.ProcessQueue()    at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)    at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)    at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)    at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)    at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)    at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)    at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)    at System.Windows.Application.RunDispatcher(System.Object)    at System.Windows.Application.RunInternal(System.Windows.Window)    at RedGate.DLMAutomation.App.Main() / comments
I get the same error as well.Currently installed on server - - Windows Server 2008 R2 SP1 Datacenter- Windows PowerShell 3.0- .NET Framework 4.6.1- DLMAutomationSuite 1.4Requirements are met for DL...
0 votes