Connecting to TM1 9.5.1 from VB.Net

Post Reply
chrisjdixon
Posts: 5
Joined: Tue Feb 15, 2011 11:52 am
OLAP Product: TM1
Version: 9.0
Excel Version: 2003

Connecting to TM1 9.5.1 from VB.Net

Post by chrisjdixon »

I am attempting to create a prototype VB.Net application using the TM1 API and have read Alan Kirk's excellent posting and the TM1 API "documentation", but am stll having issues withthe basics.

I am using Visual Studio 2008 (framework 3.5) and TM1 9.5.1. TM1 9.5.1 is not installed on the client that I am working on (as our current live version is 9.0) , but I do have a copy of the 9.5.1 bin folder, taken off a test machine

The following code runs without errors:

Code: Select all

        Dim objHostServer As TM1AdminServer
        Dim objServerCollection As TM1ServerInfoCollection
        Dim objServer As TM1Server

        ' connect to the server and retrieve a list of models
        objHostServer = New TM1AdminServer(strServer, strSSL)
        objServerCollection = objHostServer.Servers
        For Each objServer In objServerCollection
            MsgBox(objServer.Name)
        Next
But the admin server doesn't return any servers (objHostServer.Servers.Count = 0). There are currently 4 models running on the admin server.

Could anybody point me towards a likely cause of the problem, as currently I am looking in the following areas for possible causes and am likely to change things that don't need changing
  • admin server config file
    server config files
    SSL certificates
Any help would be greatly appreciated
chrisjdixon
Posts: 5
Joined: Tue Feb 15, 2011 11:52 am
OLAP Product: TM1
Version: 9.0
Excel Version: 2003

Re: Connecting to TM1 9.5.1 from VB.Net

Post by chrisjdixon »

I think that my problem is being caused because I copied the SSL certificate from another machine and they may be machine specific.

Once I have confirmed this I will post the result
gorendi
Posts: 1
Joined: Fri Mar 11, 2011 7:28 pm
OLAP Product: TM1
Version: 9.5.1
Excel Version: 2008

Re: Connecting to TM1 9.5.1 from VB.Net

Post by gorendi »

Guess I ran into the same problem and just driving crazy. Would be of great help if you could share your findings - if any. Thanks!
chrisjdixon
Posts: 5
Joined: Tue Feb 15, 2011 11:52 am
OLAP Product: TM1
Version: 9.0
Excel Version: 2003

Re: Connecting to TM1 9.5.1 from VB.Net

Post by chrisjdixon »

I didn't get any closer to narrowing down the cause of the problem. In the end I managed to get hold of a machine with TM1 9.5.1 installed to develop on. All was OK in this environment
Post Reply