MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Bad IL Format (.Net/Link)

  • To: mathgroup at
  • Subject: [mg99994] Bad IL Format (.Net/Link)
  • From: Joe Eddy <jceddy at>
  • Date: Thu, 21 May 2009 00:07:20 -0400 (EDT)

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?

  • Prev by Date: Mathematica in Research and Education - Liege and Delft
  • Next by Date: Re: How to resize elements in GraphicsGrid
  • Previous by thread: Mathematica in Research and Education - Liege and Delft
  • Next by thread: Re: Bad IL Format (.Net/Link)