Skip to main content

Sharepoint Installation on windows 7 problems


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.

Popular posts from this blog

How to deal with SharePoint 2010 exception "An exception occurred when trying to issue security token: The server was unable to process the request due to an internal error"

Scenario: You receive the below exception when you try to logon to a site that has been configured to use Claims Based Authentication with a custom membership provider using FBA credentials: Event ID from Event Log  - 8306 An exception occurred when trying to issue security token: The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.. Explanation: This error started to appear in our QA environment which does not have Visual Studio installed. I have tried starting the service "Claims to Windows Token Service" but that did not help either. I have made sure that all config...

SharePoint SPFX components basic details and understanding

Microsoft developed SharePoint, a web-based platform that enables businesses and organisations to share and manage documents and information. The SharePoint Framework (SPFx) is a set of client-side tools and components that can be used to construct unique solutions on top of SharePoint. The creation of a SharePoint SPFx component will be covered in this blog. Let's address specific requirements before creating a SharePoint SPFx component. Install the necessary software on your computer: Version 10 or later of Node.js SharePoint Framework (SPFx) generator using Git Now that all the prerequisites have been deployed, let's start developing the SharePoint SPFx component. Start by making a new SPFx project. Making a new SPFx application is the initial step. Launch the command prompt and execute the following commands  yo @microsoft/sharepoint The Yeoman generator for the SharePoint Framework will be started using this command. You will be prompted to enter details about your project...

Create Rating Visual Web Part Using Visual Studio 2010,

Create Rating Visual Web Part Using Visual Studio 2010,  also Apply Rating Settings using c#   Back End Design  Register Assembly    <%@ Register Tagprefix="SharePointPortalControls" Namespace="Microsoft.SharePoint.Portal.WebControls" Assembly="Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> Add Control. <div>    Average Ratting :    <SharePointPortalControls:AverageRatingFieldControl ID="PageRatingControl" runat="server"/> </div>