Hello,
I have a workbook to enable users to log into TM1 using Integrated Login. There is a code to run N_Disconnect when we close this workbook.I find that eversince we used Integrated Login, closing the workbook causes the workbook to hang and crash.Is there a proper way to disconnect if we use Integrated Login?
N_Disconnect slow for Integrated Login
- jameswebber
- Community Contributor
- Posts: 188
- Joined: Sun Nov 21, 2010 8:00 pm
- OLAP Product: Cognos Express 10
- Version: CE 10.1.1
- Excel Version: 2010
- Location: Wellington, New Zealand
- Contact:
Re: N_Disconnect slow for Integrated Login
I have a similar issue.
I'm using CAM AD security
IntegratedSecurityMode = 5
I'm using to connect to cxmd via the front end spreadsheet.
If the user opens server explorer then drills downs to views/cubes etc.
If the user then logs out of CE using the excel front end which my VBA calls
The get a"error accessing user information" pop up for each level of the server explorer the user is drilled into.
See below:
Anyone know of a workaround for this?
I tried
as per http://www.tm1forum.com/viewtopic.php?f=3&t=1150
I'm using CAM AD security
IntegratedSecurityMode = 5
I'm using
Code: Select all
NET_CONN
If the user opens server explorer then drills downs to views/cubes etc.
If the user then logs out of CE using the excel front end which my VBA calls
Code: Select all
Run ("N_DISCONNECT")
See below:
Anyone know of a workaround for this?
I tried
Code: Select all
M_CLEAR
- jameswebber
- Community Contributor
- Posts: 188
- Joined: Sun Nov 21, 2010 8:00 pm
- OLAP Product: Cognos Express 10
- Version: CE 10.1.1
- Excel Version: 2010
- Location: Wellington, New Zealand
- Contact:
Re: N_Disconnect slow for Integrated Login
Guys I have found that the issue occurs when users have cubes or views open in server explorer and try to log off via the front end running
Run ("N_DISCONNECT")
Unfortunately my users want the sheet to close them out of server exploer
I tried
' Opens server exlorer then closes (just incase in was open for fix CE-44)
Application.Run "TM1StartOrionWithAutomation"
CreateObject("WScript.Shell").SendKeys "%{F4}", True
Run ("N_DISCONNECT")
But this doesn't work in citrix
I was going to use GetObject to find out if Sever explorer is open, anyone know the application name for server explorer?
Run ("N_DISCONNECT")
Unfortunately my users want the sheet to close them out of server exploer
I tried
' Opens server exlorer then closes (just incase in was open for fix CE-44)
Application.Run "TM1StartOrionWithAutomation"
CreateObject("WScript.Shell").SendKeys "%{F4}", True
Run ("N_DISCONNECT")
But this doesn't work in citrix
I was going to use GetObject to find out if Sever explorer is open, anyone know the application name for server explorer?