|
[Date Index]
[Thread Index]
[Author Index]
Using .NET/Link on 64-bit Windows Server 2008
- To: mathgroup at smc.vnet.net
- Subject: [mg124979] Using .NET/Link on 64-bit Windows Server 2008
- From: Joe Eddy <jceddy at gmail.com>
- Date: Wed, 15 Feb 2012 04:44:33 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
I am having a problem using Wolfram .NET/Link on a 64-bit Windows
Server 2008 system. I have an "AnyCPU" .NET program that uses .NET/
Link to start up and interface with the Math Kernel. It looks
like .NET/Link itself is working, but it is failing to start up a
kernel. Here is the exception:
System.Exception: System.TypeInitializationException: The type
initializer for 'Wolfram.NETLink.Internal.NativeLink' threw an
exception.
---> System.BadImageFormatException: An attempt was made to load a
program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at Wolfram.NETLink.Internal.WindowsMathLinkAPIProvider.MLBegin(IntPtr
zero)
at Wolfram.NETLink.Internal.NativeLink..cctor()
--- End of inner exception stack trace ---
at Wolfram.NETLink.Internal.NativeLink..ctor(String cmdLine)
at Wolfram.NETLink.MathKernel.Connect()
at Wolfram.NETLink.MathKernel.Compute()
at XXX.ExecuteCommand(InputValue ivValue, Int32 iKernelToUse)
at XXX.MathematicaSyntaxCheck(String strExpression)
at XXX.InvokeMethod(String methodName, String xmlMessage, Byte[]
objBytes)
We are running Mathematica 6.0, and I did notice that Mathematica is
installed in the "Program Files (x86)" folder. My assumption is
that .NET/Link is running in 64-bit mode and attempting to start a 32-
bit Kernel. Is there something I need to ask my IT department to
change to get this working properly?
Prev by Date:
Re: Running MathematicaScript in Mac Terminal
Next by Date:
Re: Running MathematicaScript in Mac Terminal
Previous by thread:
Re: question about NIntegrate
Next by thread:
Re: Using .NET/Link on 64-bit Windows Server 2008
|