Dev4Side Blog

Principal errors during SharePoint 2010 Beta 2 installation

Here in Dev4Side we have installed the Beta 2 of SharePoint 2010 soo many times and every time there's a new errore on installation. Registry key to delete, configuration files to modify, hotfix to install, and so on..
Here there's a quick list of all these errors.

The first one, correspond to this error message:

Failed to create sample Data.

An exception of type Microsoft.Office.Server.UserProfiles.UserProfileException was thrown. Addictional exception information: Unrecognized attribute 'allowInsecureTransport'. Note that attribute names are case-sensitive (C:\Program Files\Common Files\Microsoft Shared\Web Server Extentions\14\WebClients\Profile\client.config line 56)

To resolve this error, you have to open the client.config file, placed into the directory "C:\Program Files\Common Files\Microsoft Shared\Web Server Extentions\14\WebClients\Profile" and delete all the occurence of the attribute "allowInsecureTransport".
After that, you must run again the SharePoint 2010 Configuration Wizard.

The second one, have this error message:

Failed to register SharePoint services.

An exception of type System.ServiceProcess.TimeoutException was thrown. Additional exception information: Time out has expired and the operation has not been completed.
System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)

To fix it, you have to download and install this hotfix. Here there are all the right references:
- hotfix for Windows Server 2008 R2: http://support.microsoft.com/kb/976462
- hotfix for Windows Server 2008: http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=KB971831&DownloadId=7285

Then, this is the third:

Failed to create the configuration database.

An exception of type System.Security.Cryptography.CryptographicException was thrown. Additional exception information: The data is invalid.

To fix it, you must modify the ACL of the "SharePoint root" (the "14 folder") and add the user "Network Service", and assign him the Full Control permissions.

The fourth, instead:

Setup is unable to proceed due to the following error(s):
A system restart from a previous installation or update is pending. Restart your computer and run setup to continue.
For the list of pre-requisites needed to install the product please refer to:
http://go.microsoft.com/fwlink/?LinkId=106209
Correct the issue(s) listed above and re-run setup.

To resolve it, first of all, we must control the values of these registry keys:
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\UpdateExeVolatile
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations
the value of the first one MUST be "0". While the second key must be deleted.

If you run into other errors, feel free to e-mail us.