Friday, October 30, 2015

The type initializer for 'OracleInternal.MTS.DTCPSPEManager' threw an exception

We have a .net application using Oracle.ManagedDataAccess.dll and Oracle.ManagedDataAccessDTC.dll for db connection.

I was not able to figure out "The type initializer for 'OracleInternal.MTS.DTCPSPEManager' threw an exception" error, and lot of googling led to installing vc++ 2010 redistributable component.



Fix
1) Download and install Microsoft Visual C++ 2010 Redistributable Package (x64). Pick 32 or 64 bit according to your application
2) Reset IIS

Tuesday, October 20, 2015

Oracle Enterprise Manager: Secure connection failed Error code: ssl_error_weak_server_cert_key


When I launch Oracle EM, I kept getting this error


 

After lot of googling, found this solution

1) launch command prompt as administrator
2) Copy/Paste this command
certutil -setreg chain\minRSAPubKeyBitLength 512
 
 


And now, you have the option to continue