Introduction

When upgrading from a K2 version prior to K2 blackpearl 0807 Update (4.8210.2.450) WITH KB000450 the following issues are known to occur:

  1. When clicking the “Update All” button on the Feature Reactivation page in the K2 SharePoint Configuration wizard the K2 Features status remains as “In Progress” and the Job definition Status link does not change from “Unregistered” to “Registered”.
  2.  

    Image

     

  3. The Event Log displays error entries for the K2 SharePoint source, such as “Failure trying to GetReportXml, Object reference not set to an instance of an object.”
  4. Image

Workaround:

  1. Close the Feature Reactivation Page.
  2. Navigate to :
    SP2007:  …\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\CONFIG\K2\K2ForSharePoint.config
    SP2010:  …\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\CONFIG\K2\K2ForSharePoint.config
  3. Edit the file:
    a. Change the node from “None” to “New”.
    b. Change the “Action” attributes for the Solution nodes from “Upgrade” to “None”.
    c. Change any “Action” attributes for the Feature nodes that are “Uninstall” to “None”.
    d. Save the file and keep the file open.
     
  4. Example:

    Change from:

    <Config>
     <Type>None</Type>
     <Version>4.10060.1350.0</Version>
     <CheckStore>false</CheckStore>
     <Solutions>
      <Solution Name="K2 for SharePoint - Core Components.wsp" Id="D0417762-2BAB-4DA1-BA00-FFDDFABC3624" Scope="Global" Action="Upgrade" />
      <Solution Name="K2 for SharePoint - Management Console.wsp" Id="CDB5858C-414A-468c-AC2B-F62D6F5E7D2F" Scope="Global" Action="Upgrade" />
      <Solution Name="K2 for SharePoint - Process Portals.wsp" Id="D2BD65AA-31A2-46a8-A8E2-95E816A76BAE" Scope="WebApplication" Action="Upgrade" />
      <Solution Name="K2 for SharePoint - Workflow Core.wsp" Id="B93E716B-6BAB-4ad0-B536-1E24BE31B2E2" Scope="Global" Action="Upgrade" />
      <Solution Name="K2WorklistWebPart.wsp" Id="FE8FD7FD-4451-4C88-A0F2-FA2121B30ED0" Scope="WebApplication" Action="Upgrade" />
      <Solution Name="K2 for SharePoint - Reporting Web Parts.wsp" Id="447b93f5-30b9-40ef-b451-7e78d149ee87" Scope="Global" Action="Upgrade" />
      <Solution Name="K2 for SharePoint - Web Designer.wsp" Id="DEDB5A5B-5BBC-451b-98DE-3EA872C0EDBC" Scope="WebApplication" Action="Upgrade" />
      </Solutions>
      <K24SP>
        <InstalledProduct>K2 blackpearl</InstalledProduct>
        <HostServer>sav-spsupgtest</HostServer>
        <HostServerPort>5555</HostServerPort>
        <RuntimeServicesURL>http://SAV-SPSUPGTEST:81</RuntimeServicesURL>
      </K24SP>
      <BDC>
      </BDC>
      <K2D4SP>
        <ConnectionString>Data Source=SAV-SPSUPGTEST;Initial Catalog=K2WebDesigner;integrated security=sspi;Pooling=True</ConnectionString>
      </K2D4SP>
      <Features>
        <Feature Name="K2AdminLinks" Id="A421C8D5-5874-454b-9D3C-4A5EE9A9D942" Scope="Web" Action="Activate" Force="true" />
        <Feature Name="K2AdminLinks" Id="A421C8D5-5874-454b-9D3C-4A5EE9A9D942" Scope="Farm" Action="Uninstall" Force="true" />
        <Feature Name="K2ReportingWebParts" Id="35169109-4ae2-4884-aec9-78e752e84037" Scope="Site" Action="Uninstall" Force="true" />
        <Feature Id="C55E050A-F36B-4a6f-8580-50C053580921" Name="K2ProcessPortalsConfiguration" Action="Activate" Force="true" Scope="Current" />
        <Feature Id="A9888E81-98AC-48db-8596-3F82FFC3A8C4" Name="K2ManagementConsole" Action="Activate" Force="true" Scope="Current" />
        <Feature Id="A15E30CF-AF83-4eef-830B-22746C680373" Name="K2ConfigWizard" Action="Activate" Force="true" Scope="Current" />
        <Feature Id="C0DDC385-A15C-44e1-A90E-FDC77DB3EC91" Name="K2ProcessPortals" Action="Activate" Force="true" Scope="Current" />
        <Feature Id="CBBF76E0-3FAE-4890-90A0-4AFA273B3363" Name="K2WebDesignerConfiguration" Action="Activate" Force="true" Scope="Current" />
      </Features>
      <JobDefinitions>
        <JobDefinition Id="DD0652ED-0857-4587-8BA2-D181120CAEB2" Name="K2 Workflow Failover" Action="Register" Scope="WebApplication" AssemblyName="SourceCode.SharePoint.Workflow.dll" ClassName="SourceCode.SharePoint.Workflow.K2SPWorkItemJobDefinition" />
      </JobDefinitions>
    </Config>

    Change to:

    <Config>
      <Type>New</Type>
      <Version>4.10060.1350.0</Version>
      <CheckStore>false</CheckStore>
      <Solutions>
        <Solution Name="K2 for SharePoint - Core Components.wsp" Id="D0417762-2BAB-4DA1-BA00-FFDDFABC3624" Scope="Global" Action="None" />
        <Solution Name="K2 for SharePoint - Management Console.wsp" Id="CDB5858C-414A-468c-AC2B-F62D6F5E7D2F" Scope="Global" Action="None" />
        <Solution Name="K2 for SharePoint - Process Portals.wsp" Id="D2BD65AA-31A2-46a8-A8E2-95E816A76BAE" Scope="WebApplication" Action="None" />
        <Solution Name="K2 for SharePoint - Workflow Core.wsp" Id="B93E716B-6BAB-4ad0-B536-1E24BE31B2E2" Scope="Global" Action="None" />
        <Solution Name="K2WorklistWebPart.wsp" Id="FE8FD7FD-4451-4C88-A0F2-FA2121B30ED0" Scope="WebApplication" Action="None" />
        <Solution Name="K2 for SharePoint - Reporting Web Parts.wsp" Id="447b93f5-30b9-40ef-b451-7e78d149ee87" Scope="Global" Action="None" />
        <Solution Name="K2 for SharePoint - Web Designer.wsp" Id="DEDB5A5B-5BBC-451b-98DE-3EA872C0EDBC" Scope="WebApplication" Action="None" />
      </Solutions>
      <K24SP>
        <InstalledProduct>K2 blackpearl</InstalledProduct>
        <HostServer>sav-spsupgtest</HostServer>
        <HostServerPort>5555</HostServerPort>
        <RuntimeServicesURL>http://SAV-SPSUPGTEST:81</RuntimeServicesURL>
      </K24SP>
      <BDC>
      </BDC>
      <K2D4SP>
        <ConnectionString>Data Source=SAV-SPSUPGTEST;Initial Catalog=K2WebDesigner;integrated security=sspi;Pooling=True</ConnectionString>
      </K2D4SP>
      <Features>
        <Feature Name="K2AdminLinks" Id="A421C8D5-5874-454b-9D3C-4A5EE9A9D942" Scope="Web" Action="Activate" Force="true" />
        <Feature Name="K2AdminLinks" Id="A421C8D5-5874-454b-9D3C-4A5EE9A9D942" Scope="Farm" Action="None" Force="true" />
        <Feature Name="K2ReportingWebParts" Id="35169109-4ae2-4884-aec9-78e752e84037" Scope="Site" Action="None" Force="true" />
        <Feature Id="C55E050A-F36B-4a6f-8580-50C053580921" Name="K2ProcessPortalsConfiguration" Action="Activate" Force="true" Scope="Current" />
        <Feature Id="A9888E81-98AC-48db-8596-3F82FFC3A8C4" Name="K2ManagementConsole" Action="Activate" Force="true" Scope="Current" />
        <Feature Id="A15E30CF-AF83-4eef-830B-22746C680373" Name="K2ConfigWizard" Action="Activate" Force="true" Scope="Current" />
        <Feature Id="C0DDC385-A15C-44e1-A90E-FDC77DB3EC91" Name="K2ProcessPortals" Action="Activate" Force="true" Scope="Current" />
        <Feature Id="CBBF76E0-3FAE-4890-90A0-4AFA273B3363" Name="K2WebDesignerConfiguration" Action="Activate" Force="true" Scope="Current" />
      </Features>
      <JobDefinitions>
        <JobDefinition Id="DD0652ED-0857-4587-8BA2-D181120CAEB2" Name="K2 Workflow Failover" Action="Register" Scope="WebApplication" AssemblyName="SourceCode.SharePoint.Workflow.dll" ClassName="SourceCode.SharePoint.Workflow.K2SPWorkItemJobDefinition" />
      </JobDefinitions>
    </Config>
  5. Open the K2 for SharePoint Configuration Wizard from the icon on the desktop.
  6. Image

  7. Once the page has loaded, close the page.
  8. Image

  9. Edit the file kept open in step 3.
    • Change the node from “New” to “Upgrade” (if the file had been closed change “None” to “Upgrade”)
    • Save the file.
  10.  

    <Config>
      <Type>Upgrade</Type>
      <Version>4.10060.1350.0</Version>
      <CheckStore>false</CheckStore>
      <Solutions>
        <Solution Name="K2 for SharePoint - Core Components.wsp" Id="D0417762-2BAB-4DA1-BA00-FFDDFABC3624" Scope="Global" Action="None" />
        <Solution Name="K2 for SharePoint - Management Console.wsp" Id="CDB5858C-414A-468c-AC2B-F62D6F5E7D2F" Scope="Global" Action="None" />
        <Solution Name="K2 for SharePoint - Process Portals.wsp" Id="D2BD65AA-31A2-46a8-A8E2-95E816A76BAE" Scope="WebApplication" Action="None" />
        <Solution Name="K2 for SharePoint - Workflow Core.wsp" Id="B93E716B-6BAB-4ad0-B536-1E24BE31B2E2" Scope="Global" Action="None" />
        <Solution Name="K2WorklistWebPart.wsp" Id="FE8FD7FD-4451-4C88-A0F2-FA2121B30ED0" Scope="WebApplication" Action="None" />
        <Solution Name="K2 for SharePoint - Reporting Web Parts.wsp" Id="447b93f5-30b9-40ef-b451-7e78d149ee87" Scope="Global" Action="None" />
        <Solution Name="K2 for SharePoint - Web Designer.wsp" Id="DEDB5A5B-5BBC-451b-98DE-3EA872C0EDBC" Scope="WebApplication" Action="None" />
      </Solutions>
      <K24SP>
        <InstalledProduct>K2 blackpearl</InstalledProduct>
        <HostServer>sav-spsupgtest</HostServer>
        <HostServerPort>5555</HostServerPort>
        <RuntimeServicesURL>http://SAV-SPSUPGTEST:81</RuntimeServicesURL>
      </K24SP>
      <BDC>
      </BDC>
      <K2D4SP>
        <ConnectionString>Data Source=SAV-SPSUPGTEST;Initial Catalog=K2WebDesigner;integrated security=sspi;Pooling=True</ConnectionString>
      </K2D4SP>
      <Features>
        <Feature Name="K2AdminLinks" Id="A421C8D5-5874-454b-9D3C-4A5EE9A9D942" Scope="Web" Action="Activate" Force="true" />
        <Feature Name="K2AdminLinks" Id="A421C8D5-5874-454b-9D3C-4A5EE9A9D942" Scope="Farm" Action="None" Force="true" />
        <Feature Name="K2ReportingWebParts" Id="35169109-4ae2-4884-aec9-78e752e84037" Scope="Site" Action="None" Force="true" />
        <Feature Id="C55E050A-F36B-4a6f-8580-50C053580921" Name="K2ProcessPortalsConfiguration" Action="Activate" Force="true" Scope="Current" />
        <Feature Id="A9888E81-98AC-48db-8596-3F82FFC3A8C4" Name="K2ManagementConsole" Action="Activate" Force="true" Scope="Current" />
        <Feature Id="A15E30CF-AF83-4eef-830B-22746C680373" Name="K2ConfigWizard" Action="Activate" Force="true" Scope="Current" />
        <Feature Id="C0DDC385-A15C-44e1-A90E-FDC77DB3EC91" Name="K2ProcessPortals" Action="Activate" Force="true" Scope="Current" />
        <Feature Id="CBBF76E0-3FAE-4890-90A0-4AFA273B3363" Name="K2WebDesignerConfiguration" Action="Activate" Force="true" Scope="Current" />
      </Features>
      <JobDefinitions>
        <JobDefinition Id="DD0652ED-0857-4587-8BA2-D181120CAEB2" Name="K2 Workflow Failover" Action="Register" Scope="WebApplication" AssemblyName="SourceCode.SharePoint.Workflow.dll" ClassName="SourceCode.SharePoint.Workflow.K2SPWorkItemJobDefinition" />
      </JobDefinitions>
    </Config>

     

  11. Open the K2 for SharePoint Configuration Wizard from the icon on the desktop.
  12. Image

  13. Run through the K2 for SharePoint Configuration Wizard to the Feature Reactivation and complete the installation.
    a. Notice the Job definition Status link should now show as “Registered”.
    b. Click on the “Update All” button, wait for the feature reactivation to complete.
    c. Click Finish.

Image

 Image