2

I was trying to create a Berkeley DB database from F#. So I was using libdb_dotnet51.dll ,libdb_csharp51.dll, libdb51.dll .

but the statement -

env = DatabaseEnvironment.Open("Datababase_name",new DatabaseEnvironmentconfig())

is throwing an unhandled exception of type 'System.TypeInitializationException' occurred in libdb_dotnet51.dll Additional information: The type initializer for 'BerkeleyDB.Internal.libdb_csharpPINVOKE' threw an exception.

I have also added the dll path to the path environment variable!

how to resolve the issue.

Mark Seemann
  • 225,310
  • 48
  • 427
  • 736
anushri
  • 67
  • 5

0 Answers0