Udostępnij za pośrednictwem


Application Registry Service administration (SharePoint Server 2010)

 

Applies to: SharePoint Server 2010, SharePoint Foundation 2010

Summary: To improve performance, administrators can turn off the Application Registry Service if it is not needed in a SharePoint Server 2010 deployment.

The Application Registry Service is a shared service in SharePoint Server 2010 to store application definitions that are compatible with the Office SharePoint Server 2007 Business Data Catalog object model. If you did a version to version upgrade from Office SharePoint Server 2007 to SharePoint Server 2010 or you did a standalone installation of SharePoint Server 2010, the service is turned on by default. If you are not upgrading solutions from Office SharePoint Server 2007 to SharePoint Server 2010, you can turn the service off to improve performance. This article describes how to turn off and turn on the Application Registry Service by using Central Administration or Windows PowerShell.

In this article:

  • The Application Registry Service

  • Stopping Application Registry Service

  • Starting Application Registry Service

The Application Registry Service

The Application Registry Service is a shared service in SharePoint Server 2010 to store application definitions that define how to connect to external data as they are defined in Office SharePoint Server 2007. In SharePoint Server 2010, a new service, the Business Data Connectivity service replaces the Office SharePoint Server 2007 Business Data Catalog to integrate external data into solutions. However, the object model of the Business Data Connectivity service is not backward compatible with the object model that the Business Data Catalog uses. So the Application Registry Service is created to store application definitions that are compatible with the Business Data Catalog object model. Because the Application Registry Service supports the object model of the Business Data Catalog, the Application Registry Service can support solutions that depend on the Business Data Catalog object model. The Application Registry service can support applications originally created in Office SharePoint Server 2007 that include one or more of the following elements:

  • Custom Web Parts

  • Custom code

  • Searching

All of these depend on the object model or metadata schema of the Business Data Catalog and will continue to work in SharePoint Server 2010 by using the Application Registry Service.

The Web Parts that were provided by Office SharePoint Server 2007, such as the Business Data List Web Part and the Business Data Association Web Part, are upgraded in SharePoint Server 2010 to run against the Business Data Connectivity service. Custom Web Parts in an Office SharePoint Server 2007 solution, however, will run against the Application Registry Service after upgrade. For more information, see Web Parts.

Important

Note that the Application Registry Service is deprecated and exists only to support the backward compatibility of solutions that are based on the Office SharePoint Server 2007 Business Data Catalog. Do not build new solutions that depend on the deprecated Application Registry Service. Build new solutions on the Business Data Connectivity service in SharePoint Server 2010.

Stopping Application Registry Service

If you are not upgrading solutions that are based on the Office SharePoint Server 2007 Business Data Catalog to SharePoint Server 2010, you can turn off the Application Registry Service to save resources and simplify server farm management. You can stop the Application Registry Service by using Central Administration or Windows PowerShell 2.0.

To stop Application Registry Service by using Central Administration

  1. Verify that the user account that you are using to perform this procedure is a member of the Farm Administrators SharePoint group.

  2. On the SharePoint Central Administration Web site, click System Settings.

  3. On the System Settings page, in the Servers section, click Manage services on server.

  4. To change the server on which you want to stop the Application Registry Service, on the Server menu, click Change Server, and then click the server name that you want.

    Note

    By default, only configurable services are displayed. To view all services, on the View menu, click All.

  5. To stop the Application Registry Service, click Stop in the Action column of the service.

  6. Click OK to stop the service.

To stop Application Registry Service by using Windows PowerShell

  1. Verify that you meet the following minimum requirements: See Add-SPShellAdmin.

  2. On the Start menu, click Microsoft SharePoint 2010 Products.

  3. Click SharePoint 2010 Management Shell.

  4. At the Windows PowerShell command prompt, type the following command:

    Stop-SPServiceInstance -Identity 
    <ServiceGUID>
    

    Where <ServiceGUID> is the GUID of the Application Registry Service. If you do not know the service GUID, you can retrieve a list of all services in the farm together with their GUIDs by using the Get-SPServiceInstance cmdlet.

For more information, see Stop-SPServiceInstance.

Note

We recommend that you use Windows PowerShell when performing command-line administrative tasks. The Stsadm command-line tool has been deprecated, but is included to support compatibility with previous product versions.

Starting Application Registry Service

Once you stopped the Application Registry Service and you want to turn it on again, you can restart it by using Central Administration or Windows PowerShell 2.0.

To start Application Registry Service by using Central Administration

  1. Verify that the user account that you are using to perform this procedure is a member of the Farm Administrators SharePoint group.

  2. On the SharePoint Central Administration Web site, click System Settings.

  3. On the System Settings page, in the Servers section, click Manage services on server.

  4. To change the server on which you want to start the Application Registry Service, on the Server menu, click Change Server, and then click the server name that you want.

    Note

    By default, only configurable services are displayed. To view all services, on the View menu, click All.

  5. To start the Application Registry Service, click Start in the Action column of the service.

  6. Click OK to start the service.

To start Application Registry Service by using Windows PowerShell

  1. Verify that you meet the following minimum requirements: See Add-SPShellAdmin.

  2. On the Start menu, click Microsoft SharePoint 2010 Products.

  3. Click SharePoint 2010 Management Shell.

  4. At the Windows PowerShell command prompt, type the following command:

    Start-SPServiceInstance -Identity 
    <ServiceGUID>
    

    Where <ServiceGUID> is the GUID of the Application Registry Service. If you do not know the service GUID, you can retrieve a list of all services in the farm together with their GUIDs by using the Get-SPServiceInstance cmdlet.

For more information, see Start-SPServiceInstance.

Note

We recommend that you use Windows PowerShell when performing command-line administrative tasks. The Stsadm command-line tool has been deprecated, but is included to support compatibility with previous product versions.

See Also

Concepts

Plan to upgrade to Business Connectivity Services (SharePoint Server 2010)

Other Resources

Resource Center: Operations and Manageability for SharePoint Server 2010