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
 
 

Saturday, August 22, 2015

Linux: Unable to mount disk

I recently went from from windows 10 to Lunix Mint, and after the install, I cannot access my second HDD in Linux Mint.

It said something like "Unable to mount "

Error mounting /dev/sdb1 at /media/mrrame/New Volume Command-line
"mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sdb1" "/media/mrrame/New Volume "
exited with non-zero exit status 14: The disk contains an unclean file system (0, 0).  Metadata kept in Windows cache, refused to mount. Failed to mount ‘/dev/sdb1’: Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the ‘ro’ mount option.


  Obviously mounting in Read only option is not a viable solution, and few google searches after, this page had what i need. Apparently windows has a "Fast Startup Option" from Windows 8/10 which messes the disk.


from terminal, run the following command, replace sdb1 with your disk name

sudo ntfsfix /dev/sdb1