[Date Index] [Thread Index] [Author Index]
Bad IL Format (.Net/Link)
Hey everyone...I am having an intermittent problem with .Net/Link, and was wondering if any of you have any ideas. One in a while when I try to compute a string, I get this error: System.Exception: System.BadImageFormatException: Bad IL format. at Wolfram.NETLink.Internal.NativeLink.getDefaultLaunchString() at Wolfram.NETLink.Internal.NativeLink..ctor(String cmdLine) at Wolfram.NETLink.MathKernel.Connect() at Wolfram.NETLink.MathKernel.Compute() at Wolfram.NETLink.MathKernel.Compute(String input) It happens once in a blue moon, but I don't seem to be able to recover from the error and have to completely restart my application to get it working once again (simply closing out the MathKernel and creating a new one doesn't seem to do it...the new MathKernel will throw the same error). Does anyone have an idea of what might be causing this exception and/or what I can do to avoid it?