I get that problem (same error) when I have a mismached set of kix dll files in my path

example
I run some tests on a script using a network share that has all kix files on it but my local system has different versions of kix files in windows dir.