Tuesday, May 26, 2009

SharePoint 2007 Service Pack 2 Changing SharePoint to Trial Mode After Installation

More fun from Redmond! Microsoft is warning customers of SharePoint Server 2007 SP2 of a bug that causes the program to stop functioning at 180 days. Microsoft is working on a fix.

"During the installation of SP2, a product expiration date is improperly activated. This means SharePoint will expire as though it was a trial installation 180 days after SP2 is deployed. The activation of the expiration date will not affect the normal function of SharePoint up until the expiration date passes. Furthermore, product expiration 180 days after SP2 installation will not affect customer’s data, configuration or application code but will render SharePoint inaccessible for end-users."

The bug is activated by applying Service Pack 2 to Office SharePoint Server 2007, Project Server 2007, Form Server 2007, Search Server 2008 and Search Server 2008 Express. Windows SharePoint Services 3.0 is not affected.

Although Microsoft is still working on a hotfix, a workaround is available.

What can you do to fix it?

  • To work around this issue you will need to re-enter your Product ID numbers (PID) on the Convert License Type page in Central Administration. Your can see this KB article for detailed steps.
  • You can also wait for the hotfix (available for free from http://support.microsoft.com) to resolve this issue.
  • Note: For Search Server 2008 Express the only way to resolve this issue is to apply the hotfix.

For more information, your customers can go to the Sharepoint Team blog

http://blogs.msdn.com/sharepoint/archive/2009/05/21/attention-important-information-on-service-pack-2.aspx

Thursday, May 14, 2009

Register A New Project Workspace Template

Note, before you can register a New Project Workspace Template, you will need to create one. Be sure that you crate the new template based of the Project Workspace Site template. Make sure you do not modify any of the lists, libraries of column names or types. You can add additional lists and libraries as well as add custom column types and names to any existing lists, but Project Server will expect certain data to be passed from the site to the server. If you change the default values, you will experience failures during project server synchronization

When you are done creating the template, you will want to save the site as a template and then download the site template (*.STP) to a location on the WFE Server that is hosting your project server.

After you create a project workspace template, you must promote it to global status before Project Server allows it to be used for Project Workspace provisioning.
  1. Log on to any one of the servers in the farm that hosts Project Web Access.
  2. Open a Command Prompt window and navigate to the hive.
  • cd %ProgramFiles%"\Common Files\Microsoft Shared\web server extensions\12\BIN"
  1. Run the command to add the template to the global list of templates, as shown in the following example. Replace Template Path with the location, MyWorkspaceTemplate.stp with the STP created and title with the new title name
  • stsadm -o addtemplate -filename "
  1. Run the command IISReset. Your new template is now registered for global use within Web applications associated with the SSP that contains the instance of Project Web Access.
  2. To see the list of registered templates, run the command stsadm -o enumtemplates. For the example template, the command outputs the following. 
  • Test Workspace Title - Language: 1033 - Site Template: _GLOBAL_#0 - Template Id: 6215 

Wednesday, May 13, 2009

Embedding Video On Your SharePoint Site

Have you ever wanted to simply add some video to a landing page in SharePoint? There are a lot of hefty applications out there that do this quite well, utilizing Silverlight and Ajax, but, did you know that you can do this with out of the box SharePoint? It's actually quite simple. Here's how!

  1. Upload a media file to a standard SharePoint Document Library
  2. Navigate to the site where you want to embed the video
  3. Edit the page and select Add a Web Part
  4. Under Miscellaneous, insert a Content Editor Web Part
  5. From the Web select Open the Tool Pane
  6. From Tool Pane, select Source Editor
  7. Copy in the following code (replace http://link to video here with the actual link to the video in the library):

<div align="center">

   <embed src="http://link to video here"

      autoplay="true"

      loop="false"

      width="200"

      height="200"

   </embed>

</div>

Click Apply. Its just a matter of formatting after that!