Setting Up the Development Environment for SharePoint 2010 on Windows 7 (Fixed)

  • 0
  • May 6, 2011
Sanjay Zalke

Sanjay Zalke

.Net Developer

If SharePoint 2010 is targeted to Windows Server 2008 R2, then a quick question flashes to my mind, what about the development environment? Do development machine have to be a server class machine with Server OS? How can I setup the development environment on my development machine without Windows Server 2008 R2?

SharePoint 2010 is evolution of various different technologies which already existed prior to 1997. There are two major parts to SharePoint products and their development, SharePoint Foundation and SharePoint Server.

SharePoint technology is highly integrated in all the Microsoft product range, that sometimes we didn’t even notice the existence of the SharePoint technology in the products we use day-in day-out, like Team Foundation Server. You might be surprised to know that all major products released in recent years are based on – or capable of – integrating with SharePoint Technologies. From Microsoft Office to Microsoft CRM or AX, from Microsoft Projects Server to Team Foundation Server.

Evolution:

SharePoint Foundation 2010 is an evolution of Microsoft Windows SharePoint Services. Previous versions include:

  • Windows SharePoint Services 3.0
  • Windows SharePoint Services 2.0
  • SharePoint Team Services

 

SharePoint Server 2010 previous versions include:

  • SharePoint Server 2007 (MOSS)
  • SharePoint Server 2003
  • SharePoint Server 2001
  • Site Server

Set-up Development Environment:

The first and most important hurdle in SharePoint development is not having complete control on configuration management on source code, and lack of off-site development (Visual Studio style). Now I tried to setup development environment on my Windows 7 64bit machine, but even after following word-for-word from the official article from Microsoft I was still unable to cross the hurdles.

On step 2.2 in the above article, I was stuck with problems. The official reply from Microsoft is:

Unfortunately we have a bug where the N editions of Windows 7 do not work. Apart from that, you can install the public beta of SharePoint Server 2010 or SharePoint Foundation 2010 on any Windows 7 or Windows Vista edition that is x64 and comes with IIS.

Yes, but what is workaround? Luckily, whilst going through comments, I noticed someone had underlined issues with self-extracting executable. So the downloaded executable file is a self extracting zip file, I quickly use WinRAR to extract but unfortunately ended up in error “the language of this installation package is not supported by your system”. Oh dear!

In the above article the author is using this command line to extract the file,

But I don’t have any “SharePoint” named command or script apart from the original “SharePointFoundation.exe”, so I have to change my command to my file name,

Yahoo! The first hurdle is over, next was on step 3.5, again I came across a problem. I had more up-to-date patches than those recommended by the above article. I quickly realised this article was written prior to release of SQL server service pack2, so I just ignored the step.

And here it is, the development environments for SharePoint Foundation 2010 and SharePoint Server 2010 are fixed. That raises couple of questions in my mind, even after a year – why did Microsoft not fix a minor installation issue in their installation process? It is really a minor issue from the end user point of view, as the self extractor have some issues with Windows 7 and IIS security model.

Free of charge. Unsubscribe anytime.