Home > SharePoint or Custom Development > Configuration Failed when installing SP 2010 on Windows 7 (Failed Big time!)

Configuration Failed when installing SP 2010 on Windows 7 (Failed Big time!)

You can install SharePoint 2010 on your Windows 7 computer.

In my attempt to install SharePoint 2010 on my laptop computer for development reasons, I ran into quite a few issues.  But I was determined.

But guess what…  I was able to resolve it.

clip_image002

clip_image004

The Problems!

When installing SharePoint 2010 on Windows 7, even if you install all of its prerequisites that it says to install, you get one of these two errors:

An exception of type System.IO.FileNotFoundException was thrown.  Additional exception information: Could not load file or assembly ‘Microsoft.IdentityModel, Version 3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35′ or one of its dependencies.  The system cannot find the file specified.

-OR-

An exception oftype 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.DataVisualition, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find thefile specified.

-OR-

Failed to create the configuration database.

An exception of the type Microsoft.SharePoint.SPException was thrown.  Additional exception information: User cannot be found

(See both possible solutions below)

Below are the steps that I took to get these errors.

Installed SQL Server 2008 R2,  Installed SharePoint 2010 (with its prerequisites first).

Went to Start,  SharePoint 2010 Central Administraton

clip_image006

clip_image008

Clicked Yes

clip_image010

Clicked Next

clip_image012

WARNING: you are installing on windows vista or windows 7, which are unsupported configurations intended for use on developer workstations only.  This configuration should not be used as a production environment, or host any user content.

Clicked OK

clip_image014

Clicked Yes

You might get one of the errors below:

clip_image016

An exception of type System.IO.FileNotFoundException was thrown.  Additional exception information: Could not load file or assembly ‘Microsoft.IdentityModel, Version 3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35′ or one of its dependencies.  The system cannot find the file specified.

Click Finish.

The problem is that the Windows Identity Foundation pack was not installed.  This can be fixed here: http://www.microsoft.com/downloads/details.aspx?FamilyID=eb9c345f-e830-40b8-a5fe-ae7a864c4d76&displaylang=en#filelist

-OR-

clip_image018

An exception oftype 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.DataVisualition, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find thefile specified.

Click Finish.

The problem is that the Chart Controls cannot be found, you can download them here: http://go.microsoft.com/fwlink/?LinkID=122517

-OR-

clip_image020

Failed to create the configuration database.An exception of the type Microsoft.SharePoint.SPException was thrown.  Additional exception information: User cannot be found

Alright, this one is rather funny.  You can get this message if you are working from home, not connected to the network via VPN.  That was my case.  The user just cannot be found that is part of the domain for creating the SQL Server connection.

SUCCESS!!!

clip_image002[1]

That all worked for me, hope it works for you!

If you have more errors, then you can follow this: http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx, however some of the links are broken.

