Monday, November 30, 2009
Searching internal documents is not working. The search service indexes all the documents ok, no errors in the logs etc but no results are displayed
Sunday, November 08, 2009
Team Collaboration lists such as Calendar, Tasks lists are unavailable within moss publishing site - How do i fix this?
An error occurred during the compilation of the requested file, or one of its dependencies. The type or namespace name 'Publishing' does not exist
The easiest solution I have found to solve is to include the following snippet below your includes in your master page.
<%@ Register Tagprefix="PublishingWebControls" Namespace="Microsoft.SharePoint.Publishing.WebControls" Assembly="Microsoft.SharePoint.Publishing, Version=184.108.40.206, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="PublishingNavigation" Namespace="Microsoft.SharePoint.Publishing.Navigation" Assembly="Microsoft.SharePoint.Publishing, Version=220.127.116.11, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="PublishingVariations" TagName="VariationsLabelMenu" src="~/_controltemplates/VariationsLabelMenu.ascx" %>
<%@ Register Tagprefix="PublishingConsole" TagName="Console" src="~/_controltemplates/PublishingConsole.ascx" %>
<%@ Register TagPrefix="PublishingSiteAction" TagName="SiteActionMenu" src="~/_controltemplates/PublishingActionMenu.ascx" %></strong>
Saturday, November 07, 2009
How to fix the issue "A feature with ID ... has already been installed in this farm. Use the force attribute to explicitly re-install the feature."
stsadm -o deploysolution -name MyBranding.wsp -immediate -force
stsadm -o execadmsvcjobs
stsadm -o activatefeature -name Mybranding -url http://testurl -force
Monday, October 05, 2009
- mosssetupUSER – Pass@word1 – Moss Setup user – Member of: Administrator – SQL: dbcreator and security-admin
- sqlserversrvc – Pass@word1 – User to create db’s and sql configs – Member of: Administrator – SQL: dbcreator and security-admin
- caapooldbaccessUSER – Pass@word1 – caa app pool USER acct and to access db – Member of: Administrator – SQL: dbcreator and security-admin
- sspappool@AIFSMOSS.local – Pass@word1 = SSP App Pool Identity – User rights and entitlements assigned automatically
- sspserviceUSER – Pass@word1 – SSP Timer/Web Services – User rights and entitlements assigned automatically
- WssSearchSrvcUSER – Pass@word1 – used for wss search – User rights and entitlements assigned automatically
- searchcontentaccessUSER – Pass@word1 – default user for search content access – User rights assigned automatically
- searchspccontentaccessUSER – Pass@word1 – user for search specific content access – read access to external content source
- userprofilesaccessUSER – Pass@word1 – USER who access the AD and user properties – read rights to AD
- excelservicesUSER – Pass@word1 – USER to access excel content soruces – read rights to excel content sources
Thursday, August 13, 2009
1) A farm disaster happened but luckily you had your scripted backup of your farm. But when you restore, web parts are throwing errors
2) Unable to isolate the WebPart errors as the WebParts were manually installed
3) What about WebPart dependencies? Forgot to restore them!
4) Ok I got the WebPart somehow working (VS debugging etc) but wait where are the images?
5) What about the killer Web.config changes in new farm? Did you back that up too?
6) Now that you fixed the WebPart and customizations somehow, how will you deploy this fix to each server in the farm - manually? What if there are 16 servers in the farm?
Bottomline, always wrap up your customization as a solution package (WSP) prior to deploying to MOSS farm. Even your custom Cascading Style Sheet (CSS) files, .aspx pages, and master pages will need to be deployed via WSP if they are to be used farm-wide. As a general rule, if the item in question will affect the entire farm it will likely need to be deployed via WSP.
1. Wrap the web part as a *.dll to be deployed to the web application BIN directory to ensure that code access security can be applied.
2 .Create a *.webpart XML file that will specify the above *.dll, namespace, and class for the Web Part and defines properties for it.
3. Create a Feature.xml file that is one of two files used to copy the .webpart XML file to the Web Part gallery of the site collection.
4. Create an Elements.xml file that is one of two files used to copy the .webpart XML file to the Web Part gallery of the site collection.
5. Write a safe control entry for the web application's web.config file that grants permission for your Web Part to run.
6. Set Code access security policies that define what the Web Part will be allowed to do
Once you finish coding your webpart, create a deployment package (*.WSP) before installing/deploying to your farm
Wednesday, July 29, 2009
- Bamboo Solutions "Mashpoint" - Access external data sources directly from SharePoint, visualize and interact with them via Web Parts or custom applications
- Idera SharePoint Performance Montoring Tool - Free tool that enables easy monitoring of critical performance counters for SharePoint, IIS and Windows Operating Systems.
- AvePoint FREE Tool for Item-level SharePoint Restores - delivering full fidelity, item-level restore capabilities directly from live SQL and DPM databases and backups.
- Quest SharePoint Discovery Wizard - Find out how many Microsoft SharePoint servers, site collections or sites are on your network. Discovery Wizard for SharePoint freeware gathers critical data about your SharePoint inventory and displays the discovered results in two easy-to-read, HTML reports.
Friday, July 24, 2009
2. Develop a web part (VS project) to implement Bing.com Suggest type functionality using AJAX, .NET 3.0 and SharePoint Web services (you probably need the real code here huh! Email me if you need more information :)
3. Use the AutoComplete Extender in the Toolkit above by copying all the code out of the AutoComplete folder and paste into your web part project (as created in Step 2).
4. Compile and through errors and warnings find and add missing references, add more code files from the Toolkit as needed. Many common files were needed. Note that you need to set any .JS files to EmbeddedResources.
5. Use the MOSS 2007 Search API to build a ASP.NET Web Service to return a list of results based on input string value (keyword). Note that you need to host this web service within the same website (same port) as the Sharepoint site itself. Also dont forget to grant CAS trust for the Web Service assembly.
6) Post a comment if you successfully created the Bing.com type ahead search in MOSS, using the above steps
Wednesday, July 15, 2009
Finally some public words from Microsoft on its upcoming version of SharePoint 2010 at the 2009 WPC and the Microsoft SharePoint website (http://sharepoint.microsoft.com/2010/Sneak_Peek/Pages/default.aspx). Here are my list of features to get excited about:
1)Introducing VISIO Services
* Create rich LoB data integrated dynamic Visio diagrams that can be viewed and edited via the browser
* Ribbon based one/two click UI (can be switched off by power user or admin). And wait your MOSS 2007 sites UI will still look the same with 2010 due to backward compatibility support
* OOB support for cross browsers like FireFox, Apple Safari and "others" :)
* Rich Theming and "Web Edit" feature (edit any web part on any page in place incl. an enhanced WYSIWYG user experience)
3) Media Integration
* Sliverlight WebPart - host videos
* Office 2010 Integrated Media WebParts
4) LoB Integration
* Introducing Business Connectivity Services (BCS) - enhanced BDC that supports Read-Write operations into Line of Business Applications.
* Use SharePoint as a connector to edit (offline edit support) LoB data through Office Apps (like Word, Excel). Watch out from SharePoint Workspace "Groove 2007 on Steroids"
5) Developer & Admin Life "Made easy"
* Intiutive and reorganized Central Admin with a feature boost. Stay tuned for more...
* "Developer Dashboard" exposes debugging information to developers on any page.
* "No Item Limit" Libraries or Lists (the days of 2000 items are so gone)
* A built in "Best Practices Analyzer" for a quick Admin health check
* LINQ Support
6) Need more information??? Visit the SharePoint Conference 2009 in person at Las Vegas - http://www.mssharepointconference.com/Pages/default.aspx
Wednesday, April 15, 2009
To do this, first go to your Active Directory Management Console and hopefully you have the Exchange AD Management Plugin installed also (make sure you download this plugin from MS - http://www.microsoft.com/downloads/details.aspx?FamilyID=6be38633-7248-4532-929b-76e9c677e802)
1. Click on the Exchange Advanced Tab
2. Click Custom Attributes
3. Use one of those extensionAttribute values to store your custom information.
4. OK out of AD.
Now goto MOSS Central Admin and do the following:
5. Go to your Shared Services Provider
6. Under User Profiles and My Sites click on User profiles and properties
7. Click on View Profile Properties at the bottom of the page.
8. Add a Custom Property (For e.g. "RCNumber")
9. Select “Do not allow users to edit values for this property”
10. In the Property Import Mapping Section change the Data source field to map: to your corresponding extensionAttribute# (created above) and hit OK.
Do a full user import and your custom attributes should get populated into MOSS
Thursday, April 02, 2009
When i try enabling Windows SharePoint Services Help Search i get an error - SPSearch (administrator)
AS A RULE OF THUMB, WHEN YOU CONFIGURE SEARCH OR ANY SHARED SERVICES IN MOSS AND YOU ARE PROMPTED FOR USERNAME ALWAYS APPEND THE DOMAIN NAME IN FRONT OF THE USERNAME
Wednesday, March 11, 2009
2) Right click and select Properties
3) Select HTTP Headers tab and you should be able to see a custom HTTP Header called "MicrosoftSharePointTeamServices" with a version number by its side.
4) Compare with table below to see what updates for MOSS your farm has installed:
- MOSS 20071 or WSS 3.0 Cumulative update (KB956056 & KB956057) 18.104.22.16827
- MOSS 20071 or WSS 3.0 Infrastructure Update (KB951695 & KB951297) 22.214.171.12418
- MOSS 20071 or WSS 3.0 post-SP1 hotfix (KB948945) 126.96.36.19903
- MOSS 20071 or WSS 3.0 post-SP1 hotfix (KB941274) 188.8.131.5201
- MOSS 20071 or WSS 3.0 post-SP1 hotfix (KB941422) 184.108.40.20600
- MOSS 20071 or WSS 3.0 SP1 220.127.116.1119
- MOSS 20071 or WSS 3.0 October public update 18.104.22.16839
- MOSS 20071 or WSS 3.0 August 24, 2007 hotfix package 22.214.171.12436
- MOSS 20071 or WSS 3.0 RTM 126.96.36.19918
- MOSS 20071 or WSS 3.0 Beta 2 TR: 188.8.131.5207
- MOSS 20071 or WSS 3.0 Beta 2: 184.108.40.20617
- Office 12 (PDC image - pre-beta): 220.127.116.1111 (This version of Office does not have a support link in the Add/Remove programs dialog box).