Here I wanted to capture all issues or trick dealing with installation of SPS 2010. I will keep this updating as I find new issues/answers…
1. Single Server Install/Farm Mode install
Issue
For Single Server installation, you may choose Farm Install just to avoid SQL Express being installed. But the Farm Install mode restricts to having a domain account when you run Configuration wizard.
Solution
Once installation is complete, run SPS Powershell, run SP-NewConfigurationDatabase. This will accept the local account and create config db, and connected the server to Farm.
Next run the configuration wizard which will confirm that the server is connected to a farm, now complete the creation of CA.
2. Single Server Install/SQL or SPS2010 first.
Issue
For stand alone (such as development) servers installations where you want to have SQL Server and SPS 2010 running on the same box, you may encounter following issue if you first install SPS 2010 and then try install SQL Server 2008.
An attempt was made to install (or update) SQL Server Native Client on a computer where SQL Server Native Client is already installed, and where the existing installation was from an MSI file that was not named sqlncli.msi.
Solution
Option 1: Simply uninstall “SQL Server Native Client” from the Uninstall Program option from Control Panel
Option 2: Given the choice or for your next single server installation try installing SQL Server 2008 first before SPS 2010.
3. An error occurred creating the configuration section handler for microsoft.identityModel:
Issue
You may receive an error while trying to first time install or create a new configuration database that is described as below:
Exception: System.Configuration.ConfigurationErrorsException: An error occurred creating the configuration section handler for microsoft.identityModel: Could not load file or assembly 'Microsoft.IdentityModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebServices\Root\web.config line 4) ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.IdentityModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Solution
There are two aspects to this issue:
1. Ensure proper install of Windows Identity Foundation: Make sure you have uninstalled Microsoft “Geneva” Framework. This code is now renamed as “Microsoft Identify Foundation”. Find appropriate download for your platform from (Give attention to Instructions above the Files in the Download) "http://www.microsoft.com/downloads/details.aspx?FamilyID=eb9c345f-e830-40b8-a5fe-ae7a864c4d76&displaylang=en#filelist.
2. Microsoft.IdentityModel Version in coded in the web.config is incorrect: Lets look at the Version Number in the Error message: “Microsoft.IdentityModel, Version=1.0.0.0”. Next lets follow the Class name space as registerd under the GAC:
As you can see the actual Version number for the Microsoft.IdentiyModel is 3.5.0.0
Now lets follow the web.config entry as pointed by the Error Message.
Lets update this version number in the web.config pointed by the Error message to 3.5.0.0, save the web.config.
Now continue your configuration, this step has successfully worked for me, I hope this helps others battling thus error.
2 comments:
I know this is a really old thread but I am having the exact same problem. I'm missing the 1.0.0.0 version of the Microsoft.IdentityModel
My problem is that SP 2010 hasn't yet saved the wss directory in inetpub/wwwroot so i'm not sure where the SP2010 Products Configuration Wizard is pointing to to throw the error about the identitymodel, any idea?
Hello Anonymous, I am replying to your question above. There are two parts to this problem. You must install the pre-requisite for this. Choose appropriate install from http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=17331#filelist
Second part is having the right install done above, if you still face the problem, ensure the Web.config (...\14\WebServices\Root) for the SP Web Services Web App has proper version number for the Microsoft.IdentityModel. Cross check at the GAC as well.
If all of the above are in place, and if you still have a problem then try rebooting your server. It is usualy these steps that should fix this issue.
Hope this helps.
Post a Comment