I'm hoping someone here might have an insight on a weird problem I'm having. I'm using the TM1 C# API (Probably because I'm a masochist) and I'm having a problem getting a server object back from the Admin Server. When I open the admin server in Architect, it tells me there are three servers; for good measure, we'll call them Server1, Server2, and Server3. The three servers are running on the box as services, and everything else seems to be working fine, but this piece of code throws an error about objects being set to null:
Code: Select all
//Connect to Admin Server
TM1AdminServer objAdminServer = new TM1AdminServer(strAdminServer, strServerCert);
//Connect to TM1 Server
TM1Server objServer = objAdminServer.Servers[strTM1Server].Login(strUserName, strPassword); //Error on this line
Going to try restarting the whole server overnight...see if that does anything.