How to get MOSS 2007 dev. environment set up in Vista with sample project.



Similar documents
SharePoint Wiki Redirect Installation Instruction

Microsoft Business Intelligence 2012 Single Server Install Guide

Using Internet or Windows Explorer to Upload Your Site

Virto Create & Clone AD User Web Part for Microsoft SharePoint. Release Installation and User Guide

Windows Intune Walkthrough: Windows Phone 8 Management

DocAve Upgrade Guide. From Version 4.1 to 4.5

How to Scale out SharePoint Server 2007 from a single server farm to a 3 server farm with Microsoft Network Load Balancing on the Web servers.

SchoolBooking SSO Integration Guide

Virto Password Reset Web Part for SharePoint. Release Installation and User Guide

All of the IntelliGanttt functions are accessed directly in Microsoft Project from the IntelliGanttt menu on the menu bar.

Zanibal Plug-in For Microsoft Outlook Installation & User Guide Version 1.1

HarePoint Password Change Manual

Colligo Contributor File Manager 4.6. User Guide

HarePoint Active Directory Self Service Manual

USING MS OUTLOOK WITH FUS

ACTIVE DIRECTORY DEPLOYMENT

Team Foundation Server 2013 Installation Guide

This tutorial provides detailed instructions to help you download and configure Internet Explorer 6.0 for use with Web Commerce application.

Item Audit Log 2.0 User Guide

Metalogix Replicator. Quick Start Guide. Publication Date: May 14, 2015

Virto Active Directory Service for SharePoint. Release Installation and User Guide

Snow Active Directory Discovery

Nintex Workflow 2010 Installation Guide. Installation Guide Nintex USA LLC, All rights reserved. Errors and omissions excepted.

USING MS OUTLOOK. Microsoft Outlook

USING OUTLOOK WITH ENTERGROUP. Microsoft Outlook

How to move a SharePoint Server bit environment to a 64-bit environment on Windows Server 2008.

DataCove. Installation Instructions for Search Plug-in for Microsoft Outlook 2007 & 2010 (All Users)

Getting Microsoft Outlook and Salesforce in Sync

How to configure the DBxtra Report Web Service on IIS (Internet Information Server)

Install MS SQL Server 2012 Express Edition

Learn how to create web enabled (browser) forms in InfoPath 2013 and publish them in SharePoint InfoPath 2013 Web Enabled (Browser) forms

FlexSim LAN License Server

DEPLOYING A VISUAL BASIC.NET APPLICATION

SharePoint List Filter Favorites Installation Instruction

On-premise and Online connection with Provider Hosted APP (Part 1)

How to remotely access your Virtual Desktop from outside the college using VMware View Client. How to guide

Local Touch Global Reach. SharePoint.

Configure Single Sign on Between Domino and WPS

Step-By-Step Guide to Deploying Lync Server 2010 Enterprise Edition

Shopping Cart Software

SharePoint Password Change & Expiration 3.0 User Guide

Installation Guide - Client. Rev 1.5.0

inforouter V8.0 Server Migration Guide.

Add in Guide for Microsoft Dynamics NAV May 2012

Team Foundation Server 2010, Visual Studio Ultimate 2010, Team Build 2010, & Lab Management Beta 2 Installation Guide

M4 Systems. Remittance (ER) User Guide

Desktop Deployment Guide ARGUS Enterprise /29/2015 ARGUS Software An Altus Group Company

Defender Token Deployment System Quick Start Guide

