Issues with the installation
Posted: Thu 26 Sep 2019 19:15
Hi.
I am trying to install Dot Connect for DB2 trial version for a .Net Core 2.2 proof-of-concept web API application. Per the help online, I need to add the references to Devart.Data, Devart.Data.DB2 and Devart.Data.DB2.EFCore assemblies from my local Devart/dotConnect/DB2/Entity/EFCore2 folder. The folder has only one assembly: Devart.Data.DB2.Entity.EFCore.dll. The other two are missing.
Also, now everytime I start my VS 2019, I see a window with this message: "The Devart.Data.DB2.Vs.DB2DataProviderPackage package did not load correctly". It message also suggests that I look at the ActivityLog.xml file. Here are the content of the file:
CreateInstance failed for package [Devart.Data.DB2.Vs.DB2DataProviderPackage]Source: 'mscorlib' Description: Could not load file or assembly 'Devart.Data.DB2.Vs, Version=2.4.838.0, Culture=neutral, PublicKeyToken=09af7300eec23701' or one of its dependencies. The system cannot find the file specified. System.IO.FileNotFoundException: Could not load file or assembly 'Devart.Data.DB2.Vs, Version=2.4.838.0, Culture=neutral, PublicKeyToken=09af7300eec23701' or one of its dependencies. The system cannot find the file specified. File name: 'Devart.Data.DB2.Vs, Version=2.4.838.0, Culture=neutral, PublicKeyToken=09af7300eec23701' at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Activator.CreateInstance(String assemblyString, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark) at System.Activator.CreateInstance(String assemblyName, String typeName) at System.AppDomain.CreateInstance(String assemblyName, String typeName) WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
One last thing - I have run the dcdb2 setup program a few times already to fix the possible broken installation. Why does it say that another version of the library is already installed? I would expect the setup program to identify that the installed version and the current version are same and should give me an option to uninstall or repair the installation, like other well-behaved installation programs do.
My plan was to evaluate the library and possibly recommend it to the rest of the team after working with it. So far, I have not been able to get it to install properly. A bit disappointing!
Your help is appreciated.
I am trying to install Dot Connect for DB2 trial version for a .Net Core 2.2 proof-of-concept web API application. Per the help online, I need to add the references to Devart.Data, Devart.Data.DB2 and Devart.Data.DB2.EFCore assemblies from my local Devart/dotConnect/DB2/Entity/EFCore2 folder. The folder has only one assembly: Devart.Data.DB2.Entity.EFCore.dll. The other two are missing.
Also, now everytime I start my VS 2019, I see a window with this message: "The Devart.Data.DB2.Vs.DB2DataProviderPackage package did not load correctly". It message also suggests that I look at the ActivityLog.xml file. Here are the content of the file:
CreateInstance failed for package [Devart.Data.DB2.Vs.DB2DataProviderPackage]Source: 'mscorlib' Description: Could not load file or assembly 'Devart.Data.DB2.Vs, Version=2.4.838.0, Culture=neutral, PublicKeyToken=09af7300eec23701' or one of its dependencies. The system cannot find the file specified. System.IO.FileNotFoundException: Could not load file or assembly 'Devart.Data.DB2.Vs, Version=2.4.838.0, Culture=neutral, PublicKeyToken=09af7300eec23701' or one of its dependencies. The system cannot find the file specified. File name: 'Devart.Data.DB2.Vs, Version=2.4.838.0, Culture=neutral, PublicKeyToken=09af7300eec23701' at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Activator.CreateInstance(String assemblyString, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark) at System.Activator.CreateInstance(String assemblyName, String typeName) at System.AppDomain.CreateInstance(String assemblyName, String typeName) WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
One last thing - I have run the dcdb2 setup program a few times already to fix the possible broken installation. Why does it say that another version of the library is already installed? I would expect the setup program to identify that the installed version and the current version are same and should give me an option to uninstall or repair the installation, like other well-behaved installation programs do.
My plan was to evaluate the library and possibly recommend it to the rest of the team after working with it. So far, I have not been able to get it to install properly. A bit disappointing!
Your help is appreciated.