Getting BSM05 working with SharePoint Portal 12 Beta

We now have it working on our end.  I like the new look and feel of SPS12.  Below are the steps to getting it working.

While BSM 2005 will run on pre-released version of WSS v3, some additional preparation is necessary:


  1. Server.msi fails on the SharePoint extended site pre-req check . To workaround this:
    1. Open regedit
    2. Look under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions
    3. Notice that there is no subkey named Ports
    4. Run the below VBS script
    5. This will create the Ports subkey in the registry
    6. Now install server.msi (the sharepoint extended site validation will now pass)
    7. (Optional) You should now manually delete the Ports subkey that was created
  1. The App Pool of the Business Scorecard Manager Web Service website needs to be changed.
    1. By default, this is set to the same app pool as the SharePoint site, but .NET 1.1 and .NET 2.0 can’t be hosted in the same app pool
    2. Create a new App Pool, set the identity to “Network Service” (or a domain account if you are using one)
    3. Change the App Pool of the “Business Scorecard Manager Web Service” website to this new one
  1. The web.config file under _wpresources is wrong (appears to be a WSS bug). This needs to be fixed manually:
    1. Open iismgr and open the SharePoint web site the server is installed on
    2. Right click on the “_wpresources” vdir and open it
    3. Edit the web.config file
    4. Remove the line ”    <trust level=”Full” originUrl=”” />”
  1. Now you can publish a scorecard from the builder normally. However, the “deploy to SharePoint” feature does not work with WSS v3 (the page templates are different.
    1. You can, however, create Scorecard pages manually, by adding Scorecard web parts to a web part page


Script mentioned above:


WSCript.Echo “done.”

Sub RegisterPorts()

    Set GetWebSiteRoot = Nothing

    dim oWebServer
    dim oWebService
    dim mbRootPath
    dim bFound

    bFound = false
    mbRootPath = “IIS://localhost/W3SVC”

    set oWebService = GetObject(CStr(mbRootPath))

    if( Err.number <> 0) then
        WScript.Echo “Unable to get Root IIS Object”
        Exit Sub
    end if

    For Each oWebServer In oWebService
        if ((0 = StrComp(Cstr(oWebServer.Class), CStr(“IIsWebServer”), 1))) then
             RegisterPort oWebServer.Name
        end if

End Sub

Sub RegisterPort(port)

            Set WshShell = CreateObject(“WScript.Shell”)
            Dim keyName
            keyName = “Port /LM/W3SVC/” & port & “:”
            WshShell.RegWrite “HKLM\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\Ports\” & keyName, “”

            dim fpKey
            fpKey = “HKLM\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\Ports\” & keyName & “\frontpageroot”

            dim val
            val = ReadRegKey(fpKey)

            if (val = “”) then
                WshShell.RegWrite fpKey, “”
            end if

End Sub


Function ReadRegKey(key)

            ReadRegKey = “”
            Set WshShell = CreateObject(“WScript.Shell”)

            On Error Resume Next

            dim val

            val = WshShell.RegRead(key)
            ‘ WScript.Echo key & ” = ” & val
            ReadRegKey = val

end function

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s