Home > Blogroll, development, error, Microsoft SharePoint 2010, MOSS, MS SharePoint Sever, sharepoint, SharePoint 2010, sps, Uncategorized > SharePoint 2010 Configuration Wizard Errors on Windows 7

SharePoint 2010 Configuration Wizard Errors on Windows 7

Alright, installing sharepoint 2010 on Windows 7 could be adventurous :), Why? Coz we do not follow what Microsoft tells us. Here is Microsoft’s full length article to do so:

http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx

Here is a complete process for Installing SharePoint 2010 on Windows 7.

Anyways, if you are stuck on your way, here is a list of SharePoint Configuration Wizard errors and there solutions to help:

Error no. -1:
I expect that you have already run all the pre-requisites present at the following location:
C:\Program Files (x86)\MSECache\oserver2010\PrerequisiteInstallerFiles

If not, run them now. In Windows 7, Usually it will be “FilterPack.msi” alone. Run this and run others if there are any.
Error no. zero:
In case you see something like this:

 

Solution:
Click here to view the solution.

 

Error no. 1:
friendlyMessage for task configdb is An exception of type System.IO.FileNotFoundException was thrown. Additional exception information: 

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.
12/09/2009 10:59:10 8 INF debugMessage for task configdb is An exception of type System.IO.FileNotFoundException was thrown. Additional exception information: 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.
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.
File name: 'Microsoft.IdentityModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
at Microsoft.SharePoint.Administration.SPFarm.CurrentUserIsAdministrator(Boolean allowContentApplicationAccess)
at Microsoft.SharePoint.Administration.SPConfigurationDatabase.Microsoft.SharePoint.Administration.ISPPersistedStoreProvider.DoesCurrentUserHaveWritePermission(SPPersistedObject persistedObject)
at Microsoft.SharePoint.Administration.SPPersistedObject.BaseUpdate()
at Microsoft.SharePoint.Administration.SPFarm.Update()
at Microsoft.SharePoint.Administration.SPConfigurationDatabase.RegisterDefaultDatabaseServices(SqlConnectionStringBuilder connectionString)
at Microsoft.SharePoint.Administration.SPConfigurationDatabase.Provision(SqlConnectionStringBuilder connectionString)
at Microsoft.SharePoint.Administration.SPFarm.Create(SqlConnectionStringBuilder configurationDatabase, SqlConnectionStringBuilder administrationContentDatabase, IdentityType identityType, String farmUser, SecureString farmPassword, SecureString masterPassphrase)
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Solution:
You do not have the correct version of Microsoft Geneva Framework, download and install here (and better to restart your machine):

Microsoft Geneva Framework Runtime for x64

Error no. 2:
Task evalprovision has failed with an unknown exception
12/09/2009 16:47:37 16 ERR Exception: Microsoft.Office.Server.UserProfiles.UserProfileException:

Unrecognized attribute ‘allowInsecureTransport’.

Note that attribute names are case-sensitive. (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebClients\Profile\client.config line 56) ---> System.Configuration.ConfigurationErrorsException: Unrecognized attribute 'allowInsecureTransport'. Note that attribute names are case-sensitive. (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebClients\Profile\client.config line 56)
at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)
at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.ConfigurationSectionCollection.Get(String name)
at System.ServiceModel.Configuration.ServiceModelSectionGroup.get_Client()
at Microsoft.Office.Server.UserProfiles.MossClientBase`1.GetServiceBinding(String endpointConfigurationName)
at Microsoft.Office.Server.UserProfiles.MossClientBase`1.GetChannelFactory(String endpointConfigurationName)
at Microsoft.Office.Server.UserProfiles.MossClientBase`1.get_Channel()
at Microsoft.Office.Server.UserProfiles.MossClientBase`1.ExecuteOnChannel(String operationName, CodeBlock codeBlock)
at Microsoft.Office.Server.UserProfiles.ProfilePropertyServiceClient.ExecuteOnChannel(String operationName, CodeBlock codeBlock)
--- End of inner exception stack trace ---
 

Solution:
There is a hotfix available for this issue, download and install here (must restart your machine after installation):

https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=23806&wa=wsignin1.0

 

Error no. 3:
An exception of type Microsoft.Office.Server.UserProfiles.UserProfileException was thrown. Additional exception information:

The HTTP request is unauthorized with client authentication scheme ‘Negotiate’.

The authentication header received from the server was ''.
Microsoft.Office.Server.UserProfiles.UserProfileException: The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was ''. ---> System.ServiceModel.Security.MessageSecurityException: The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was ''. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.
at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
--- End of inner exception stack trace ---

Solution:
You are missing IIS/Windows Features configurations. Run the following command in a command prompt window, this enables required IIS/Windows Features (the command is from Microsoft, so you can trust :)):

start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-RequestFiltering;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI;WCF-HTTP-Activation;

Make sure you execute the command with no line breaks, hopefully if you copy from above, there should not be any line breaks.

