Page 1 of 1

tm1 web not working for some users

Posted: Mon May 12, 2014 8:12 am
by stingo
Hi,

I am pretty new on tm1web, I have this issue.
I'm running a server in 10.1
I have a preexisting tm1web installation running.
I created a server in my dev environment, and everything works fine both back end and front end.
I moved the application to test server (different tm1web installation) and while back end everything works fine, front end, some users are experiencing issues like:
the rights are wrong on the web forms (sometimes they can see too many elements on a dimension, sometimes they see nothing)
The forms are not opening and clicking buttons give them an error.

Some infos:

the only difference I see between the 2 servers is that Dev has no integrated login while Test has.
The users are defined in the test server as uniqueID = user@domain and it is possible to log in back end so the accounts should be fine.
The test and the live server share the same server/iis while dev is in a separate instance
the tm1 instance was preexisting but it has been revamped completely. to install the new on, the old data has been deleted, the new one installed, iis and service have been switch off and on.
the issue seems to appear to old users while new accounts seems to be perfectly working.

EDIT: it seems that stopping the live one is removing the issues... not that it is a reliable fix..

is someone having some suggestions?

Re: tm1 web not working for some users

Posted: Mon May 12, 2014 12:27 pm
by jim wood
How did you move the application? Did you compile the active forms / websheets with the new server name? When it comes to anything based in Excel it isn't as easy as just moving them.

Re: tm1 web not working for some users

Posted: Mon May 12, 2014 5:06 pm
by stingo
jim wood wrote:How did you move the application? Did you compile the active forms / websheets with the new server name? When it comes to anything based in Excel it isn't as easy as just moving them.

I found the bug and actually it is related to this also if it is not this.

The problem is that the forms were automatically finding the server they were based on the TM1user formula (I have 3 environment, dev, test and prod and they automatically detect which one is opened based on the retrieval of the user).

Apparently in the 10.1 web the tm1user function opens the server it is related to, this means that when I opened the forms in the test environment, it automatically was applying the rights for the live server.

resuming.

server in the forms were dynamically declared like

IF (tm1user(live)<>"", live, IF (tm1user(test)<>"",test....

this worked everywhere except in TM1web as the tm1web opened every single server in the form.

Hope this will help someone else.

Re: tm1 web not working for some users

Posted: Mon May 12, 2014 5:13 pm
by declanr
This has been mentioned before, in 10.1 (not tested in 10.2) if a user has the same credentials in multiple services they will be logged into all those that come alphabetically before the one they signed into for tm1 web... something along those lines anyway.