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

Installation problem

Sep 27, 2013 at 8:08 PM
Hello,
I am trying to install OpenHistorian 2.0, using MySql.

During the setup process I receive:

Checking if database openHistorian already exists.
It was not possible to load file or assembly 'MySql.Data, Version=6.3.6.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependecies.

Can someone help me?

Renan
Coordinator
Sep 27, 2013 at 8:10 PM
Hello RenanG,

Have you installed MySQL Connector/NET?

http://dev.mysql.com/downloads/connector/net/

Stephen
Sep 27, 2013 at 8:14 PM
I tryed to use SqlLite instead. It installed ok, but when I try to run openHistorianManager, it crashes:

The following information about the error was automatically captured:

• a screenshot was taken of the desktop at:
c:\program files\openhistorian\openHistorianManager.ErrorState.png
• an event was written to the application log
• details were written to a text log at:
LogFile


Detailed error information follows:

(Inner Exception)
Date and Time: 27/09/2013 17:11:44
Machine Name: RJ-RENAN
Machine IP: fe80::9065:63b7:4bc9:4185%13
Machine OS: Microsoft Windows NT 6.1.7601 Service Pack 1

Application Domain: openHistorianManager.exe
Assembly Codebase: c:/program files/openhistorian/openhistorianmanager.exe
Assembly Full Name: openHistorianManager, Version=2.0.8.0, Culture=neutral, PublicKeyToken=null
Assembly Version: 2.0.8.0
Assembly Build Date: 11/08/2013 22:42:52
.Net Runtime Version: 4.0.30319.18052

Exception Source: GSF.TimeSeries.UI
Exception Type: System.NullReferenceException
Exception Message: Referência de objeto não definida para uma instância de um objeto.
Exception Target Site: .ctor

---- Stack Trace ----
GSF.TimeSeries.UI.AlarmStatusQuery..ctor()
   openHistorianManager.exe: N 00044
GSF.TimeSeries.UI.AlarmMonitor..ctor(singleton As Boolean)
   openHistorianManager.exe: N 00377
openHistorianManager.MainWindow.MainWindow_Loaded(sender As Object, e As RoutedEventArgs)
   openHistorianManager.exe: N 01243
System.Windows.EventRoute.InvokeHandlersImpl(source As Object, args As RoutedEventArgs, reRaised As Boolean)
   openHistorianManager.exe: N 00623
System.Windows.UIElement.RaiseEventImpl(sender As DependencyObject, args As RoutedEventArgs)
   openHistorianManager.exe: N 00333
MS.Internal.FrameworkObject.OnLoaded(args As RoutedEventArgs)
   openHistorianManager.exe: N 00033
System.Windows.BroadcastEventHelper.BroadcastEvent(root As DependencyObject, routedEvent As RoutedEvent)
   openHistorianManager.exe: N 00411
System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(root As Object)
   openHistorianManager.exe: N 00327
System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
   openHistorianManager.exe: N 00046
System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   openHistorianManager.exe: N 00045
System.Windows.Media.MediaContext.RenderMessageHandlerCore(resizedCompositionTarget As Object)
   openHistorianManager.exe: N 00222
System.Windows.Media.MediaContext.RenderMessageHandler(resizedCompositionTarget As Object)
   openHistorianManager.exe: N 00046
System.Windows.Interop.HwndTarget.OnResize()
   openHistorianManager.exe: N 00540
System.Windows.Interop.HwndTarget.HandleMessage(msg As WindowMessage, wparam As IntPtr, lparam As IntPtr)
   openHistorianManager.exe: N 00759
System.Windows.Interop.HwndSource.HwndTargetFilterMessage(hwnd As IntPtr, msg As Int32, wParam As IntPtr, lParam As IntPtr, handled As Boolean&)
   openHistorianManager.exe: N 00090
MS.Win32.HwndWrapper.WndProc(hwnd As IntPtr, msg As Int32, wParam As IntPtr, lParam As IntPtr, handled As Boolean&)
   openHistorianManager.exe: N 00329
MS.Win32.HwndSubclass.DispatcherCallbackOperation(o As Object)
   openHistorianManager.exe: N 00127
System.Windows.Threading.ExceptionWrapper.InternalRealCall(callback As Delegate, args As Object, numArgs As Int32)
   openHistorianManager.exe: N 00093
MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(source As Object, method As Delegate, args As Object, numArgs As Int32, catchHandler As Delegate)
   openHistorianManager.exe: N 00070
System.Windows.Threading.Dispatcher.LegacyInvokeImpl(priority As DispatcherPriority, timeout As TimeSpan, method As Delegate, args As Object, numArgs As Int32)
   openHistorianManager.exe: N 00699
MS.Win32.HwndSubclass.SubclassWndProc(hwnd As IntPtr, msg As Int32, wParam As IntPtr, lParam As IntPtr)
   openHistorianManager.exe: N 00319

(Outer Exception)
Date and Time: 27/09/2013 17:11:44
Machine Name: RJ-RENAN
Machine IP: fe80::9065:63b7:4bc9:4185%13
Machine OS: Microsoft Windows NT 6.1.7601 Service Pack 1

Application Domain: openHistorianManager.exe
Assembly Codebase: c:/program files/openhistorian/openhistorianmanager.exe
Assembly Full Name: openHistorianManager, Version=2.0.8.0, Culture=neutral, PublicKeyToken=null
Assembly Version: 2.0.8.0
Assembly Build Date: 11/08/2013 22:42:52
.Net Runtime Version: 4.0.30319.18052

Exception Source:
Exception Type: System.Exception
Exception Message: UnhandledException

---- Stack Trace ----
Sep 27, 2013 at 9:15 PM
I had an old MySQL Connector .net installed instead.

The Data Provider String on the Configuration Setup Utility is configured as: AssemblyName={MySql.Data, Version=6.3.6.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d}; ConnectionType=MySql.Data.MySqlClient.MySqlConnection; AdapterType=MySql.Data.MySqlClient.MySqlDataAdapter

but there is no version 6.3.6.0 to download on http://dev.mysql.com/downloads/connector/net/, only version 6.3.9, or the newest one, 6.7.4.

Which one must I download and how Data Provider String must be updated?

Renan