How to Fix Recurring Meeting Workspace Error: ‘g_InstanceID’ is undefined

I was having a problem with Meeting Workspaces today.  The links to each meeting instance on the left Quick Launch were not working, and every time we clicked on one of them, we would get a JavaScript error: ‘g_InstanceID’ is undefined. 

At first, I assumed that my CSS must be hiding a control that was required for the navigation links to work.  Then I found a post by Mike Monjeau entitled MOSS – How to fix recurring Meeting Workspace error: ‘g_InstanceID’ is undefined that describes the fix for this.

Basically, when you use a master page other than default.master for a Meeting Workspace site, you can get this error.  If you add the following lines into your new master page, you can solve the problem:

  1. Add the following line of code under the <%@ Import Namespace=”Microsoft.SharePoint” %> tag:
    <%@ Register Tagprefix="Meetings" Namespace="Microsoft.SharePoint.Meetings" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
  2. Add the following line of code after the opening <body> tag:
    <Meetings:PropertyBag runat="server"/>