Performance Issue with N_CONNECT macro
Posted: Mon Feb 02, 2009 5:21 am
Hi,
I have a front-end which makes use of the N_CONNECT macro to log in to TM1.
I've been trying to debug some performance issues when the workbook loads and it appears as if this macro is taking about 13-14 seconds to complete:
Open "C:\test1.txt" For Output As #1
Print #1, Time
vTemp = Run("N_CONNECT", ParamServerName, ParamUsername, ParamPassword)
Print #1, Time
Print #1, "Return Value: " & vTemp
Close #1
Here's the output:
4:17:05 PM
4:17:18 PM
Return Value:
As you can see it has taken about 13 seconds and has completed without error (indicated by no return value).
Does anyone know why this could be taking so long?
Regards.
I have a front-end which makes use of the N_CONNECT macro to log in to TM1.
I've been trying to debug some performance issues when the workbook loads and it appears as if this macro is taking about 13-14 seconds to complete:
Open "C:\test1.txt" For Output As #1
Print #1, Time
vTemp = Run("N_CONNECT", ParamServerName, ParamUsername, ParamPassword)
Print #1, Time
Print #1, "Return Value: " & vTemp
Close #1
Here's the output:
4:17:05 PM
4:17:18 PM
Return Value:
As you can see it has taken about 13 seconds and has completed without error (indicated by no return value).
Does anyone know why this could be taking so long?
Regards.