Tuesday, August 28, 2012

Setup SharePoint 2013 VM

http://www.jamesserra.com/archive/2012/08/sql-server-2012-and-sharepoint-2013-installing-on-a-virtual-machine/

Thursday, June 28, 2012

Refresh Site Collections in Config Database

Synchronizes the content database with the configuration database of the farm with respect to what site collections actually exist in the content database.  Ensures that all site collections in the content database are registered in the configuration database and removes any site collection references in the configuration database if the site collection does not exist in the content database.


$db = Get-SPDatabase | where {$_.Name -eq "DatabaseName"}
$db.RefreshSitesInConfigurationDatabase()

Tuesday, June 26, 2012

Database Maintenance Best Practices

http://www.sqlskills.com/BLOGS/KIMBERLY/post/Database-Maintenance-Best-Practices-Part-I-e28093-clarifying-ambiguous-recommendations-for-Sharepoint.aspx

Thursday, June 21, 2012

Thursday, May 24, 2012

Using Solutions in SharePoint Foundation

http://msdn.microsoft.com/en-us/library/ee534972

Deploy Solutions with PowerShell

http://blog.falchionconsulting.com/index.php/2011/04/deploying-sharepoint-2010-solution-package-using-powershell-revisited/

Sunday, May 20, 2012

Deploy Visual Studio Reports Prompts for Credentials

http://ybbest.wordpress.com/2011/08/04/how-to-fix-“not-able-to-deploy-report-to-sharepoint-2010-in-integrated-mode”/

Monday, April 23, 2012

My Sites Technical Info

http://blogbaris.blogspot.com/2011/03/sharepoint-2010-mysite-in-detail.html

My Sites In-Depth Series

http://weshackett.com/2011/01/sp2010-mysites-part-one-overview/

Thursday, April 19, 2012

TechNET: Setup My Sites

http://technet.microsoft.com/en-us/library/ee624362.aspx

Overview of My SharePoint Sites and how the data is populated

http://blogs.msdn.com/b/jorman/archive/2009/07/30/my-sharepoint-sites-memberships-general-overview-on-how-this-functionality-works.aspx

TechNET: Attach databases and upgrade to SharePoint Server 2010

http://technet.microsoft.com/en-us/library/cc263299.aspx

Note that the Mount-SPContentDatabase PowerShell cmdlet has an option parameter UpdateUserExperience that you use to indicate that you want to upgrade to the SharePoint 2010 user interface.  

A Complete Guide to Writing Timer Jobs in SharePoint 2010

http://www.simple-talk.com/dotnet/.net-tools/a-complete-guide-to-writing-timer-jobs-in-sharepoint-2010/

SharePoint 2010: Workflow fails to resume

You can experience workflow errors when the Microsoft SharePoint Foundation Workflow Timer service is running on a server and the Microsoft SharePoint Foundation Web Application is NOT running on that same server; see this link for options to fix it:

http://support.microsoft.com/kb/2674684

Wednesday, April 18, 2012

Windows Server Evaluation - How to Rearm 10 Day Activation Grace Period

How to manually rearm the 10 day activation grace period
When the initial 10-day activation period nears its end, you can run the Slmgr.vbs script to reset it back to 10 days. To do this, follow these steps: 

·  1. Click Start, and then click Command Prompt.

·  2. Type slmgr.vbs -dli, and then press ENTER to check the current status of your activation period.

·  3. To reset the activation period, type slmgr.vbs –rearm, and then press ENTER.
·  4. Restart the computer.

Photos in People Search Results and My Sites are messed up after migration from SharePoint 2007 to SharePoint 2010

I found the answer on how to fix here:

SharePoint 2010 wants a small, medium and large thumbnail image.  When you upgrade from SharePoint 2007, the 3 thumbnails do not exist.  You can run the PowerShell cmdlet Update-SPProfilePhotoStore which will iterate over the profiles, download the existing profile picture, and create the 3 appropriately sized thumbnails.

Wednesday, March 28, 2012

Opening Documents in the Client Application or the Browser

The following site collection feature provides the default setting for whether to open documents in the client application or render the document in the browser; activate it to make the default open in the client application:


The following setting is in the Advanced Settings for a document library:

Friday, February 3, 2012

Updating an InfoPath form that's centrally deployed

A customer added some promoted fields to an InfoPath form and deployed the updated form via central admin. The existing form libraries didn't show the new promoted fields; i.e. the new fields should be columns in the form library and they're not there.

How do you fix this?  Deactivate then activate the site collection feature for the InfoPath form.

Wednesday, January 18, 2012

SharePoint Servers in Multiple Time Zones

I'm working on a project where we have 2 servers on the east coast and 2 servers on the west coast.  It seemed that deploying a solution was taking a very long time.  What's happening is that when I deploy a farm solution, the timer job is scheduled to start immediately on the east coast but the same job is scheduled to start 3 hours later on the two west coast servers.

Here's the results of a sample query to illustrate:

SERVER_NAME      START_TIME
EAST-WFE-1        1/18/12 7:59 PM
EAST-APP-1         1/18/12 7:59 PM
WEST-WFE-1       1/18/12 10:59 PM
WEST-APP-1        1/18/12 10:59 PM

Tuesday, January 17, 2012

Using Evaluation Editions of Windows Server 2008 R2

When doing a demo or proof of concept it can be convenient to use an evaluation version of Windows Server 2008 R2, especially if you have to stand up a few servers for SharePoint.  You can download from here.  The evaluation period is 180 days.  You will need to "rearm" the evaluation every so often; e.g. the OS will eventually start rebooting on you.

To rearm, open a Command Prompt as an Administrator and enter this command:

slmgr.vbs /rearm

You should get a message box that says: Command completed successfully.  Please restart the system for the changes to take effect.  Reboot and you'll be happy for another 10 or so days.

Friday, January 13, 2012

Error occurred in deployment step 'Recycle IIS Application Pool'

You download a code sample of a SharePoint project and when you try to run in the debugger you see an  error like this: Error occurred in deployment step 'Recycle IIS Application Pool': Cannot connect to the SharePoint site: http://intranet.wingtip.com/. Make sure that this is a valid URL and the SharePoint site is running on the local computer. If you moved this project to a new computer or if the URL of the SharePoint site has changed since you created the project, update the Site URL property of the project.

To correct this go to the project properties dialog and update the Site URL property:

Thursday, January 12, 2012

SharePoint 2010 Doesn't Have a My Sites Link

SharePoint 2007 My Links is not rendered in the top right of every page in SharePoint 2010.  You can add My Links to the My Site page by following these steps:

  1. Open Central Administration 
  2. Select manage Service Applications
  3. Select the User Profile Service Application
  4. Click Manage
  5. Select Configure Personalization Site in My Site Settings section
  6.  Click New Link
  7.  Add My Links with a URL something like this: http://mysites.yourdomain.com/_layouts/MyQuickLinks.aspx
      Example of My Links link on my site page:
 

NOTE: You can also add other links as well