How To Install Vembu Onlinebackup On Windows (Windows) (Windows 7) (For Windows) (Powerbook) (Winstone) (Vembu) (Program) (Procedure) (

SafeWord Domain Login Agent Step-by-Step Guide

Important Notes for WinConnect Server VS Software Installation:

SQL Server Business Intelligence

4cast Client Specification and Installation

HOWTO: Installation of Microsoft Office SharePoint Server 2007

This How To guide will take you through configuring Network Load Balancing and deploying MOSS 2007 in SharePoint Farm.

Montefiore Portal Quick Reference Guide

Out n About! for Outlook Electronic In/Out Status Board. Administrators Guide. Version 3.x

SharePoint AD Information Sync Installation Instruction

SUMMARY Moderate-High: Requires Visual Basic For Applications (VBA) skills, network file services skills and interoperability skills.

Option 1 Using the Undelete PushInstall Wizard.

CS106B Handout #5P Winter January 14, 2008

Using SMIGRATE to Backup, Restore and Migrate Team Sites in SharePoint Products and Technologies 2003

Microsoft Corporation. Project Server 2010 Installation Guide

Metalogix SharePoint Backup. Advanced Installation Guide. Publication Date: August 24, 2015

Remote Desktop Solution, (RDS), replacing CITRIX Home Access

How To Install Powerpoint 6 On A Windows Server With A Powerpoint 2.5 (Powerpoint) And Powerpoint On A Microsoft Powerpoint 4.5 Powerpoint (Powerpoints) And A Powerpoints 2

User Manual. Onsight Management Suite Version 5.1. Another Innovation by Librestream

Eylean server deployment guide

Welcome to the QuickStart Guide

Installation and Upgrade Guide

Cascaded Lookup 5.0 User Guide

How To Backup Your Computer With A Remote Drive Client On A Pc Or Macbook Or Macintosh (For Macintosh) On A Macbook (For Pc Or Ipa) On An Uniden (For Ipa Or Mac Macbook) On

The Social Accelerator Setup Guide

Microsoft Office 365 with MailDefender

STEP BY STEP IIS, DotNET and SQL-Server Installation for an ARAS Innovator9x Test System

Where do you go to get started? Please see the table below to find the web address for your division.

Transition from Pegasus Mail To Exchange/Outlook 2003

Prepared by Mythtech Limited OFFICE 365 MIGRATION MANUAL GUIDELINE

Power Update - Documentation Power Update Manager

Add in Guide for Microsoft Dynamics CRM May 2012

Working with Structured Data in Microsoft Office SharePoint Server 2007 (Part1): Configuring Single Sign On Service and Database

SP Term Cloud Installation

SecureAware on IIS8 on Windows Server 2008/- 12 R2-64bit

PLEASE NOTE: The client data used in these manuals is purely fictional.

Pearl Echo Installation Checklist

Contents First Time Setup... 2 Setting up the Legal Vault Client (KiteDrive)... 3 Setting up the KiteDrive Outlook Plugin Using the Legal Vault

1703 Discovering SharePoint 2007 for Developers

SpamTitan Outlook Addin v1.1 Installation Instructions

Chapter 3 Installing Foundation 2013 onto Windows Server

Rev. 06 JAN Document Control User Guide: Using Outlook within Skandocs

Reporting Installation Checklist

CHARTER BUSINESS custom hosting faqs 2010 INTERNET. Q. How do I access my ? Q. How do I change or reset a password for an account?

isupplier PORTAL ACCESS SYSTEM REQUIREMENTS

Client Configuration Guide

Developing, Deploying, and Debugging Applications on Windows Embedded Standard 7

Sophos for Microsoft SharePoint startup guide

Migrating helpdesk to a new server

Getting started with 2c8 plugin for Microsoft Sharepoint Server 2010

Chapter 28: Expanding Web Studio

TSM for Windows Installation Instructions: Download the latest TSM Client Using the following link:

Transcription:

How to get MOSS 2007 dev. environment set up in Vista with sample project. 1. Download MOSS 2007 SP1 setup file from Microsoft. Or use the OfficeServerwithSP1.exe file in the installers folder. 2. Download the WssForVista.Install.zip from http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2008/05/21/how-toinstall-windows-sharepoint-services-3-0-sp1-on-vista-x64-x86.aspx 3. Run the setup.exe file from the zip file downloaded in Step 2. 4. Then run the SetupLauncher.exe from C:\Program Files\WssOnVista\Setup\ 5. It will ask for the location of SharePoint installer. So point it to the setup file downloaded in Step 1. 6. Use the following key when prompted: Key: F6YVR-4XY7K-RCVY4-37FBK-G44PY

7. If everything goes well, you should see this

8. The wizard should then launch the SharePoint Products and Technologies Configuration wizard. 9.

10. Select No, I want to create a new server farm.

11. And then this might happen! That is, a utility with an awesome name, that you ve never heard of before and have no clue about what it does, would stop working. So what do you do? You click Close program and continue.

12. Crap! Then this also might happen. That is, a Visual C# Command Compiler, this one you have heard of before, of course, would stop working. So what do you do this time? Same as last time - You click Close program and continue.

But this time, you are out of luck. The configuration fails and politely lets you know that as shown below. Remember the installation was successful. It is the configuration that failed.

Alright.now what? Now nothing. Just run the configuration wizard again from your Start menu.

Follow the same steps as did earlier in the first attempt, until you hit the point where it tells you the sharepoint_config db already exists. Whaa??? It turns out that when configuration fails, it doesn t roll back the db stuff. So you ll have to delete sharepoint_config db and the other weird looking db before you run this wizard again.

And hit next and you are done! TA DA!

You click finish and it will take you to the SharePoint Central Administration url i.e. http://<your_computer_name>:<whatever_port_number_was_assigned during_sharepoint_installation> In my case, it is http://trifectra:8361/ You will be prompted to login against Active Directory.

On successful login, here s what you ll see. And you are done! YAY!!!

Visual Studio 2008 Set up 1. Download and install VS 2008 extensions for WSS 3.0 from Microsoft - http://www.microsoft.com/downloads/details.aspx?familyid=7bf65b28-06e2-4e87-9bad- 086e32185e68&DisplayLang=en or use VSeWSSv12.exe in the Installers\ WSS 3.0 Extensions for VS 2008 folder. 2. Take a look at what MS has to say about these extensions. I have highlighted the important section that we care about.

3. Run the installer and here we go.

WSPBuilder VS 2008 Add-in 1. Download and install WSPBuilder Visual Studio 2008 Add-in from here - http://www.codeplex.com/wspbuilder or run the setup.exe from the Installers\ WSPBuilder Extensions 1.0.3 folder.

2. Now before we start coding, we need to create a new web application and a new site under this web application, that will use the web part we are about to write. Let s do that now. So go to Sharepoint Central Administration url on your browser. For example, http://trifectra:8361 or from the start menu short cut as shown below.

Here are some sample fields and their corresponding sample values you could set. IIS Website Description = http://wspbuilderproject2 DB name: wss_content_wspbuilderproject2 Application Pool: Wspbuilderproject280 Use a domain account to run the application pool and not the network service (ran into issues with network service. Can t remember what though. Sorry yeah but don t use it. )

After creating the web application, open up the hosts file (in C:\Windows\System32\drivers\etc) and add an entry for this new web application. For example, 127.0.0.1 wspbuilderproject2

And then create a site under this new Web application.

Set the title of the site to your project name for now. Under Template Selection section, I used the collaboration template in Publishing tab as show below. (No special reason)

And you are done! (Well not really you are now ready to build a web part is what I meant by done)

Sample web part project 1. Use WSPBuilder s project template in VS 2008 to create a new SharePoint feature project.

Now right click on the project in the solution explorer and Add a new web part *without feature*

Now open up the WebPart1.cs class under the WebPartCode folder. The code in the class is pretty straightforward and self explanatory. All it does is add a LiteralControl that displays Hello Sharepoint on the page.

Now let s try to build and deploy this little Hello Sharepoint web part in our new SharePoint site. So right click on the project in Solution Explorer and click on WSPBuilder and click Build WSP.

If it works well, then you should see the Done! message as shown below.

Now click Show All Files in Solution Explorer

And you should see the wsp file as shown below. Include that in the project. (Not necessary but good practice).

Now right click on the project and click WSPBuilder and Click Deploy.

If it deployed it successfully, you should see this.

Now let s go see if this webpart1 exists in our SharePoint portal. Go to the site url. Login. In my case, http://wspbuilderproject2/

Click Edit Page and On the right side bar, Click Add Web Part Zone.

Select the web part we just added in the pop up window under All Web Parts section.

Click Publish and you are done! Congratulations! Your web part is now a part of the site. Now let s make a change to this hello sharepoint web part and try to deploy it again (this time using the upgrade option in WSPBuilder context menu. Change the text from hello sharepoint to hello sharepoint. I am your father.

Now right click on the project and click WSPBuilder and Click Upgrade. It should compile the project first, build the wsp and deploy the upgraded solution file.

Yes.

Now let s go check if the Webpart hello sharepoint now says hello sharepoint. I am your father. Go to the page. And hit refresh.

Sweet! Now one last thing before we wrap up. If you want to be able to debug and step into the code, attach the IIS worker process to the IDE *using the Attach to IIS worker processes feature in WSPBuilder s menu* as shown below and not using the Visual Studio s Attach Process feature (doesn t work because it can t find the symbols (PDB files) for the DLLs. You can copy the PDBs from the Debug folder and put in the GAC_MSIL ( in the same folder as the DLLs that just got deployed), it still won t work. It says PDB image does not match the DLL or something like that)

Set a breakpoint somewhere in the code. Ctrl + Alt + U to see the modules loaded after you attach the process. And you can see that the DLLs have been loaded and the PDBs attached. Now go to the page that has the web part, hit refresh and bingo! Your breakpoint has been hit!

And with that, I conclude this tutorial. Hope this helps.