This project has moved. For the latest updates, please go here.

OpenPDCManager No Work

Nov 8, 2012 at 2:23 PM

I installed OpenPDC v1.5, and MS SQL Server R2 on Windows Server 2008 Standard SP1.

I have a problem with OpenPDCManager when I tried to run the application. I couldn't fix the problem reinstallation it even changing the version.

Any help would be appreciated.

Appeared the message below in ErrorLog.txt:

[11/3/2012 3:46:23 PM] (Inner Exception)Date and Time:         11/3/2012 3:46:23 PMMachine Name:          SRVXM62Machine IP:            ::1Machine OS:            Microsoft Windows NT 6.0.6001 Service Pack 1
Application Domain:    openPDCManager.exeAssembly Codebase:     c:/program files/openpdc/openpdcmanager.exeAssembly Full Name:    openPDCManager, Version=1.5.143.0, Culture=neutral, PublicKeyToken=nullAssembly Version:      1.5.143.0Assembly Build Date:   10/10/2012 11:13:36 PM.Net Runtime Version:  4.0.30319.235
Exception Source:      DynamicDataDisplayException Type:        System.ArgumentExceptionException Message:     Width and height cannot be negative.Exception Target Site: .ctor
---- Stack Trace ----   Microsoft.Research.DynamicDataDisplay.DataRect..ctor(xMin As Double, yMin As Double, width As Double, height As Double)       openPDCManager.exe: N 00140   Microsoft.Research.DynamicDataDisplay.DataRect.Create(xMin As Double, yMin As Double, xMax As Double, yMax As Double)       openPDCManager.exe: N 00091   openPDC.UI.UserControls.HomeUserControl.ComboBoxMeasurement_SelectionChanged(sender As Object, e As SelectionChangedEventArgs)       openPDCManager.exe: N 00650   System.Windows.Controls.SelectionChangedEventArgs.InvokeEventHandler(genericHandler As Delegate, genericTarget As Object)       openPDCManager.exe: N 00051   System.Windows.RoutedEventArgs.InvokeHandler(handler As Delegate, target As Object)       openPDCManager.exe: N 00040   System.Windows.RoutedEventHandlerInfo.InvokeHandler(target As Object, routedEventArgs As RoutedEventArgs)       openPDCManager.exe: N 00061   System.Windows.EventRoute.InvokeHandlersImpl(source As Object, args As RoutedEventArgs, reRaised As Boolean)       openPDCManager.exe: N 00429   System.Windows.UIElement.RaiseEventImpl(sender As DependencyObject, args As RoutedEventArgs)       openPDCManager.exe: N 00120   System.Windows.UIElement.RaiseEvent(e As RoutedEventArgs)       openPDCManager.exe: N 00022   System.Windows.Controls.ComboBox.OnSelectionChanged(e As SelectionChangedEventArgs)       openPDCManager.exe: N 00018   System.Windows.Controls.Primitives.Selector.InvokeSelectionChanged(unselectedItems As List`1, selectedItems As List`1)       openPDCManager.exe: N 00078   System.Windows.Controls.Primitives.SelectionChanger.End()       openPDCManager.exe: N 00222   System.Windows.Controls.Primitives.SelectionChanger.SelectJustThisItem(item As Object, assumeInItemsCollection As Boolean)       openPDCManager.exe: N 00284   System.Windows.Controls.Primitives.Selector.OnSelectedIndexChanged(d As DependencyObject, e As DependencyPropertyChangedEventArgs)       openPDCManager.exe: N 00244   System.Windows.DependencyObject.OnPropertyChanged(e As DependencyPropertyChangedEventArgs)       openPDCManager.exe: N 00075   System.Windows.FrameworkElement.OnPropertyChanged(e As DependencyPropertyChangedEventArgs)       openPDCManager.exe: N 00079   System.Windows.DependencyObject.NotifyPropertyChange(args As DependencyPropertyChangedEventArgs)       openPDCManager.exe: N 00059   System.Windows.DependencyObject.UpdateEffectiveValue(entryIndex As EntryIndex, dp As DependencyProperty, metadata As PropertyMetadata, oldEntry As EffectiveValueEntry, newEntry As EffectiveValueEntry&, coerceWithDeferredReference As Boolean, coerceWithCurrentValue As Boolean, operationType As OperationType)       openPDCManager.exe: N 01826   System.Windows.DependencyObject.SetValueCommon(dp As DependencyProperty, value As Object, metadata As PropertyMetadata, coerceWithDeferredReference As Boolean, coerceWithCurrentValue As Boolean, operationType As OperationType, isInternal As Boolean)       openPDCManager.exe: N 00746   System.Windows.DependencyObject.SetValue(dp As DependencyProperty, value As Object)       openPDCManager.exe: N 00052   openPDC.UI.UserControls.HomeUserControl.ComboBoxDevice_SelectionChanged(sender As Object, e As SelectionChangedEventArgs)       openPDCManager.exe: N 00830   System.Windows.Controls.SelectionChangedEventArgs.InvokeEventHandler(genericHandler As Delegate, genericTarget As Object)       openPDCManager.exe: N 00051   System.Windows.RoutedEventArgs.InvokeHandler(handler As Delegate, target As Object)       openPDCManager.exe: N 00040   System.Windows.RoutedEventHandlerInfo.InvokeHandler(target As Object, routedEventArgs As RoutedEventArgs)       openPDCManager.exe: N 00061   System.Windows.EventRoute.InvokeHandlersImpl(source As Object, args As RoutedEventArgs, reRaised As Boolean)       openPDCManager.exe: N 00429   System.Windows.UIElement.RaiseEventImpl(sender As DependencyObject, args As RoutedEventArgs)       openPDCManager.exe: N 00120   System.Windows.UIElement.RaiseEvent(e As RoutedEventArgs)       openPDCManager.exe: N 00022   System.Windows.Controls.ComboBox.OnSelectionChanged(e As SelectionChangedEventArgs)       openPDCManager.exe: N 00018   System.Windows.Controls.Primitives.Selector.InvokeSelectionChanged(unselectedItems As List`1, selectedItems As List`1)       openPDCManager.exe: N 00078   System.Windows.Controls.Primitives.SelectionChanger.End()       openPDCManager.exe: N 00222   System.Windows.Controls.Primitives.SelectionChanger.SelectJustThisItem(item As Object, assumeInItemsCollection As Boolean)       openPDCManager.exe: N 00284   System.Windows.Controls.Primitives.Selector.OnSelectedIndexChanged(d As DependencyObject, e As DependencyPropertyChangedEventArgs)       openPDCManager.exe: N 00244   System.Windows.DependencyObject.OnPropertyChanged(e As DependencyPropertyChangedEventArgs)       openPDCManager.exe: N 00075   System.Windows.FrameworkElement.OnPropertyChanged(e As DependencyPropertyChangedEventArgs)       openPDCManager.exe: N 00079   System.Windows.DependencyObject.NotifyPropertyChange(args As DependencyPropertyChangedEventArgs)       openPDCManager.exe: N 00059   System.Windows.DependencyObject.UpdateEffectiveValue(entryIndex As EntryIndex, dp As DependencyProperty, metadata As PropertyMetadata, oldEntry As EffectiveValueEntry, newEntry As EffectiveValueEntry&, coerceWithDeferredReference As Boolean, coerceWithCurrentValue As Boolean, operationType As OperationType)       openPDCManager.exe: N 01826   System.Windows.DependencyObject.SetValueCommon(dp As DependencyProperty, value As Object, metadata As PropertyMetadata, coerceWithDeferredReference As Boolean, coerceWithCurrentValue As Boolean, operationType As OperationType, isInternal As Boolean)       openPDCManager.exe: N 00746   System.Windows.DependencyObject.SetValue(dp As DependencyProperty, value As Object)       openPDCManager.exe: N 00052   openPDC.UI.UserControls.HomeUserControl.HomeUserControl_Loaded(sender As Object, e As RoutedEventArgs)       openPDCManager.exe: N 01915   System.Windows.RoutedEventHandlerInfo.InvokeHandler(target As Object, routedEventArgs As RoutedEventArgs)       openPDCManager.exe: N 00119   System.Windows.EventRoute.InvokeHandlersImpl(source As Object, args As RoutedEventArgs, reRaised As Boolean)       openPDCManager.exe: N 00429   System.Windows.UIElement.RaiseEventImpl(sender As DependencyObject, args As RoutedEventArgs)       openPDCManager.exe: N 00120   System.Windows.UIElement.RaiseEvent(e As RoutedEventArgs)       openPDCManager.exe: N 00022   System.Windows.BroadcastEventHelper.BroadcastEvent(root As DependencyObject, routedEvent As RoutedEvent)       openPDCManager.exe: N 00308   System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(root As Object)       openPDCManager.exe: N 00168   MS.Internal.LoadedOrUnloadedOperation.DoWork()       openPDCManager.exe: N 00021   System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()       openPDCManager.exe: N 00052   System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()       openPDCManager.exe: N 00045   System.Windows.Media.MediaContext.RenderMessageHandlerCore(resizedCompositionTarget As Object)       openPDCManager.exe: N 00137   System.Windows.Media.MediaContext.RenderMessageHandler(resizedCompositionTarget As Object)       openPDCManager.exe: N 00043   System.Windows.Threading.ExceptionWrapper.InternalRealCall(callback As Delegate, args As Object, numArgs As Int32)       openPDCManager.exe: N 00082   MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(source As Object, method As Delegate, args As Object, numArgs As Int32, catchHandler As Delegate)       openPDCManager.exe: N 00065   System.Windows.Threading.DispatcherOperation.InvokeImpl()       openPDCManager.exe: N 00140   System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(state As Object)       openPDCManager.exe: N 00055   System.Threading.ExecutionContext.runTryCode(userData As Object)       openPDCManager.exe: N 00080   System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(code As TryCode, backoutCode As CleanupCode, userData As Object)       openPDCManager.exe: N 00000   System.Threading.ExecutionContext.RunInternal(executionContext As ExecutionContext, callback As ContextCallback, state As Object)       openPDCManager.exe: N 00105   System.Threading.ExecutionContext.Run(executionContext As ExecutionContext, callback As ContextCallback, state As Object, ignoreSyncCtx As Boolean)       openPDCManager.exe: N 00125   System.Threading.ExecutionContext.Run(executionContext As ExecutionContext, callback As ContextCallback, state As Object)       openPDCManager.exe: N 00043   System.Windows.Threading.DispatcherOperation.Invoke()       openPDCManager.exe: N 00103   System.Windows.Threading.Dispatcher.ProcessQueue()       openPDCManager.exe: N 00349   System.Windows.Threading.Dispatcher.WndProcHook(hwnd As IntPtr, msg As Int32, wParam As IntPtr, lParam As IntPtr, handled As Boolean&)       openPDCManager.exe: N 00098   MS.Win32.HwndWrapper.WndProc(hwnd As IntPtr, msg As Int32, wParam As IntPtr, lParam As IntPtr, handled As Boolean&)       openPDCManager.exe: N 00189   MS.Win32.HwndSubclass.DispatcherCallbackOperation(o As Object)       openPDCManager.exe: N 00124   System.Windows.Threading.ExceptionWrapper.InternalRealCall(callback As Delegate, args As Object, numArgs As Int32)       openPDCManager.exe: N 00082   MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(source As Object, method As Delegate, args As Object, numArgs As Int32, catchHandler As Delegate)       openPDCManager.exe: N 00065   System.Windows.Threading.Dispatcher.InvokeImpl(priority As DispatcherPriority, timeout As TimeSpan, method As Delegate, args As Object, numArgs As Int32)       openPDCManager.exe: N 00179   MS.Win32.HwndSubclass.SubclassWndProc(hwnd As IntPtr, msg As Int32, wParam As IntPtr, lParam As IntPtr)       openPDCManager.exe: N 00259   MS.Win32.UnsafeNativeMethods.DispatchMessage(msg As MSG&)       openPDCManager.exe: N 00000   System.Windows.Threading.Dispatcher.PushFrameImpl(frame As DispatcherFrame)       openPDCManager.exe: N 00192   System.Windows.Threading.Dispatcher.PushFrame(frame As DispatcherFrame)       openPDCManager.exe: N 00072   System.Windows.Threading.Dispatcher.Run()       openPDCManager.exe: N 00075   System.Windows.Application.RunDispatcher(ignore As Object)       openPDCManager.exe: N 00022   System.Windows.Application.RunInternal(window As Window)       openPDCManager.exe: N 00110   System.Windows.Application.Run(window As Window)       openPDCManager.exe: N 00037   openPDCManager.App.Main()       openPDCManager.exe: N 00138

