Install and develop SharePoint applications on Window 7 – 64 Bit

I used to develop web parts in windows 2008 server and it was pretty sluggish and felt bad to use a server OS as a desktop machine. So I thought could try installing SharePoint over windows 7. I came across issues on first install and gave up and went back to windows 2008. Once I was bored and was keen to find out a way to install SP on windows 7  and finally succeeded.

Install Procedures

Install Visual studio 2008 with SQL express edition( this will be used as a DB server)

I would Thank Bamboo solution for the post http://tinyurl.com/wssonwin7

Do the following steps mentioned in the above post link and while configuring in the below stage

config_5F00_2[1]

use .\SQLEXPRESS this is your internal Express edition instance and your system login credentials.

finally use the create application to create a base site. Some time you may face an issue the create application may be hidden in the central administration.

Run Internet Explorer as Administrator to resolve 😛

Development

I have been using Visual Studio Extensions – VSS 1.2 for a long time with no issues but tried installing VSS 1.3 and it turned out odd and didn’t work pretty well on the first try but finally succeeded. VSS1.3 looks cool has lot new features ease of deployment and debugging.

VSS 1.3

If you face any issues in using VSS1.3 first check the web service running in the IIS namely VSSEWSS try to open the address in browser and it should open up with a default page or try you need to register WCF with IIS and update its scriptmaps. to do this,

  1. Navigate to %SystemRoot%\Microsoft.Net\Framework\v3.0\Windows Communication Foundation\
  2. Execute ServiceModelReg.exe -i

more info on this tool can be found here:

http://msdn.microsoft.com/en-us/library/ms732012.aspx

VSS 1.2

If you plan to go with VSS 1.2 over 64 Bit use this tool ORCA MSI Editor to remove 32 Bit check

1. Run VSeWSSv12.exe

2. Copy C:\Program Files (x86)\MSECache\vsewssv12.en-us to a temp folder

3. Open Orca (from the platform SDK) and load VSeWSSv12.msi

3. Remove the following lines

  • InstallExecuteSequence>X64System
  • InstallUISequence>X64System
  • InstallExecuteSequence>WSSNotInstalled
  • InstallUISequence>WSSNotInstalled

4. Run edited MSI

Download Links

WSS 3.0 32 Bit http://tinyurl.com/wss3sp2x86

WSS 3.0 64 Bit http://tinyurl.com/wss3sp2x64

VSS 1.2 32 Bit http://tinyurl.com/vss12

VSS 1.3 32 Bit http://tinyurl.com/vse13-x86

VSS 1.3 64 Bit http://tinyurl.com/vse13-x64

ORCA http://www.technipages.com/wp-content/uploads/2007/11/orca.Msi

Feel free to comment if you face any issues that may help others.

Advertisements

4 thoughts on “Install and develop SharePoint applications on Window 7 – 64 Bit

  1. Hi,
    I installed moss on my windows 7 and I also installed the wss 3.0 sdk. I created a test web part and published. Everything works fine, but when I created a console app to open the web I get object reference not set error

    SPWeb web = SPContext.Current.Site.OpenWeb(“http://rhossein-pc:8092/”);

    Are you getting this error also?

    thanks in advance

    1. Hi Roham,

      The approach you have used can be used in web parts. In the console application SPContext would be null.

      You can use this approach

      SPSite site = new SPSite(“http://rhossein-pc:8092”);

  2. Hello,

    After following instructions above, VSSEWSS worked fine in IIS on my Windows 7 Professional- (MOSS 2007 and VSS 1.3 using Bamboo solutions),
    However while trying to deploy I get the error below:-
    The HTTP request is unauthorized with client authentication scheme ‘Negotiate’. The authentication header received from the server was ”.
    Please help.

    Thanks
    Kedar

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s