SharePoint & more
Powershell Commands for SharePoint 2010
Mar 19th
Here are some (over 400) powershell commands for SharePoint 2010! These can be run remotely (Powershell 2.0).
Stsadm will still be functional in SharePoint 2010. Powershell is not DOS based. Its .NET based.
Hope you find these useful in the future. Be sure to bookmark this page for future reference.
More >
Expand your web server – Free IIS features – URLrewrite, Silverlight video streaming, Powershell, URLScan and more!
Mar 16th
IIS has greatly changed since I did my MCSE in Windows NT4.0! I did the MCSE+I in the year 2000. The I stood for “Internet” which was essentially IIS.
Now we have IIS 7 and 7.5 and is now built on an open & modular architecture that allows you to customise and add new features through IIS Extensions that are free to use.
Here are some useful extensions that may help you at your work…
Free SharePoint 2010 Training webinar: PowerShell Boot Camp – March 25, 2010
Mar 16th
SharePoint 2010 is the first version of SharePoint technologies in which Microsoft supports administration through PowerShell scripts. In SharePoint 2007, farm administrators use a command-line utility named STSADM.EXE to run interactive commands from the console window and to write DOS-style batch file scripts to automate common administrative tasks such as creating, backing up or restoring a new site collection.
Microsoft now recommends using the new PowerShell support for writing, testing and executing scripts that automate the same types of administrative tasks that you can accomplish using STSADM.EXE.
Creating custom SharePoint MOSS 2007 & WSS 3.0 themes
Mar 13th
I was looking around for some reading today and I thought of collecting information on whats out there on SharePoint skinning, SharePoint customisation of themes and master pages. There are a few articles on the web that I have read before and would like to share them with you. May I suggest you bookmark this article so you can refer back when you need. I will add more links as I come across them. You may be able to share your favourites with me and I will edit this article to include your valuable suggestions! Thanks!
SharePoint Central Administration High Availability, Load Balancing & General Recommendations
Mar 9th
A few questions have come up about having dual SharePoint Central Administation servers in a farm. In short, it is possible to run two CAs in a farm. (It is Microsoft supported).
In a 5 server farm (3 WFE, 1 Index, 1 CA), we may feel the need to load balance the CAs with Microsoft’s Network load balancing NLB.
I found a good article that helped reinforced some concepts..
http://www.harbar.net/articles/spca.aspx
Configure SharePoint search pdf files with a free ifilter
Feb 4th
1. Download Free ifilter from: http://download.adobe.com/pub/adobe/acrobat/win/all/ifilter60.exe
You can also download Download Adobe Reader 9.0 which contains the ifilter. Necessary for x64 bit systems. http://www.adobe.com/support/downloads/detail.jsp?ftpID=4025
2. Run the newly downloaded file and go through the install wizard with your preferences.
3. Enable the pdf extension in SharePoint. Central Administration > SharedServices > Search Settings > File Types >New File Type
4. Enter ‘pdf’ as a file extension and Click OK.
5. Right click and save the pdf icon from http://www.adobe.com/misc/linking.html
6. Add the Acrobat pdf icon to the SharePoint templates directory. Copy the Acrobat PDF picture called pdficon_small.gif in the 12 Hive\TEMPLATE\IMAGES folder, e.g. %programfiles%\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\IMAGES.
7. Open the 12 Hive\TEMPLATE\XML\DOCICON.XML file.
Find the <DocIcons.ByExtension> part
Add the following: <mapping Key=”pdf” Value=”pdficon_small.gif” OpenControl=”" />
Save
8. Run
net stop osearch
net start osearch
9. Perform a full crawl to reindex your pdf files.
The directory C:\Inetpub\wwwroot\wss\VirtualDirectories\80 is already being used by another IIS Web Site. Choose a different root directory for your new Web application.
Jan 13th
When creating a new web application, you may experience this error:
The directory C:\Inetpub\wwwroot\wss\VirtualDirectories\80 is already being used by another IIS Web Site. Choose a different root directory for your new Web application.
Solution:
1. Ensure you have a proper dns name / entry in the hosts file of your server for the new url you are wanting to create.
2. Ensure you have typed in the ‘host header’ typed in when creating the new web application.
3. If this doesnt work, open IIS Manager – Start>run> inetmgr> and verify the home directory – it could be located on a different drive.
Content type ‘0×01010007FF3E057FA8AB4AA42FCB67B453FFC100E214EEE741181F4E9F7ACC43278EE811′ not found in web
Jan 12th
You may sometimes see this error when creating a new page in a SharePoint MOSS 2007 publishing portal.
“Content type ‘0×01010007FF3E057FA8AB4AA42FCB67B453FFC100E214EEE741181F4E9F7ACC43278EE811′ not found in web ‘http://yoururl’
Two step solution:
1. Go to Central Admin, Application Management, User Permissions for Web Application.
Ensure “Use Client Integration Features” and “Use Remote Interfaces” are enabled.
2. Go to Central Admin, Application Management, Policy for Web Application.
Add your user account with Full Control and Finish!
You may have to do an IISRESET and you should be able to create new pages.
SharePoint Designer 2010 useful links
Jan 11th
SharePoint Designer 2010 is the tool of choice for the rapid development of SharePoint applications. Using SharePoint Designer, advanced users and developers alike can rapidly create SharePoint solutions in response to business needs. Advanced users can compose no-code solutions that encompass a variety of common scenarios, from collaborative sites and web publishing to Line-Of-Business data integration, business intelligence solutions, and human workflows, leveraging the building blocks available in SharePoint in an easy to use environment. In addition, developers can use SharePoint Designer 2010 to get a quick start on SharePoint development projects.
Here are some useful links for you on SharePoint Designer 2010 I hope you find useful. You can bookmark this page and refer to it later as I will be updating more links as time goes by.
MSDN blogs on SharePoint Designer 2010: http://blogs.msdn.com/sharepointdesigner/archive/2009/11/02/sharepoint-designer-2010-new-shell-tour.aspx
SharePoint videos: http://www.sharepoint-videos.com/free-sharepoint-sharepoint-designer-and-infopath-2010-videos/
Official SharePoint Designer 2010 page on Microsoft: http://sharepoint2010.microsoft.com/product/related-technologies/Pages/SharePoint-Designer-2010.aspx
Introduction to SharePoint Designer 2010: http://www.endusersharepoint.com/2009/11/12/introduction-to-sharepoint-designer-2010/
Download Microsoft SharePoint Designer 2010 Beta (64-bit): http://www.microsoft.com/downloads/details.aspx?FamilyID=eeda9ab1-ac53-4870-9e1c-38940343d677&displaylang=en
Download Microsoft SharePoint Designer 2010 Beta (32-bit): http://www.microsoft.com/downloads/details.aspx?FamilyID=82df15bd-16a5-460e-a7c4-22599c669bb1&displaylang=en
Changes in SharePoint Designer 2010: http://technet.microsoft.com/en-us/library/cc179083%28office.14%29.aspx
SharePoint Designer 2010 books: http://www.informit.com/store/product.aspx?isbn=0672331055
SharePoint Designer 2010 training: http://www.kalliance.com/microsoft-office/microsoft-sharepoint-designer-2010-training.htm
SharePoint MOSS Shared Services SSP delete unprovisioning
Jan 9th
When you try to delete a SharePoint Shared Services Provider – SSP, you may notice the SSP stuck with unprovisioning as its state. Eg. SharedServices1 (Unprovisioning)
Possible Cause: The SSP database has been deleted in SQL and SharePoint is unable to delete the SSP.
Some objects may still be dependent on the configuration database, hence you are unable to delete the SSP.
Solution: Manually delete the SSP by the following stsadm command:
stsadm -o deletessp -title “ssp_name”
You may also want to check if your SSP is providing services to other farms.
1. Go to Central admin > Application Management > Manage Shared Services between Farms
2. Disable “This farm will provide shared services to other farms”
3. Enable “This farm does not participate in shared services between farms”
Try to delete the SSP again.
You may also receive this error:
“An object in the SharePoint administrative framework, “SharedResourceProvider Name=SSP Parent=SPFarm Name=MOSS”, could not be deleted because other objects depend on it. Update all of these dependants to point to null or different objects and retry this operation.
Solution: Identify the GUID of the SSP in SQL and then delete the configuration object by the GUID.
Perform the following steps to get the GUID of the unprovisioning SSP and then delete it:
1. Log into the SQL Management studio and go to the configuration database.
2. Expand the tables and open dbo.object
3. Update the following queryto your database name and run it to receive the GUID
SELECT * FROM [Name of your configuration database].[dbo].[Objects]where name like ‘Name of the Shared Services’
4. Run the following stsadm command
stsadm -o deleteconfigurationobject -id “GUID retrieved from object table in SQL database”



