User-426119323 posted
We are using asp.net mvc application to connecte SAP Hana database ussing Sap.Data.Hana.v4.5 dll version Version=2.4.171.0. This dll available on the system where we installed sap b1 client.
We are getting error at below line:
HanaConnection conn = new HanaConnection();
Could you please help us what causing this issue.
The type initializer for 'Sap.Data.Hana.HanaConnection' threw an exception
The specified module could not be found
Sap.Data.Hana.v4.5
at Sap.Data.Hana.HanaUnmanagedDll.LoadDll(String dllPath)
at Sap.Data.Hana.HanaUnmanagedDll..ctor()
at Sap.Data.Hana.HanaUnmanagedDll.get_Instance()
at Sap.Data.Hana.HanaConnection..cctor()