Raghu's SharePoint Corner

My blog has moved!

You will be automatically redirected to the new address. If that does not occur, visit
http://www.sharepointcolumn.com
and update your bookmarks.

November 15, 2012

Error: Installation of Microsoft Identity Extensions Requires .Net Version 3.5 or 4.0

Scenario: Offline/Online (With/without internet connection on server) SharePoint 2013 Foundation Farm setup on Windows Server 2012. Please note this error was shown after enabling .Net Framework Version 3.5 or 4.0 on the server. All the prerequisites were manually installed on the server.

Note: From Software & Hardware requirements for SharePoint 2013 given Prerequisites for SharePoint 2013 I can see that the identity extensions are available only for Windows Server 2008 R2 and not for windows server 2012. 

The below error might pop up when you perform the installation of SharePoint 2013 Foundation Farm setup on Windows Server 2012.
Once you click Ok, the SharePoint 2013 the prerequisite shows up the below error screen 

At first instance after seeing this error you might conclude that we need to install .Net Framework 3.5 or 4.0 on the server to continue with the setup. You might be aware that .Net Framework 4.0 will be installed on the Windows Server 2012 during the setup of windows server 2012. If you want to install .net framework 3.5 on the server you need to enable this feature using Server Manager, from Add roles and Features, you can also install from command line you can refer here (http://www.danielclasson.com/install-net-framework-35-server-2012/).

The following error was logged in the review log files of the prerequisite setup
2012-11-14 21:17:12 - Request for install time of Application Server Role, Web Server (IIS) Role
2012-11-14 21:17:13 - Request for install time of Application Server Role, Web Server (IIS) Role
2012-11-14 21:17:14 - Request for install time of Application Server Role, Web Server (IIS) Role
2012-11-14 21:17:14 - Install process returned (0)
2012-11-14 21:17:14 - [In HRESULT format] (0)
2012-11-14 21:17:14 - Beginning download of Microsoft Identity Extensions
2012-11-14 21:17:14 - http://go.microsoft.com/fwlink/?LinkID=252368
2012-11-14 21:17:14 - Size of download of "Microsoft Identity Extensions" in bytes is "2663"
2012-11-14 21:17:14 - Download of "Microsoft Identity Extensions" completed successfully
2012-11-14 21:17:14 - Installing Microsoft Identity Extensions
2012-11-14 21:17:14 - "C:\Windows\system32\msiexec.exe" /i "C:\Users\SPA37F~1.ADM\AppData\Local\Temp\IDF6B7.tmp.msi" /quiet /norestart
2012-11-14 21:17:14 - Install process returned (0X654=1620)
2012-11-14 21:17:14 - [In HRESULT format] (0X80070654=-2147023276)
2012-11-14 21:17:14 - Last return code (0X654=1620)
2012-11-14 21:17:14 - Reading the following DWORD value/name...
2012-11-14 21:17:14 - Flags
2012-11-14 21:17:14 - from the following registry location...
2012-11-14 21:17:14 - SOFTWARE\Microsoft\Updates\UpdateExeVolatile
2012-11-14 21:17:14 - Reading the following string value/name...
2012-11-14 21:17:14 - PendingFileRenameOperations
2012-11-14 21:17:14 - from the following registry location...
2012-11-14 21:17:14 - SYSTEM\CurrentControlSet\Control\Session Manager
2012-11-14 21:17:14 - Reading the following registry location...
2012-11-14 21:17:14 - SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
2012-11-14 21:17:14 - Error: The tool was unable to install Microsoft Identity Extensions.
2012-11-14 21:17:14 - Last return code (0X654=1620)
2012-11-14 21:17:14 - Options for further diagnostics: 1. Look up the return code value 2. Download the prerequisite manually and verify size downloaded by the prerequisite installer. 3. Install the prerequisite manually from the given location without any command line options.
2012-11-14 21:17:14 - Cannot retry

Solution:  After reviewing the log files I figured out the following things

1.       The msiexec.exe file specified here 2012-11-14 21:17:14 - "C:\Windows\system32\msiexec.exe" is missing on the windows server system 32 folder, not sure how this happened. To fix this error run the following command on the windows run window msiexec /regserver

2.       Installing Microsoft Identity Extensions from command prompt.In order to perform this use the below command
C:\Windows\System32>msiexec.exe /i "C:\SharePoint2013ServerFiles\prerequisiteins
tallerfiles\MicrosoftIdentityExtensions-64.msi" /quiet /norestart
Note: In the above command C:\SharePoint2013ServerFiles\prerequisiteinstallerfiles is the path where I had downloaded all the prerequisites for SP2013
This will install Microsoft Identity Extensions and creates registry entries , which will help the SharePoint 2013 Prerequisite installer to complete the setup
If anyone has found a better way to do this please feel free to a leave a comment.

August 23, 2012

Offline installation of Microsoft Office Developer Tools for Visual Studio 2012 RTM


Hang on if you don’t have the Installer yet you can find it here (http://msdn.microsoft.com/en-us/office/apps/fp123627.aspx) and download the appropriate one.

If you are planning to start SharePoint 2013 development using Visual Studio 2010 then you might have to wait till Microsoft Releases the Extension

This blog post would help developers who are yet to start SharePoint 2013 Development. The objective would be to provide steps to perform the offline (no internet connectivity) installation of Microsoft Office Developer Tools for Visual Studio 2012 RTM.
If you try to run the Microsoft Office Developer Tool (or web platform installer which you can find it here) in the above scenario, probably you will end up in seeing the below screen.



After going through the log files here are the necessary link to download individual component

Microsoft SharePoint Developer Tools for Visual Studio 2012 - Preview:
http://download.microsoft.com/download/F/3/6/F36774B2-4090-4352-8D73-55A54F6C4E18/ENU/officetools_bundle.exe


Windows Identity Extensions:
http://download.microsoft.com/download/0/1/D/01D06854-CA0C-46F1-ADBA-EBF86010DCC6/r2/MicrosoftIdentityExtensions-64.msi


Workflow Tools 1.0 Beta for Visual Studio 2012:
http://download.microsoft.com/download/9/6/2/9622508B-EE2D-452F-945A-343AA514C140/WorkflowTools_x64.msi


Workflow Client 1.0 Beta:
http://download.microsoft.com/download/9/6/2/9622508B-EE2D-452F-945A-343AA514C140/WorkflowClient_x64.msi


Windows Identity Foundation SDK:
http://download.microsoft.com/download/7/0/1/70118832-3749-4C75-B860-456FC0712870/WindowsIdentityFoundation-SDK-4.0.msi


SharePoint Client Components:
http://download.microsoft.com/download/D/E/0/DE02CCED-5209-49FC-9F1B-0F86D3269D4C/sharepointclientcomponents_x86.msi


Start installing all of them one by one and you should be able to kick start your SharePoint 2013 development using Visual Studio 2012 and Microsoft Office Developer Tools for SharePoint 2013

Note: This post is respect to SharePoint Server 2013 Preview Release

July 26, 2012

SharePoint Server 2013 Preview – Development Environment Installation and Performance Experience

As everyone knows Microsoft released SP2013 Preview (Beta) last week and most of the SharePoint developers are curious to install it and few might have already started exploring. I am sure there is enough blog post around to guide you through the installation. The main intention of the blog post would be to elaborate more on the system configuration and performance from developer perspective

As we know the minimum hardware configuration is pretty high for setting up development environment, developers are worried if they can install and work with a lower configuration. I would say it’s possible but you need to be patient enough to see the “Working on It” screen for some time.

To start with I have the following hardware and software configuration

Hardware

Type
Laptop
Hard disk
500 GB
RAM
4GB DDR 3
Process
Core i7 , 1.6 Ghz

You might be assuming this is a pretty good hardware configuration, but that’s not the case with SharePoint 2013. It eats up almost 3.8 GB of Ram when you start using it and this where you start seeing “Working on it” screen for longer duration when you start creating a site collection. It took almost 5-8 minutes to create my first site collection on the default port.

If you are planning for better usage please don’t run the SharePoint Farm Configuration Wizard for all the services, as this would end up in seeing “Working on it” for almost 20 – 30 minutes.

Here is the snapshot of Physical Memory usage and Process performance




Developers who are facing issues in installing SP2013, it would save your time if you read through the Software Requirement thoroughly before you start installation. Following are the steps which I followed during my first hazel free installation of SharePoint 2013.

  • Install Windows Server 2008 R2 Standard/Enterprise, Add Roles for Active Directory Domain Services, DNS, and IIS etc.
  • Install Windows Server 2008 R2 Service Pack 1
  • Install service Pack for IIS
  • Configure Domain controller, and provide a domain name, so that you can create multiple active directory users.
  • Install Dot Net Framework 4.5 RC
  • Install SQL Server 2008 R2
  • Install SQL Server 2008 R2 Service Pack 1 for SQL Server 2008 R2 ,SQL Management Studio (Optional)
  • Run the SP Server 2013 Preview setups, and Install the prerequisites, Make sure all the prerequisites are installed successfully.
  • Runt the SP2013 Server Preview setup
  • Finally run the SharePoint configuration wizard.



I have decided to work with  the system for next 1 week, if the performance further degrades then will go ahead for upgrading my RAM from 4GB to 8GB (max configuration my laptop can support L)

Note: The above system performance will be different for different hardware configuration

July 16, 2012

SharePoint 2013 public beta has been released


The wait for SharePoint 2013 beta is over.

Microsoft released the public beta for SharePoint 2013. Download here: or
http://www.microsoft.com/en-us/download/details.aspx?id=30345

Here's a bunch of other SharePoint 2013 content 
http://www.microsoft.com/en-us/download/search.aspx?q=SharePoint%202013&p=1&r=40&t=32

Critical Path Training is providing training on SharePoint 2013, you can get more details here
http://www.criticalpathtraining.com/Pages/SharePoint+2013+Training.aspx

Lets start exploring 2013 and its new feature!!