Page 1 of 1

.NET API/64 bit Server

Posted: Tue Jun 14, 2011 6:18 pm
by bradohare
Hello,

I was curious to see if anyone has had sucess leveraging the TM1 .NET API in a 64 bit environment. I'm currently running version 9.5.1 (build number, 9.5.10000.5424). I had intially developed an application locally on my machine (Windows XP) hitting our server that resides on a Windows 2008 64 bit server. This application worked as anticipated until I went to migrate the codebase to the server. Upon moving to the executable to the server, I received errors trying to do something as basic as logging in:

Dim objAdminServer As TM1AdminServer
Dim objTM1Server As TM1Server
objAdminServer = New TM1AdminServer("Server", "Cert")
objTM1Server = objAdminServer.Servers("tm1instance").LoginUsingCAMNamespace("namespace", "user", "password")

Once I get to this last line I receive the following error when running the EXE:

“A first chance exception of type ‘System.BadImageFormatException’ occurred in Applix.TM1.API.DLL.

I spoke with IBM and I pretty much was told I need to upgrade to 9.5.2, which is not an option at this point. After looking through the documentation I receive the impression that this should be supported and one would need to install the 32 bit client to get the API running.

Thanks,
Brad

Re: .NET API/64 bit Server

Posted: Tue Jun 14, 2011 6:35 pm
by PlanningDev
Im not an expert here on this but I believe you will need to install 32 bit client in order to have the 32 bit API code. Also, I know you said you are using .net but if you have any other applications built on the API check to see if they are compiled for 32 bit or 64 bit.

Re: .NET API/64 bit Server

Posted: Tue Jun 14, 2011 8:06 pm
by bradohare
Yea, I've installed the 32 bit version of the client/API (from the documentation I've read there's no such thing as the 64 bit version of the API).

I guess more than anything, I'm just curious if anyone has ever been sucessful in establishing connectivity from a 64 bit client using 9.5.1. I'm investigating a host of non-TM1 specifc related potential issues, however I would prefer not to spin my wheels if it's a known issue.