Errors when installing SharePoint 2010 in Windows 7 Development Environment

Here are some of the other errors that I received while creating my SharePoint 2010 environment in Windows 7.

New-SPConfigurationDatabase: Could not load file or assembly ‘Microsoft.IdentityModel, Version 3.5.0.0. The Power Shell looks like the following when you’re running New-SPConfigurationDatabase to configure your SP database for the first time:

Could not load Microsoft.IdentityModel
Could not load Microsoft.IdentityModel

The fix: Install Microsoft Identity Framework to address this problem.

New-SPConfigurationDatabase: The user does not exist or is not unique. You get to the point in the New-SPConfigurationDatabase command-let that asks you for the Farm Credentials. You didn’t fully qualify the username with the domain or computer name.

New-SPConfigurationDatabase - user does not exist
New-SPConfigurationDatabase - user does not exist

 

To fix this, simply make sure that the user account you are specifying for the Farm Credentials is fully-qualified with the domain-name or, if using local accounts, the computer name. Example: “macbookpro\gabe”.

New-SPConfigurationDatabase :  Unknown error (0x80005000) At line: 1 char:20. + New-SPConfigurationDatabase <<<< + CategoryInfo    : InvalidData

Unknown error when running New-SPConfigurationDatabase
Unknown error when running New-SPConfigurationDatabase

 

This one frustrated the heck out of me. I configured my Macbook Pro already but I was installing SharePoint 2010 on another PC(has Intel Core i7 processor) in my office when I got this message. I thought the second pass-through would be easier. I already know I must follow every-step of the SharePoint 2010 on Windows 7 Development Workstation Guide.  So, how can I possibly still mess it up?? You see, I’d get past the Passphrase question and it would process the command for a while and spit out the error message only at the very end. When I look at my SQL Server, the Config database is created but the “SharePoint Admin Content” database has not been created yet. I manually added the user-account to sysadmin group in SQL. I made the  Windows login Local Admin. I serviced-pack the SQL instance at least twice. Still the InvalidData error message like above. I uninstalled SharePoint 2010 and re-installed it. When I uninstalled the entire SharePoint 2010 (remember, I was aiming for the “Complete” installation option), I reinstalled the second time just using the “Stand-Alone” install. I was thinking, this sucks, having to use SQL Express because I’m going for Stand-Alone install. I finished the Stand-Alone installation. I go ahead and try to configure it and the psconfigui.exe (SP Product Configuration Wizard) and bam—STILL an error! But this time, the error message was more helpful—it told me that IIS 6 is not installed. I look at my installed Windows 7 features and sure enough, IIS 6 wasn’t installed yet! I was pretty sure I ran everything on the checklist and I couldn’t have missed anything. Obviously, I missed something, and this something was the required Windows Features that must be turned on. So I installed II 6 feature on my Windows 7 and the Stand-Alone configuration worked and I saw the Central Admin. If you get this Unknown error (0x80005000), check your installed Windows Features and make sure you have IIS 6 Management Console installed.

IIS 6 Management Consol turned-on
IIS 6 Management Consol turned-on

 

Okay, after going through the stand-alone install and was made to enable IIS6, I uninstalled SharePoint 2010, again! Why did I uninstall it? Because it was installed using Stand-Alone install which uses SQL Server Express.  This final time, I was determined to make the Complete installation (can add servers to farm) work. I installed the SharePoint 2010. I ran Power Shell and ran the New-SPConfigurationDatabase command-let and was able to create the configuration database. Yay!!!

SQL Server after successful New-SPConfigurationDatabase
SQL Server after successful New-SPConfigurationDatabase

16 Comments

  1. Gabe,

    For the fix WIF, i’ve installd it but still got the identity.dll not found error?
    Can u plz help me out with this?

    Thanks,

    Thomas

    • Hi Thomas,

      If you installed Identity Framework, you can uninstall it and try re-installing it. To my knowledge, and I’ve done the SP 2010 development server installation at least twice, once the Identity Framework is installed, the “could not load file or assembly ‘Microsoft.IdentityModel’” error went away.

      Also, I would recommend that you follow all the instructions in the following MSDN guide (do not skip a step; it can also be that you’re missing a prerequisite):
      http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx

      Thanks.
      -Gabe

  2. Thanks for taking the time to document this. Ran into this exact situation and after a few hours of attempts at fixing I finally stumbled onto your site. Checked the missing IIS6 boxes and it worked!

  3. I should have gone here first. You helped me stop pulling my hair from all the stupid hacks that I need to do in order to get a local developer’s SharePoint instance installed.

    Thanks so much.

  4. ‘To fix this, simply make sure that the user account you are specifying for the Farm Credentials is fully-qualified with the domain-name or, if using local accounts, the computer name. Example: “macbookpro\gabe”.’

    Thanks for this, solved my problem!

  5. Thanks for the post, you helped me solve the “The user does not exist or is not unique.” error. Little issue big impact…

  6. Thanks for the marvelous posting! I quite enjoyed reading it, you will be a great author.
    I will make certain to bookmark your blog and will come back from now on.
    I want to encourage yourself to continue your great writing, have
    a nice weekend!

1 Trackback / Pingback

  1. Install SharePoint 2010 on windows 7 64 bit « Query On .net

Leave a Reply

Your email address will not be published.


*