After changing the master page on a Meeting Workspace site, the recurring meeting workspace hyperlinks under “Select a date from the list below:” do not work and throw a JavaScript error.
If you create a custom master page and use it for your Meeting Workspaces, a JavaScript error is thrown.
ERRORS:
‘g_InstanceID’ is undefined
CAUSE:
The g_instanceId global JavaScript variable is declared in a script registered runtime by the Microsoft.SharePoint.Meetings.PropertyBag web control. This control is used in the master page that’s used by Meeting Workspace sites called “MWSDefault.master” (located on server in 12 hive\TEMPLATE\GLOBAL\).
STEPS TO REPRO:
- Create a new Workspace: Site Actions-> Create Site -> Select [Meetings] Basic Meeting Workspace, click Create.
- On Workspace site, add a Calendar list: Site Actions -> Create -> [Tracking] Calendar.
- Add a new event to Calendar list, make recurring event, and select [x] Use a Meeting Workspace to organize attendees, agendas, documents, minutes, and other details for this event. Click OK.
- Follow steps to create workspace for Calendar event. Go to workspace.
- Change master page for workspace: Site Actions -> Site Settings -> [Look and Feel] Master page -> select any master page for Site Master Page and System Master Page. Click OK. Go back to workspace.
- Now the links under “Select a date from the list below:” do not work and throw a JavaScript error message: ‘g_InstanceID’ is undefined .
WORKAROUND:
- Open SharePoint Designer 2007. Go to File | Open Site and connect to SharePoint site.
- Expand out _catalogs -> masterpage -> open master page used on Meeting Workspace.
- In Code View, add the following line of code under <%@ Import Namespace=”Microsoft.SharePoint” %> tag:
<%@ Register Tagprefix=”Meetings” Namespace=”Microsoft.SharePoint.Meetings” Assembly=”Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c” %> - Add the following line of code after opening <body …> tag: <Meetings:PropertyBag runat=”server”/>
- Save master page, check in (if necessary), and publish major version.

Worked like a charm! Thanks!!
Wow.. works well and easy workaround! Thanks!
This did not work so well for me, I now receive this message on my site:
“The version attribute on the register directive is not allowed in this page.”
awesome post, worked great!!!
We also got the “version attribute…” error when trying this fix.
The version attribute error is caused by incorrect syntax. When you copy and paste from above, make sure the quotes are correct….” versus “
How do you fix this issue if you don’t have Sharepoint Designer?
I was getting the “version attribute” error but now I get the “unknown error” message. Has anyone experienced the same problem???
Remandlo
This worked out, just had to change the quotes.
Keep up the good work.
I edited both default.master and MWSdefault.master files for the Meeting Workspace site with these changes and still have the issue.
Any idea why this workaround *wouldn’t* work? What else can or should I try?