At this point, you may also want to have a look at Error no. 4 below, coz the above command from Microsoft misses one setting in IIS. Better to set it now instead of getting another error :).

 

Error. no. 4:
An exception of type Microsoft.Office.Server.UserProfiles.UserProfileException was thrown.  Additional exception information:

The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1).

If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '<html>
<head>
<title>An item with the same key has already been added.</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
</style>
</head>


failed to create sample data

 


<body bgcolor="white">

            <span><H1>Server Error in '/6a20012013634d01ab8c94df735a227b' Application.<hr width=100% size=1 color=silver>'.

Solution:

You are missing a Windows Feature that should be enabled. The command given above does not enable it. Go to Control Panel -> Programs -> Turn Windows Features on or off -> fill the check box for “Windows Communication Foundation Non-HTTP Activation” and OK (make sure you do not uncheck anything else).

Error No. 5:
An exception of type Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown. Additional exception information: Failed to call GetTypes on assembly Microsoft.Office.Server.Search, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Could not load file or assembly ‘System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified.

Solution:
You need to install Chart Control for your Windows 7 machine. Here is the link:
http://go.microsoft.com/fwlink/?LinkID=122517

Error No. 6:
04/14/2011 10:51:06  9  ERR                    Task configdb has failed with an unknown exception
04/14/2011 10:51:06  9  ERR                    Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

at Microsoft.SharePoint.Utilities.SPUtility.GetUserPropertyFromAD(SPWebApplication webApplicaiton, String loginName, String propertyName)

at Microsoft.SharePoint.Administration.SPManagedAccount.GetUserAccountControl(String username)
at Microsoft.SharePoint.Administration.SPManagedAccount.Update()
at Microsoft.SharePoint.Administration.SPProcessIdentity.Update()
at Microsoft.SharePoint.Administration.SPApplicationPool.Update()
at Microsoft.SharePoint.Administration.SPWebApplication.CreateDefaultInstance(SPWebService service, Guid id, String applicationPoolId, SPProcessAccount processAccount, String iisServerComment, Boolean secureSocketsLayer, String iisHostHeader, Int32 iisPort, Boolean iisAllowAnonymous, DirectoryInfo iisRootDirectory, Uri defaultZoneUri, Boolean iisEnsureNTLM, Boolean createDatabase, String databaseServer, String databaseName, String databaseUsername, String databasePassword, SPSearchServiceInstance searchServiceInstance, Boolean autoActivateFeatures)
at Microsoft.SharePoint.Administration.SPWebApplication.CreateDefaultInstance(SPWebService service, Guid id, String applicationPoolId, IdentityType identityType, String applicationPoolUsername, SecureString applicationPoolPassword, String iisServerComment, Boolean secureSocketsLayer, String iisHostHeader, Int32 iisPort, Boolean iisAllowAnonymous, DirectoryInfo iisRootDirectory, Uri defaultZoneUri, Boolean iisEnsureNTLM, Boolean createDatabase, String databaseServer, String databaseName, String databaseUsername, String databasePassword, SPSearchServiceInstance searchServiceInstance, Boolean autoActivateFeatures)
at Microsoft.SharePoint.Administration.SPAdministrationWebApplication.CreateDefaultInstance(SqlConnectionStringBuilder administrationContentDatabase, SPWebService adminService, IdentityType identityType, String farmUser, SecureString farmPassword)
at Microsoft.SharePoint.Administration.SPFarm.CreateAdministrationWebService(SqlConnectionStringBuilder administrationContentDatabase, IdentityType identityType, String farmUser, SecureString farmPassword)
at Microsoft.SharePoint.Administration.SPFarm.CreateBasicServices(SqlConnectionStringBuilder administrationContentDatabase, IdentityType identityType, String farmUser, SecureString farmPassword)
at Microsoft.SharePoint.Administration.SPFarm.Create(SqlConnectionStringBuilder configurationDatabase, SqlConnectionStringBuilder administrationContentDatabase, IdentityType identityType, String farmUser, SecureString farmPassword, SecureString masterPassphrase)
at Microsoft.SharePoint.Administration.SPFarm.Create(SqlConnectionStringBuilder configurationDatabase, SqlConnectionStringBuilder administrationContentDatabase, String farmUser, SecureString farmPassword, SecureString masterPassphrase)
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

Solution:
SPAdmin and SPFarm account do not have read access to Active Directory. Grant access and you should be good to go.

See here for Installing SharePoint 2010 on Windows 7

Hope this helps–

