User profile synchronization error

The crawl log in Search Administration returned the following error: sps3://xxx could not be crawled What you must do is to set permissions to the search account that you use for crawling the User Profiles. Select User Profile Services (do not click the link, but highlight the application) Up in the ribbon, click a button …

The semaphore timeout period has expired

I got this error message on my SharePoint farm backup (using the STSADM commandSTSADM.EXE -o backup -directory \srv001sqlbackups -backupmethod full): Object SharePoint_Config failed in event OnBackup. For more information, see the error log located in the backup directory. SqlException: Write on “\srv003SP_Backupspbr0001000001D.bak” failed: 121(The semaphore timeout period has expired.) BACKUP DATABASE is terminating abnormally. My …

SharePoint farm backup

I think I have blogged about this before, but I cannot enough emphasize the importance of running SharePoints own backup together with your SQL database backup. Of course, some third party backup products might be able to restore in the same way as you can restore a site collection backup inside Central Admin, but it …

VPN client for Windows 7

I have installed Windows 7 and Office 2010 now, which is a big improvement from Vista! Though there are some applications that do not work with Win 7, like Cisco VPN. Yes, I am sure that someone has found a version and have done all the settings/regedit hacks that you must do, but really… So …

Display week number in a view

To calculate the week number in a view, enter following formula in a calculated column: Replace the “Yourdatefieldhere” with the column that contains the date field you want to calculate the formula on. Thanks to http://lamahashim.blogspot.com/2009/10/sharepoint-calculated-field-week-number.html for the formula. Swedish version=HELTAL((Yourdatefieldhere-DATUM(ÅR(Yourdatefieldhere);1;1)+(TEXT(VECKODAG(DATUM(ÅR(Yourdatefieldhere);1;1));”d”)))/7)+1 English version=INT((Yourdatefieldhere-DATE(YEAR(Yourdatefieldhere),1,1)+(TEXT(WEEKDAY(DATE(YEAR(Yourdatefieldhere),1,1)),”d”)))/7)+1 More examples of view formulas here

Center align a div in IE 8

Usually when I want to center align a div on a page, I use margin:auto auto and set my width to a specific width, like 940px in my stylesheet. But, this does NOT work in IE 8. So to make that work, use width:940pxheight:100%position:absoluteleft:50% (to tell that your div should start in the middle of …