How to create a feature receiver that update a theme

Pre request: · Windows Server 2003 SP1 or above · Visual Studio 2008 Pro or above · Visual Studio Extension for SharePoint 1.3 CTP or later Steps: Start Visual Studio Create a SharePoint project using Empty template · =>File=>New=>Project · Visual C#=>SharePoint=>Empty · Type name as MyThemeFeature · Select FullTrust(Deploy to GAC) on the Select…

1

How to search Contoso Business Data Catalog (BDC) in SharePoint Guidance

Pre request: Install Visual Extension for SharePoint 1.3 CTP https://connect.microsoft.com/Downloads/DownloadDetails.aspx?SiteID=428&DownloadID=15946 Install the TypeMock 5.21 or later (not required if you don’t want to run the test project)http://www.typemock.com/Downloads.php Run on the command prompt: “C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe” –I Download the Source code drop · Download SPG v2 Iteration 2 Drop from http://www.codeplex.com/spg ( http://www.codeplex.com/spg/Release/ProjectReleases.aspx?ReleaseId=22570 ) · Don’t…


How to fix the error when restarting Windows SharePoint Services Search

If you stop the “Windows SharePoint Services Search” and start it again using: Central Administration=>Operations=>Services on server=>Windows SharePoint Services Search=>Stop Central Administration=>Operations=>Services on server=>Windows SharePoint Services Search=>Start You might get the following error: database_name on np:\\.\pipe\MSSQL$Microsoft##SSEE\sql\query contains user-defined schema.  Databases must be empty before they can be used.  Delete all of the tables, stored procedures…

2

How to Publish SharePoint Content from an Authoring Farm inside Corporate Network to a Production Farm in DMZ

How to Publish SharePoint Content from an Authoring Farm Inside Corporate Network to a Production Farm in DMZ Introduction This article is based on my experience on development and testing Microsoft SharePoint Guidance 2.0 for Microsoft Patterns and Practice team. We are writing a reference implementation for MOSS 2007. The RI simulates a company named…

1

How to lock down /_layouts/people.aspx page for SharePoint 2007 and Microsoft Office SharePoint Server 2007

You can lock down the /_layouts/people.aspx page for all uses (except “Full Control” users) by doing the following steps: 1. Login on the top site (not the central admin site) of your site collection as  a site collection admin or a full control user. 2. Click: Actions->Site Settings->People and Groups 3. Click: All People 4….

2

Fix for the failure when running patterns & practices SharePoint Guidance Integration and Build Verification Tests

If you failed running the test cases for BVT, do the following to fix it. read bvt_integration_tests_readme.txt. make sure that that Contoso training site is running. For example, having http://localhost/training running as a Contoso training site. Open Config.cs file under HelperClasses folder. make sure the following: siteURL is the running training site you want to…


Hello From Hanz

My blog is up

1