From: Stephane on
Hi,

I'm using .NET builder to put MatLab function in an application. The matlab stand alone are installed on the PC. This works on 4 pc but on the 5th I get this error.

System.TypeInitializationException: The type initializer for 'SomeName' threw an exception. ---> System.ApplicationException: The MCR instance could not be initialized at MathWorks.MATLAB.NET.Utility.MWMCR..ctor(String componentName, String rootData, Byte[] publicEncryptionKey, Byte[] sessionEncryptionKey, String[] matlabPathEntries, String[] classPathEntries, String[] libPathEntries, String[] mcrApplicationOptions, String[] mcrRuntimeOptions, String prefDir, String[] mcrSetWarningState, String componentPath, Boolean isLibrary)

Does nayone know what could cause this?
Where I could search to find out why this is hapenning?

Thanks!