Monday, February 22, 2010

SharePoint 2010 HOL

SharePoint 2010 developer 10 hands-on lab, This would be good start to learn SharePoint 2010 development.  The labs is available in C# and Visual Basic.

To download  SharePoint 2010: Getting Started with Development on SharePoint 2010: Hands on Labs in C# and Visual Basic

Thursday, February 11, 2010

Authentication Prompt error fix

SharePoint Web Application with Host Headers : Loopback Authentication Prompt fix

In case if you used Host Headers in your SharePoint Web Application create the system may Loopback prompt for Authentication to fix this issue?

Click Start, click Run, type regedit, and then click OK.

In Registry Editor, locate and then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

Right-click Lsa, point to New, and then click DWORD Value.

Type DisableLoopbackCheck, and then press ENTER.

Right-click DisableLoopbackCheck, and then click Modify.

In the Value data box, type 1, and then click OK.

Quit Registry Editor, and then restart your computer.

image

Install SharePoint 2010 on Windows 7 VHD Boot

To setup SharePoint 2010 development server you need to High end Laptop OR PC which must have capability to run 64bit OS either Windows 7 (Ultimate) OR Windows Server 2008 R2.

I am running my laptop Windows 7 Ultimate 64bit version, the problem is RAM I have only 3 GB RAM. I can Install SharePoint 2010 on Windows 7 OS but it is SharePoint all the time and take up lots of resources and run services which will eat up my battery very fast.

So I thought of Installing on VMWhere workstations 7.0 or Virtual box the problem is RAM I can only allocate the maximum of 1.5 GB RAM. The resource is nothing because Windows 2008 R2 needed 2.5 GB RAM and SharePoint server need another 2 to 4 GB of RAM.

To avoid above problem and maximize my resource utilization I decided to use VHD mode boot.

Create Windows 7 VHD Boot

Given below the steps and issue that I come across when I Install SharePoint 2010 on VHD boot…

Boot your machine using the Windows 7 DVD.

Make sure that you selected English (if is appropriate) Click next on the language screen.

SHIFT+F10 to launch a WinPE command console. 

Enter DISKPART to run the utility.

LIST DISK

SEL DISK 0

CREATE PARTITION PRIMARY

FORMAT FS=NTFS QUICK

LIST VOL

ASSIGN

LIST VOL

CREATE VDISK FILE=c:\VHD\SharePoint2010onWindows7.vhd MAXIMUM=40000 TYPE=EXPANDABLE

SELECT VDISK FILE=c:\VHD\SharePoint2010onWindows7.vhd

ATTACH VDISK

CRE PART PRI

FORMAT FS=NTFS QUICK

ASSIGN LETTER=V:

LIST VOL

LIST VDISK

exit DISPART

exit WinPE command prompt

Click Next and Press Install Windows 7 and Select Custom Installation and Select the Disk that you create above. once completed Windows 7

Please install below Pre-requisites software.

1. WCF Fix article for Windows 2008 R2 and Windows 7  KB976462

2. Microsoft SQL Server 2008 Native Client

3. Microsoft "Geneva" Framework Runtime

4. Microsoft Sync Framework Runtime v1.0 (x64)

5. Microsoft Chart Controls for Microsoft .NET Framework 3.5

6. Microsoft SQL Server 2008 Analysis Services ADOMD.NET

7. PowerShell V2 RTM

8. SQL Server 2008 SP1

9. .NET Framework 3.5 Service Pack 1 (Full Package) KB959209 KB967190

When you click SharePoint Server 2010 Beta Pre-requisites software installation verification the system may display follow error just ignore.

image

Since you are Installing on Windows 7, When you click Install SharePoint 2010 link the system will display following error message “Setup is unable to proceed due to the following error(s): This product requires Windows Server 2008 (x64) . To over this issue.

clip_image005

Go to SharePoint Installation unpack folder…

Go to C:\Program Files (x86)\MSECache\oserver2010

Go to the Files folder

Go to the Setup folder

Open config.xml

Add below statement on Config.xml file.

<Setting Id="AllowWindowsClientInstall" Value="True"/>

Before you start Installation, go to Start -> Control panel -> Programs -> Programs features -> Click Turn windows features turn on or off.

image

Enable Internet Information service, Application development feature, Common HTTP feature and security features.

image

image

image

Once enable start click run… SharePoint 2010 may provide you below warning… just ignore it.

image

Step 5 Error

When you move to step 5 SharePoint display below error.

System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed

image

Go to services and try to start SharePoint Server Search V4 manually. Incase If they are not getting started manually also then you might need to change the Identity to run the service to Local System.
image

The next error you get at step 8

Microsoft.Office.Server.UserProfiles.UserProfileException: The request channel timed out while waiting for a reply after 00:00:59.9980468. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.

image

Solution

Go to start Command Prompt run as Administrator

image

Enter below command to activate WCF

start /w pkgmgr /iu:WCF-HTTP-Activation;WCF-NonHTTP-Activation

The next error you get at step 8

Failed to create sample data.
An exception of type Microsoft.Office.Server.UserProfiles.UserProfileException was thrown. Additional exception information: 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)

image

Solution

Re-Start you Windows 7 and then Re-Run your SharePoint configuration wizard.

Hope this helps you,

Note : this installation based on SharePoint 2010 beta 2.

Monday, February 8, 2010

SharePointPROs.SG February 2010 meet : SharePoint 2010 List Improvements

On Thu 11th Feb 2010 I am presenting the list SharePoint 2010 List Improvements.

SharePoint 2010 List Improvements
Mohamed Faizal, NCS
Location : Microsoft Singapore Level 22 CF22
Timing 7:00pm to 8:30pm

In this session you will learn SharePoint 2010 List Improvements such as

• Column Validation,
• List Validation Settings,
• List Lookups and Relationships,
• List inline editing and
• Listing customization on Info path.
• Form Web part

About the Speaker

Faizal has over a decade of experience in Information Technology with a focus on enabling portals, Internet and Intranet. His area of specialisation include but are not limited to evaluate and develop migration strategies for Lotus Notes application to SharePoint/.NET based solution, design content management, web-based self service and collaboration solutions.