The Unicenter Asset Portfolio Management (UAPM) application is a web site hosted by the Internet Information Service (IIS).
After making changes to settings for UAPM in IIS Manager, changing configuration settings in the UAPM Configurator, performing customizations within UAPM itself, or if you observe UAPM behaving in unexpected ways, you may be instructed to recycle the UAPM Cache Service and/or IIS.
From a command prompt, you can start and stop any service running on your server if you are logged in as a member of the local administrator's group.
The command to start a service is:
net start <Service Name>
To stop a service:
net stop <Service Name>
Service Names for UAPM-related services:
UFAMSTATESRV - this is the UAPM Cache Service
UAPMTOMCATSRV - this is the UAPM Tomcat Service
Service Names for IIS-related services used by UAPM:
This is the ASP.NET State Service. If you restart the IIS services, it is always a good idea to stop and restart this service as well.
To restart IIS, enter the following from a command prompt:
This will automatically attempt to stop and then restart the IIS services. The noforce option prevents IIS from restarting if other users are currently accessing web pages.
To stop IIS without waiting for other users to exit:
To start IIS manually after it has been stopped:
To get help for iisreset command line options:
You may also stop and start services using Computer Management.
To access Computer Management, right-click on My Computer and select Manage. In the Computer Management window that appears, expand Services and Applications, and select Services. This will display a list of all services defined to the operating system.
To stop or start a service, locate it in the list and double-click on it. A dialog box will be displayed with information about the service including such things as its service name (which is the name recognized by the net commands discussed above), its startup type (automatic, manual, or disabled), and it's current status (started or stopped).
To stop a service click the stop button.
To start a service click the start button.
Click OK and exit Computer Management by closing the window.
Any service with a startup type of disabled cannot be started until its startup type is changed to manual or automatic.
The UAPM related services are:
ASP.NET State Service
IIS Admin Service
UAPM Cache Service
UAPM Tomcat Service
When stopping the IIS Admin Service, you will be prompted to stop other services which depend on it. Select Yes to stop these dependent services. When you subsequently start the IIS Admin Service, these dependent services will also be automatically started.
Note that after restarting the UAPM Cache Service, you must wait for the UAPM metadata cache to completely reload into memory before attempting to open UAPM. Depending upon the amount of data in your cache and the speed of your system, this can take anywhere from a few seconds to several minutes.
The best way to determine if the UAPM cache has finished loading is to check its activity level in Task Manager.
From a command prompt, type taskmgr.
In Task Manager, select the Processes tab and scroll down until you locate the UAPM Cache Service in the list of running processes. Observe the percentage of CPU it is consuming.
While it is loading, it is not uncommon for the UAPM Cache Service to report 100% CPU usage. When you see the percentage of CPU used drop to 0% and remain there for a few seconds, the UAPM Cache Service has finished loading and it is safe to start UAPM.