Microsoft KB Archive/830189

= Exchange Server 2003 computer cannot bring the Microsoft Search resource online =

Article ID: 830189

Article Last Modified on 10/25/2007

-

APPLIES TO


 * Microsoft Exchange Server 2003 Enterprise Edition

-





For a Microsoft Exchange 2000 Server version of this article, see 282122.

Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
On a Microsoft Exchange Server 2003 computer that is in a clustered environment, you may experience the following symptoms:  You receive an error message that indicates that the server cannot bring the Microsoft Search (MSSearch) resource online. The MSSearch resource instance appears as Failed in the Cluster Administrator utility. An event with a description that is similar to the following is logged in the system log of Event Viewer:

The server threw an exception.





RESOLUTION
Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To resolve this issue, follow these steps:  If the server cluster is an Active/Active cluster configuration, move the affected Exchange virtual server to a cluster node that is not running any other Exchange virtual servers, and then perform the remaining steps on this cluster node.

If the server cluster is an Active/Passive cluster configuration, perform the remaining steps on the Active cluster node. Delete the failed MSSearch resource in the affected virtual server, if the MSSearch resource exists.</li> Delete the MSSearch program. To do so: <ol style="list-style-type: lower-alpha;">  Copy the following code to a new text file, and then save the file as Deleteapp.vbs.

Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. Sub Usage WScript.Echo &quot;Microsoft Search Version 2.0&quot; WScript.Echo &quot;Deletes an Application&quot; WScript.Echo WScript.Echo &quot;Usage: Deleteapp.vbs Application&quot; WScript.Echo end Sub

Sub Main

if WScript.Arguments.Count = 1 then if WScript.Arguments(0) = &quot;/?&quot; or WScript.Arguments(0) = &quot;-?&quot; then Usage WScript.Quit(1) end if   end if

if WScript.Arguments.Count < 1 then Usage WScript.Quit(1) end if

dim applicationName applicationName = WScript.arguments(0)

WScript.echo &quot;Deleting Search Application &quot; & applicationName Set objHost = WScript.CreateObject(&quot;MSSearch.Admin&quot;)

'Delete the application objHost.Applications.Remove(applicationName)

End Sub

call Main </li> Start the Cluster Administrator utility, right-click the Network Name resource that is associated with the affected Exchange virtual server, and then click Properties.</li> Click the Parameters tab, and then confirm that the name of the Exchange virtual server that has the failed MSSearch resource appears in the Name box.

Note In the following steps, the virtual server named   is used as an example to represent the affected virtual server.</li> Click Cancel.</li> Start a command prompt, change to the folder that contains the Deleteapp.vbs file that you created, and type the following command where  is the name of the Exchange virtual server that you confirmed in step c, and then press ENTER:

cscript deleteapp.vbs ExchangeServer_ 

If you receive the following message when you press ENTER, the MSSearch program may not exist:

The specified object cannot be found. Specify the name of an existing object.

Typically, this behavior occurs if the program has been removed or if it has not been created. If you receive this message, you can safely ignore it only if the following registry keys do not exist:

These registry keys should be deleted automatically by the Deleteapp.vbs script. However, sometimes if the script is not successful, you must remove them manually by using Registry Editor. Steps 4 through 7 of this procedure describe how to use Registry Editor to delete one of the keys that are not removed by Deleteapp.vbs. Use the same steps to delete the five registry keys that are listed in this step.</li></ol> </li> Click Start, click Run, type regedit in the Open box, and then click OK.</li> Locate the following registry subkey:

</li> Under the Databases registry subkey, export and then delete all ExchangeServer_  registry keys, where   is the name of the Exchange virtual server that you noted in step c earlier in this article. For example, export and then delete ExchangeServer_ .</li> Stop and then restart the Microsoft Search (MSSEARCH) service. To do this, type the following commands at a command prompt, and press ENTER after each command:

'''net stop mssearch

net start mssearch'''

</li> In the Cluster Administrator utility, delete the Microsoft Exchange System Attendant resource from the affected Exchange virtual server. Because this is an Exchange 2003 cluster, this action does not remove the configuration from Active Directory. Only specific parameters or settings that you have configured on the clustered resources and on the System Attendant resources are lost by this deletion. Make sure that you note any changes that you made from the default. Additionally, any existing full-text indexes are deleted.

Note Your Exchange databases remain intact with no loss of information.</li> In the Cluster Administrator utility, create a new Microsoft Exchange System Attendant resource in the same Exchange virtual server group. You are not presented with many options during the re-creation of the System Attendant resource because the configuration already exists in Active Directory. When you re-create the System Attendant resource, the MSSearch program, Exchange HTTP Virtual Server Instance 101, the Exchange Information Store instance, the Exchange Routing Service instance, and the SMTP Virtual Server instance are automatically re-created.</li> Bring the Exchange virtual server online.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
The steps in this article are different from the steps that are outlined for Exchange 2000 in the Microsoft Knowledge Base article 282122 because of changes in the underlying security architecture of Exchange Server 2003 in a clustered server environment. For additional information about changes to Exchange Server 2003 cluster security, click the following article number to view the article in the Microsoft Knowledge Base:

821834 Required Cluster service account permissions are different in Exchange 2000 and Exchange Server 2003

For additional information about the changes that have been made to cluster resource dependencies in Exchange Server 2003, click the following article number to view the article in the Microsoft Knowledge Base:

821833 Exchange cluster resource dependencies in Exchange Server 2003

Additional query words: XADM

Keywords: kbprb KB830189

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.