Tuesday 5 May 2015

Aras innovator low performance

Aras innovator performance is not good

Root cause 1 :Check are you closing Innovator connection or not.
If not close connection like this..

HttpServerConnection conn =
IomFactory.CreateHttpServerConnection( url, db, user, password );

Item login_result = conn.Login();
if( login_result.isError() )
throw new Exception( “Login failed” );
Innovator inn = IomFactory.CreateInnovator( conn );


To close connection
if(inn!=null)
{
conn.Logout();
}

You can find number of Active connections which are running in Innovator server using below steps..
Open Innovator server UI
Login ad Admin
In the top ribbon
Click on Tools
Admin
Licenses
License Manager

You will get new window
Click > green Search Icon
Now you will see all active connections..

If you want to close all connections
Go to Windows Services (services.msc)

Restart (W3SVC) : World Wide Web Publishing Service (IIS)
Now if  you check the connection count in Innovator, it should be 1

Other Root cause(s) : There would be multiple reasons for Aras innovator low performance, like your logic which has implemented to do some functionality or because of multiple conditions (like if and for loops) or because of server configuration or because of network