Gunnar Peipman's ASP.NET blog

ASP.NET, C#, SharePoint, SQL Server and general software development topics.

Sponsors

News

 
 
 
 
 
Programming Blogs - Blog Catalog Blog Directory
 
 
 

Links

Social

Running SharePoint on Windows 7

I tried to put up SharePoint development environment on Windows 7 and guess what – I succeeded. I took smaller challenge and installed WSS 3.0 SP2. Of course, you can also install SharePoint Server instead of WSS. On my machine WSS 3.0 uses SQL Server 2008 Express edition as database. For MOSS 2007 you should have SQL Server 2008 Developer edition.

Here is the step-by-step guide to get SharePoint development environment up and running on Windows 7. I assume you have Visual Studio already installed. My laptop has 32 bit architecture, so I am not sure if WSS works also on 64 bit Windows 7 the way described below.

  1. Follow the instructions given in Bamboo Team Blog entry How to install Windows SharePoint Services 3.0 SP1 on Vista x64/x86. Follow these instructions *EXACTLY* to get things work. When you insert computer name or SQL Server address then don’t use (local) or localhost – SharePoint installer cannot understand later what is going on. Use your machine name (windows7\username, windows7\SQLEXPRESS) and install goes smoothly.
  2. You may have problems with SharePoint Central Administration site because some menu options are missing. In this case you must run IE in administrator privileges as described in thekid.me.uk blog entry Missing Create or Extend Web Application in Central Administration. If you still have problems you may find some help from Bamboo Nation forum thread Access Denied to extendvs.aspx.
  3. Install Windows SharePoint Services SDK.
  4. Install VSeWSS 1.2. There is said that VSeWSS 1.2 requires Windows Server 2003 or Windows Server 2008. Don’t get confused – you can install VSeWSS on Windows 7 without any problems.
  5. Before deploying features to your fresh installation you must change permissions of SharePoint services. I found these accounts to be work without problems for services. 

    Service

    Account

    Windows SharePoint Services Administration Local System
    Windows SharePoint Services Search Local Service
    Windows SharePoint Services Timer Local System
    Windows SharePoint Services Tracing Local System
    Windows SharePoint Services VSS Writer Local System

Now your development environment is ready. You can create your test site and deploy your features to it.

To test web part deployment I wrote simple web part that prints out testing message. If you don’t have web part to test deployment you can use my TestPart (ZIP archive with source code and deployment files). Result should be something like this.

 

I suggest you to run Visual Studio as administrator so you can be sure you have enough privileges to deploy your features.

Comments

Abdel said:

Thanks.. i am planning to install WSS on my Windows 7 machine.. :-) keep up the good work

# May 7, 2009 3:33 PM

Steven Fowler said:

Thanks for sharing with the community. I will be setting up MOSS and Win 2k8 soon.

# May 7, 2009 3:50 PM

Links (5/7/2009) « Steve Pietrek – Everything SharePoint and Office said:

Pingback from  Links (5/7/2009) « Steve Pietrek – Everything SharePoint and Office

# May 7, 2009 9:16 PM

Splibit said:

This is just awful! I've been fighting all day to try to get programs to work with Windows 7 and I've come to the conclusion that it is pointless.

Maybe Microsoft should stop feverishly shipping shoddy software and focus on making all of their CURRENT products work together! No group should be allowed to ship a product that does not work across all platforms, processors, etc. I have a "top of the line" 64-bit machine running Windows 7 and I can't do diddly squat! Why? Because not all programs support 64-bit and/or Vista (Windows 7). STUPID!!

# May 11, 2009 6:11 PM

Claudio said:

Thanks

I did it!!!

My first try was wrong but after read your post I get it!!

Thanks again

# June 12, 2009 9:24 AM

Syed Atif Imtiaz said:

Hey man, you did a nice job, i have installed SharePoint on Windows 7.

Thanks Man.

# August 25, 2009 12:52 PM

Balaji said:

Hey Dude

Every thing works fine except the deployment in wssvse 1.2

I am using Win 7 RTM 64 bit.

I am getting the following error

Object reference not set to an instance of an object.

Any help appreciated.

# November 3, 2009 6:35 AM

Balaji said:

I found the solution

you need to register WCF with IIS and update its scriptmaps. to do this,

navigate to %SystemRoot%\Microsoft.Net\Framework\v3.0\Windows Communication Foundation\ and execute

ServiceModelReg.exe -i

more info on this tool can be found here:

msdn.microsoft.com/.../ms732012.aspx

Thanks kaevans !!!!

blogs.msdn.com/.../installing-vsewss-1-3.aspx

# November 3, 2009 7:20 AM

DigiMortal said:

Hi Balaji! At what moment you get this error? Are you getting this error when deploying solution?

# November 3, 2009 12:10 PM

Balaji said:

I got this error when trying to deploy a solution from vs 2008 using the vss 1.3 extensions

I have Blogged it here

balajiindia.wordpress.com/.../install-and-develop-sharepoint-applications-on-window-7

# November 17, 2009 4:58 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)