Hello,
I’m testing this program in detail, and 1 off the main requirements is to make connection towards SAP HANA DB
In my vb.net tool it’s working ok, but when I create the same connection in a Wisej web application I receive an error
>> An exception of type ‘System.TypeInitializationException’ occurred in Sap.Data.Hana.v4.5.dll but was not handled in user code
the application hangs/stops on the line “Dim MyConn As New Sap.Data.Hana.HanaConnection(SAPConnStr)” with the above error.
I think (I’m sure) it has something todo with 32bit/64bit as for sure the application has to run in 64bit for SAP HANA connection, I have test the tool in 64bit and it open with a lot of errors (see attachment). so please confirm Wisej is only working in 32bit mode. is their a solution to run Wisej also in 64bit?
Regards,
Bjorn
Hello,
thanks for your reply, I’ve test your proposal and now it’s working perfectly +++
thank you very much you’ve made my day.
regards,
Bjorn
Hi Bjorn,
Once you get error 0x8007000B and message Could not lod file or assembly ‘<assembly_name>’ or one of its dependencies. An attempt was made to load a program with an incorrect format. it’s a 32/64 bit issue for sure.
I could reproduce the issue on an ordinary Wisej project (in fact the MDIExample.VB I attached yesterday on another thread).
So to solve the issue you should check the check box referred above.
HTH
Please login first to submit.