(Outer Exception)Date and Time:         11/3/2012 3:46:23 PMMachine Name:          SRVXM62Machine IP:            ::1Machine OS:            Microsoft Windows NT 6.0.6001 Service Pack 1
Application Domain:    openPDCManager.exeAssembly Codebase:     c:/program files/openpdc/openpdcmanager.exeAssembly Full Name:    openPDCManager, Version=1.5.143.0, Culture=neutral, PublicKeyToken=nullAssembly Version:      1.5.143.0Assembly Build Date:   10/10/2012 11:13:36 PM.Net Runtime Version:  4.0.30319.235
Exception Source:      Exception Type:        System.ExceptionException Message:     UnhandledException
---- Stack Trace ----

[11/3/2012 3:46:26 PM] Date and Time:         11/3/2012 3:46:26 PMMachine Name:          SRVXM62Machine IP:            ::1Machine OS:            Microsoft Windows NT 6.0.6001 Service Pack 1
Application Domain:    openPDC.exeAssembly Codebase:     c:/program files/openpdc/openpdc.exeAssembly Full Name:    openPDC, Version=1.5.143.0, Culture=neutral, PublicKeyToken=nullAssembly Version:      1.5.143.0Assembly Build Date:   10/10/2012 11:13:52 PM.Net Runtime Version:  4.0.30319.235
Exception Source:      System.ConfigurationException Type:        System.NullReferenceExceptionException Message:     Object reference not set to an instance of an object.Exception Target Site: Contains
---- Stack Trace ----   System.Configuration.ConfigurationPropertyCollection.Contains(name As String)       openPDC.exe: N 00074   System.Configuration.ConfigurationPropertyCollection.Add(property As ConfigurationProperty)       openPDC.exe: N 00018   TVA.Configuration.CategorizedSettingsSection.get_Item(name As String)       openPDC.exe: N 00172   TVA.Historian.MetadataProviders.RestWebServiceMetadataProvider.LoadSettings()       openPDC.exe: N 00087   TVA.Historian.MetadataProviders.MetadataProviderBase.Initialize()       openPDC.exe: N 00023   TVA.Adapters.AdapterLoader`1.OnAdapterLoaded(adapter As T)       openPDC.exe: N 00025   TVA.Adapters.AdapterLoader`1.Adapters_CollectionChanged(sender As Object, e As NotifyCollectionChangedEventArgs)       openPDC.exe: N 00142   System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(e As NotifyCollectionChangedEventArgs)       openPDC.exe: N 00081   System.Collections.ObjectModel.ObservableCollection`1.InsertItem(index As Int32, item As T)       openPDC.exe: N 00145   System.Collections.ObjectModel.Collection`1.Add(item As T)       openPDC.exe: N 00098   TVA.Adapters.AdapterLoader`1.ProcessAdapter(adapterType As Type)       openPDC.exe: N 00309

[11/3/2012 3:46:26 PM] Date and Time:         11/3/2012 3:46:26 PMMachine Name:          SRVXM62Machine IP:            ::1Machine OS:            Microsoft Windows NT 6.0.6001 Service Pack 1
Application Domain:    openPDC.exeAssembly Codebase:     c:/program files/openpdc/openpdc.exeAssembly Full Name:    openPDC, Version=1.5.143.0, Culture=neutral, PublicKeyToken=nullAssembly Version:      1.5.143.0Assembly Build Date:   10/10/2012 11:13:52 PM.Net Runtime Version:  4.0.30319.235
Exception Source:      System.ConfigurationException Type:        System.NullReferenceExceptionException Message:     Object reference not set to an instance of an object.Exception Target Site: Contains
---- Stack Trace ----   System.Configuration.ConfigurationPropertyCollection.Contains(name As String)       openPDC.exe: N 00074   System.Configuration.ConfigurationPropertyCollection.Add(property As ConfigurationProperty)       openPDC.exe: N 00018   TVA.Configuration.CategorizedSettingsSection.get_Item(name As String)       openPDC.exe: N 00172   TVA.Historian.MetadataProviders.RestWebServiceMetadataProvider.LoadSettings()       openPDC.exe: N 00087   TVA.Historian.MetadataProviders.MetadataProviderBase.Initialize()       openPDC.exe: N 00023   TVA.Adapters.AdapterLoader`1.OnAdapterLoaded(adapter As T)       openPDC.exe: N 00025   TVA.Adapters.AdapterLoader`1.Adapters_CollectionChanged(sender As Object, e As NotifyCollectionChangedEventArgs)       openPDC.exe: N 00142   System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(e As NotifyCollectionChangedEventArgs)       openPDC.exe: N 00081   System.Collections.ObjectModel.ObservableCollection`1.InsertItem(index As Int32, item As T)       openPDC.exe: N 00145   System.Collections.ObjectModel.Collection`1.Add(item As T)       openPDC.exe: N 00098   TVA.Adapters.AdapterLoader`1.ProcessAdapter(adapterType As Type)       openPDC.exe: N 00309

[11/3/2012 3:46:26 PM] Date and Time:         11/3/2012 3:46:26 PMMachine Name:          SRVXM62

Coordinator
Nov 12, 2012 at 2:59 PM

Hello itan_leon,

I believe you may be able to fix this problem by deleting the isolated storage used by the openPDC Manager. See this work item for more details.

http://openpdc.codeplex.com/workitem/10455

Thanks,
Stephen