Page 1 of 1

Connecting to TM1 9.5.1 from VB.Net

Posted: Thu Feb 17, 2011 11:28 am
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

Re: Connecting to TM1 9.5.1 from VB.Net

Posted: Fri Feb 18, 2011 9:40 am
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

Re: Connecting to TM1 9.5.1 from VB.Net

Posted: Fri Mar 11, 2011 7:43 pm
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!

Re: Connecting to TM1 9.5.1 from VB.Net

Posted: Mon Mar 14, 2011 8:29 am
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