Advertisements
  1. December 10, 2009 at 2:48 am

    Where can I download this share point 2010. Please help me?

  2. December 10, 2009 at 5:19 am

    Hi Silver,

    Here is everything that you might be looking for:

    https://rehmangul.wordpress.com/2009/12/01/sharepoint-2010-public-beta-home/

    Cheers,

  3. December 11, 2009 at 7:03 am

    nice info…thnks

  4. December 11, 2009 at 2:04 pm

    Thanks AdSense!

  5. December 28, 2009 at 8:44 pm

    Hi there

    Thnk you very much for the info. Saved me loads of time!

  6. January 4, 2010 at 5:26 am

    Thanks Martin!

  7. Vj Koganti
    March 16, 2010 at 12:05 pm

    Excellent Info! nice work. Vj Koganti

  8. April 28, 2010 at 9:17 pm

    Very nice info and great work, the info on the msdn social blog mentions the issue about Microsoft.IdentityModel but points you to a current version that’s not supported by this installation, but your fix is gold. Again, Great work!!

  9. May 6, 2010 at 7:13 am

    Dear Sir,

    your work is really hard..
    you are helping the peoples…
    keep it up!!!

  10. May 31, 2010 at 3:05 am

    Hi,

    Hope your well, I am just trying to install SharePoint 2010 on my workstation *windows7* but appear to be getting the error as explained above (ErrorNo1) I have installed the Microsoft Geneva Framework and i have restarted my machine but still continue to get the same error.

    Are there any other reasons as to why it would be flagging this up, or/ is there anything else that i may/maynot need to do in order to get past this error.

    You help/advice is appriciated, keep up the good work 🙂

    Regards,

    James.

  11. izhar
    August 10, 2010 at 9:33 am

    Hi i have installed sharepoint 2010 as a Windows Farm on single machine on vista but getting the error 4 .I have already activate dthe feature you described.On some other fourms i cam to know that hotfix KB976462 is the solution but its not for Vista.

  12. August 31, 2010 at 7:25 pm

    Hi,

    I installed Sharepoint Server on Windows 7 but I am getting this error always “Could not load file or assembly ‘Microsoft.IdentityModel’”

    Tried installing the Geneva framework, but same error.

    Any hints please.

    Thank you

  13. Divya
    December 18, 2010 at 11:14 am

    Hi,

    I just stumbled upon your post ….a gud view point…ur post left me quenching for more your post really gives out useful knowledge…

    http://godwinsblog.cdtech.in/2010/12/sharepoint-2010-root-of-certificate.html

  14. David
    December 22, 2010 at 12:42 pm

    Good post. Hats off to this team. very useful blog please keep on doing this.This is what iam expecting for a long.

    http://godwinsblog.cdtech.in/2010/11/sharepoint-2010-installation-language.html

  15. VIJAY
    May 9, 2011 at 8:25 pm

    BROTHER, U R A GENIUS…
    THANKS A TON FOR THE POSTS. INSTALLATION OF SHAREPOINT HAS BEEN KICKING MY ASS SINCE A LONG TIME.
    THANKS A LOT THANK U VERY MUCH…WONDERFUL POSTS!

  16. Marty
    June 10, 2011 at 1:41 am

    That was boss. Helped so much. Have no idea what I would have done without this article !

  17. Ahmed Hamdy
    June 30, 2011 at 6:52 pm

    Thank you ,this helped me very much

  18. July 28, 2011 at 4:02 pm

    Thanks alot, it helped me very much.

  19. Vijay
    September 25, 2011 at 11:40 pm

    I installed Sharepoint 2010 successfully on Windows 7 using all the steps necessary. When I start the Sharepoint 2010 central adminstration, I get blank page. The event log shows

    An exception occurred when trying to issue security token: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: ‘

  20. Mukhesh
    November 7, 2011 at 6:29 am

    Very very helpful.. saved a lot of time for me..
    Thanks a lot…

  21. Vijay
    December 2, 2011 at 8:05 pm

    I downloaded all the prequsities including Windows Identity Foundation. I still cannot get rid of this error.

    An exception of type System.IO.FileNotFoundException was thrown. Additional exception information: 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.

    I am having WIndows 7 64 bit Ultimate and SQL Server 2008 R2 on the same server.

    Any inputs to solve the problem is appreciated…

    • Eyal
      January 9, 2012 at 8:05 pm

      Did you find a solution? I have the same error 😦

  22. Vikram
    December 12, 2011 at 7:36 am

    Thanks.. very helpful

  23. Dhanakumar
    December 17, 2011 at 9:32 pm

    Thanks.
    Got the Error #1., and installed the Microsoft Geneva Framework Runtime for x64. Config wizard ran without any glitches and now my local machine is sharepoint server.. Good one. Thank you.

  24. Tunde
    January 15, 2012 at 7:15 pm

    Hello, I ran and installed Sharepoint 2010 successfully on my machine but when I run the central administration panel, it opens a blank site. Any ideas/help please? Thanks

  25. February 20, 2012 at 8:30 am

    you are seriously ‘THE MAN’ – saved me heaps of time…heck you are the man!

  1. December 9, 2009 at 2:38 pm
  2. January 4, 2010 at 9:24 am
  3. January 6, 2010 at 6:06 am
  4. January 6, 2010 at 9:16 am
  5. March 4, 2010 at 7:48 pm
  6. June 12, 2010 at 9:07 am
  7. January 15, 2012 at 3:35 pm
  8. January 27, 2012 at 12:43 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: