The Vertica Forum recently got a makeover! Let us know what you think by filling out this short, anonymous survey.
Please take this survey to help us learn more about how you use third party tools. Your input is greatly appreciated!
How can I update ADO.NET Driver to version 23.3?

Hi,
in our Windows solution I updated the Vertica ADO.NET driver to version 23.3.0 using the nuget package.
Now I get errors running our tests:
The type initializer for 'Vertica.Data.VerticaClient.VerticaLogProperties' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object..
Apparently, the driver does not find/load the Vertica.Data.dll.config file.
According to documentation, the driver should create the config file when it is first used. However, it doesn't.
So I created it myself and located it in the same directory as Vertica.Data.dll, but the error still occurs.
Any idea what the problem migt be?
0
Answers
Ok, I got it working.
I had to create the Vertica.Data.dll.config by hand and add it to the project manually.
Moreover, it needed an additional line:
<add key="Logging.CheckedRegistrySettings" value="true" />