Advertisement
  1. June 30, 2010 at 9:02 am | #1

    Nice article, I am trying now and it is still going. It seems it works. I will tell you later.

  2. June 30, 2010 at 9:14 am | #2

    It really works. Thank you, Sir.

  3. July 7, 2010 at 9:51 pm | #3

    HEy Khanisya, I am very glad to hear it worked out for you. I hope you found this blog really usefull.

    Bill.

    • Jigar
      April 20, 2011 at 12:03 pm | #4

      Nice work, now its working for me.
      Nice article..
      Thank you sir.

  4. D
    July 8, 2010 at 12:55 pm | #5

    I had the step 2 problem. Nice post, worked for me.

  5. Peter
    September 8, 2010 at 8:33 am | #6

    Great article. Finally (several tries and other publications) it’s running on my system. Thanks.

  6. September 9, 2010 at 12:18 pm | #7

    Great article, I was having the SPUpgradeException problem while installing a development environment on Win7, and it worked smoothly.
    Thanks!

  7. Kim
    September 23, 2010 at 10:29 pm | #8

    Thanks so much for posting this. Had the “Failed to call GetTypes on assembly…” and your instructions got me beyond this to a successful install!

  8. Brian
    September 25, 2010 at 7:23 pm | #9

    Thank you! I was getting the SPUpgradeException error and was trying to get around it all day. I wish I found this post sooner.

  9. September 29, 2010 at 3:43 am | #10

    Nice article..saved my day..thanks

  10. Cephus Jones
    October 4, 2010 at 7:55 pm | #11

    Dude I SO owe you. Thanks!

  11. shiva
    November 30, 2010 at 9:33 pm | #12

    Nice One Dude i am stuck with step2 its helped me alot

  12. vijayjain
    January 18, 2011 at 11:38 pm | #13

    hi Bill Daugherty IIB

    When I am upgrading SharePoint server 2007 64 bits to 2010 64 bit. I am getting error “configuration failed error “.it is showing me that failed to initiate the upgrade sequence. After that “an exception of type “system.reflection.targetinvocationeexception was thrown. Additional information: exception has been thrown by target of an invocation.
    I am using sql server 2008 64 bit sp1.
    BEFORE STARTING SHARE POINT 2008 INSTALLATION I INSTALLED ALL prerequisites:
    • Web Server (IIS) role
    • Application Server role
    • Microsoft .NET Framework version 3.5 SP1
    • SQL Server 2008 Express with SP1
    • Microsoft Sync Framework Runtime v1.0 (x64)
    • Microsoft Filter Pack 2.0
    • Microsoft Chart Controls for the Microsoft .NET Framework 3.5
    • Windows Power Shell 2.0
    • SQL Server 2008 Native Client
    • Microsoft SQL Server 2008 Analysis Services ADOMD.NET
    • ADO.NET Data Services Update for .NET Framework 3.5 SP1
    • A hot fix for the .NET Framework 3.5 SP1 that provides a method to support token authentication without transport security or message encryption in WCF.
    • Windows Identity Foundation (WIF)
    • Install Sql cumulative update
    • Install SQLSERVER2008_ASADOMD10

  13. Vishwajit
    February 16, 2011 at 12:25 pm | #14

    Hi,
    Thank you so much for this post.I am installing sharepoint 2010 on window 7.
    Now i am getting error at step 5.The error is Failed to register SharePoint Services. Can you please help me?

  14. Pedro Sawyer
    February 21, 2011 at 10:11 pm | #15

    Great advice. Everything is running now. Thanks heaps.

  15. josh
    March 21, 2011 at 8:24 am | #16

    thanks a lot …

  16. May 3, 2011 at 4:23 am | #17

    It works! a lot of thanks!

  17. Shipra
    May 3, 2011 at 1:31 pm | #18

    Thanks a lot! Saved a lot of time

  18. Hariharan
    May 6, 2011 at 4:50 am | #19

    Thanks it helped me toooo…… :)

  19. May 9, 2011 at 3:40 am | #20

    Hey you found all my errors :) Thanks for your help.

  20. babonamaki
    June 13, 2011 at 2:01 am | #21

    Thanks Mate, you are life saver!!

  21. Helen
    June 24, 2011 at 9:46 am | #22

    I have both issues and now works. Thanks so much for the posting!

  22. Joe
    July 6, 2011 at 9:35 am | #23

    Wouldn’t it make sense for Microsoft to say “Chart Controls not installed” instead of thrwoing an exception and wasting EVERBODY’S time.

    Thanks Bill

  23. Teal
    July 22, 2011 at 12:40 am | #24

    You are awesome; thank you for posting this.

  24. Anonymous
    July 25, 2011 at 1:03 am | #25

    Thanks for straight forward solution,

  25. Anon
    August 7, 2011 at 9:43 am | #26

    Thank you for your work. You helped me with the “charts” step.

  26. Test
    August 9, 2011 at 1:19 pm | #27

    This is a greattttttt post. It helped me fix my issue. I spent 2 whole days reading about this error, none of the solutions helped. But ur solution helped me. Keep up the good work!!

  27. Nagaraju
    August 26, 2011 at 4:09 am | #28

    Thanks Man your Rockkkkkkkkkk……….

  28. Dmitriy Noa
    September 2, 2011 at 4:39 am | #29

    Worked fine for me :) Thank you!

  29. George
    September 5, 2011 at 5:56 pm | #30

    Worked for me too as well. now just have to deal with blank browser page after install.

    Thanks

  30. arut
    September 18, 2011 at 5:35 am | #31

    Thanks a lot for posting this.

  31. monadev
    October 1, 2011 at 9:07 am | #32

    hi i got the same error of the database conection even after i downloaded and setup the mschat plz tell me if there is anything else to do

  32. monadev
    October 1, 2011 at 9:30 am | #33

    sorry for the old post it woked with me

  33. mdev
    October 1, 2011 at 9:40 am | #34

    after installation is complete i got a blank page not the page of the sharepoint as the one on this site so is there is anthying missing
    Thanks alot for your help

  34. Phyllis
    October 9, 2011 at 8:24 am | #35

    Thanks for assistance. Worked like a charm

  35. Andrea
    October 10, 2011 at 8:47 am | #36

    Thank you so much! It works now.

  36. Alan
    November 11, 2011 at 5:31 am | #37

    I’m running the sharepoint in virtual box. I have a doman called abc123, and i am logged on as the domain administrator – and I have teh cannot find user problem. But I wonder if you have further detail, as I dont think its a vpn problem

  37. Ed
    November 12, 2011 at 3:47 pm | #38

    Excellent help! Thanks!

  38. Joe Goldthwaite
    November 26, 2011 at 4:07 pm | #39

    Thank you so much. I had this *exact* problem and these steps solved it. You have my undying gratitude!

  39. November 30, 2011 at 2:00 am | #40

    You saved my day…awesome…..thankyou sir…

  40. Eddine
    December 3, 2011 at 10:02 pm | #41

    Thanks a lot Sir Very helpful !

  41. December 8, 2011 at 2:55 am | #42

    Thanks.. it worked for me.

  42. elizemeijer
    December 26, 2011 at 2:56 pm | #43

    Great post.. Thank you..

    Specially the part about user not found. I connected to my company’s VPN, and viola!!

    Thanks again.

  43. Evgenia
    January 8, 2012 at 9:22 am | #44

    Bill, that was extremely helpful post :) You rock!

  44. Dawn
    January 24, 2012 at 7:17 am | #45

    Please help! I have the error you say can be resovled by installing the chart controls however I have installed them! I have checked and double checked and all prerequisites are installed and I have removed and reinstalled again and again but I cannot resolve this issue! Can you help at all?

  45. Daniel
    January 25, 2012 at 12:40 pm | #46

    Just stopping in to say thanks x1,000,000. I was about to give up and start from scratch when I found this post. I got the first 2 errors back to back. Installed both components and off it went. Thanks again.

  1. October 8, 2011 at 6:09 pm | #1

Leave a Reply

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

Gravatar
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 )

Connecting to %s

Follow

Get every new post delivered to your Inbox.