Error while setting up "User Profiles and Properties"

The other day, while I was working on a case, I came across the following situation.

When clicked on "User Profiles and Properties" hyperlink of Shared Services Administration got the following error message:

An error has occurred while accessing the SQL Server database or the Office SharePoint Server Search service. If this is the first time you have seen this message, try again later. If this problem persists, contact your administrator.

The other When clicked on the "Search Settings" hyperlink of the Shared Services Administration, got another error: 

"Authentication failed because the remote party has closed the transport stream"

Having gone through multiple troubleshooting steps, an update of .NET Framework 3.5 Service Pack 1 on all the servers of the SharePoint farm helped addressing the above errors. The .NET Framework seemed to be disturbed.

Detailed steps are given below:

  1. Stop the Office SharePoint Services Search service. To do this, follow these steps:
    1. Click Start, click Run, type cmd , and then click OK.
    2. At the command prompt, type net stop osearch, and then press ENTER.
    3. Type exit to exit the command prompt.
  2. Download and install the IIS 6.0 Resource Kit Tools. To obtain the IIS 6.0 Resource Kit Tools, visit the following Microsoft Web site:
    https://www.microsoft.com/downloads/details.aspx?familyid=56FC92EE-A71A-4C73-B628-ADE629C89499 (https://www.microsoft.com/downloads/details.aspx?familyid=56FC92EE-A71A-4C73-B628-ADE629C89499)
  3. On each server in the farm that has Office SharePoint 2007 installed, follow these steps:
    1. Click Start, click Run, type cmd , and then click OK.

    2. Navigate to the location of the IIS 6.0 Resource Kit Tools (default location is: C:\Program Files\IIS Resources\SelfSSL)

    3. At the command prompt, type selfssl /s:1720207907 /v:1000, and then press ENTER.

      Notes

      • 1720207907 is the default ID of the Office Server Web Services.
      • However, check the ID of Office Server Web Services from IIS.
      • 1000 is the number of days that the certification will be valid.
  4. Start the Office SharePoint Services Search service. To do this, follow these steps:
    1. At the command prompt, type net start osearch, and then press ENTER.
    2. Type exit to exit the command prompt.
  5. Download and install the following update to the .NET Framework 3.5 SP1. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

959209  (https://support.microsoft.com/kb/959209/ ) An update for the .NET Framework 3.5 Service Pack 1 is available