Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #8544
| From | Joe Eddy <jceddy@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Using .NET/Link on 64-bit Windows Server 2008 |
| Date | 2012-02-15 09:47 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jhfuve$sp0$1@smc.vnet.net> (permalink) |
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?
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
Using .NET/Link on 64-bit Windows Server 2008 Joe Eddy <jceddy@gmail.com> - 2012-02-15 09:47 +0000 Re: Using .NET/Link on 64-bit Windows Server 2008 Joe Eddy <jceddy@gmail.com> - 2012-02-17 11:26 +0000 Re: Using .NET/Link on 64-bit Windows Server Todd Gayley <tgayley@wolfram.com> - 2012-02-19 11:31 +0000
csiph-web