K2 – The base type ’SourceCode.SharePoint.ProcessPortal.UI.PortalWebPartPage’ is not allowed for this page. The type is not registered as safe.

Published on

When creating a a process portal or trying to access certain sections of a process portal in K2 Blackpearl or Blackpoint & you get the following error: “Parser Error Message: The base type ’SourceCode.SharePoint.ProcessPortal.UI.PortalWebPartPage’ is not allowed for this page. The type is not registered as safe. Source Error: Assembly Name=”SourceCode.SharePoint.ProcessPortal, Version=4.0.0.0, Culture=neutral, PublicKeyToken=16a2c5aaaa1b130d Page … Continue reading K2 – The base type ’SourceCode.SharePoint.ProcessPortal.UI.PortalWebPartPage’ is not allowed for this page. The type is not registered as safe.

K2 Blackpoint Blackpearl: Deploying smartobject error – Timeout expired

Published on

When deploying a new smartobject you get the following error in K2 Blackpoint / Blackpearl: “Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. ” You need to increase the timeout for K2 Smartobjects by doing the following – 1) Open the following file – [InstallDir]K2 … Continue reading K2 Blackpoint Blackpearl: Deploying smartobject error – Timeout expired

K2 Error: The solution has not been opened. The following error occurred on opening: Value cannot be null.

Published on

When in K2 Blackpoint or K2 Blackpearl you are using a Infopath Integration Wizard and when you try to specify the Infopath form template you get the error: “The solution has not been opened. The following error occurred on opening: Value cannot be null. Parameter name: adapter” Delete your submit data connection in your Infopath … Continue reading K2 Error: The solution has not been opened. The following error occurred on opening: Value cannot be null.

K2 Blackpoint/Blackpearl In a one way trust environment – Error: MSMQ A queue with the same path name already exists

Published on

If youre K2 Blackpoint/Blackpearl in a one way trust environment & you get the following error when starting the K2Server Service: Event ID 7030 “A queue with the same path name already exists” Modify the following bold portions in these two configuration files in C:Program FilesK2 blackpearl-blackpointHost ServerBin folder. SourceCode.EventBus.ClientRecorder.dll.config #msmqpath#K2SERVERPrivate$EventBus#msmqpath# SourceCode.EventBus.Server.config #msmqpath#K2SERVERPrivate$EventBus#msmqpath# #msmqerrorpath#K2SERVERPrivate$EventBus Error#msmqerrorpath# … Continue reading K2 Blackpoint/Blackpearl In a one way trust environment – Error: MSMQ A queue with the same path name already exists

K2 Blackpoint In one way trust environment – process not showing as running in K2 Process Portal

Published on

Configuring K2 Blackpoint in a one way trust as per previous post. Deployed a new process & then triggered it by creating a new document. The process started & I could click on it & see it as ‘In progress’. When I went to the K2 Process Portal the ‘Processes’ webpart showed the process as … Continue reading K2 Blackpoint In one way trust environment – process not showing as running in K2 Process Portal

K2 Blackpoint/Blackpearl In a one way trust environment – Error: Authentication required for session

Published on

If you are trying to get K2 Blackpoint or K2 Blackpearl working in a one way trust environment using K2’s pass thru authentication there is a blog post here on how to get it to work: Working with a one-way trust using K2 4.5 with KB001290 I followed the instructions but every time I tried … Continue reading K2 Blackpoint/Blackpearl In a one way trust environment – Error: Authentication required for session

K2 Blackpoint K2 Blackpearl: Outputting the K2HostServer.exe console logging to a text file

Published on

When troubleshooting K2 Blackpoint / K2 Blackpearl you run the K2 Server in console mode, this then allows you to see everything thats going on as the K2 server is processing requests. However the text moves quickly so for further analysis you can output everything to a text file by running the K2HostServer.exe & piping … Continue reading K2 Blackpoint K2 Blackpearl: Outputting the K2HostServer.exe console logging to a text file

K2 Blackpoint Blackpearl: Communication with the underlying transaction manager has failed

Published on

When deploying a new K2 Blackpoint or K2 Blackpearl you may get the following error: (K2Project) SmartObject Server Exception: Could not publish SmartObject Definition to server: Error refreshing Service Instance ‘WorkflowReportingService’. Service returned : ‘Workflow Reporting SO Service: Communication with the underlying transaction manager has failed. SmartObject: [Test – Process Instances] If you do checking … Continue reading K2 Blackpoint Blackpearl: Communication with the underlying transaction manager has failed

The K2 Setup Manager requires the logged on user to have domain user privileges to proceed

Published on

Installing K2 Blackpoint / Blackpearl in a one way trust environment you need to run the K2 server service account & application pool using an account from the ‘trusted’ domain. It is also recommended that you install K2 components using this account: Note: It is recommended to install all K2 components using the K2 Service … Continue reading The K2 Setup Manager requires the logged on user to have domain user privileges to proceed

K2 Blackpoint Blackpearl not showing in Sharepoint Central Administration

Published on

If you are installing K2 Blackpoint / K2 Blackpearl in a distributed Sharepoint environment, you install K2 for Sharepoint on your web front ends but the K2 section still doesnt appear in Sharepoint Central Administration. This is probably because you are hosting your central admin web app on a different server ie. an application server, … Continue reading K2 Blackpoint Blackpearl not showing in Sharepoint Central Administration

Sharepoint Workflow Task Error: This task is currently locked by a running workflow and cannot be edited

Published on

Error in Event Log on Sharepoint Server: This task is currently locked by a running workflow and cannot be edited When a workflow processes a task normally, the following sequence of events is expected to occur: 1. The process begins. 2. The workflow places a ‘lock’ on the task so nothing else can change the … Continue reading Sharepoint Workflow Task Error: This task is currently locked by a running workflow and cannot be edited

K2 Blackpoint Blackpearl – How to update a Sharepoint list items using common meta data

Published on

In a K2 Sharepoint process you will quite often have to update the same piece of meta data in multiple locations ie. you have a status column which is part of the list your process is attached to but you may need to reflect this status update on another list item in another list for … Continue reading K2 Blackpoint Blackpearl – How to update a Sharepoint list items using common meta data

Page cannot be found when trying to view a K2 Sharepoint Workflow Integration Task

Published on

If you are creating a K2 Blackpearl / K2 Blackpoint process using the ‘Sharepoint Workflow Integration Client’ and when trying to open a particular task item to complete it & you get a ‘page cannot be found’ error in you web browser, its probably because the task title in your workflow contains a ‘&’ char. … Continue reading Page cannot be found when trying to view a K2 Sharepoint Workflow Integration Task

When trying to view K2 Blackpoint Blackpearl report error: ‘Microsoft.ReportViewer.WebForms The system cannot find the file specified

Published on

When trying to view a K2 Blacpoint or Blackpearl report in a process portal you get the following error: An error has occurred trying to load the settings for the report. N/A:Could not load file or assembly ‘Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified. In my … Continue reading When trying to view K2 Blackpoint Blackpearl report error: ‘Microsoft.ReportViewer.WebForms The system cannot find the file specified

How to get the current List Item ID in a K2 Blackpoint / Blackpearl process

Published on

The current list item ID in a K2 Blackpoint / Blackpearl process is held in the ‘SpIntegrationData’ hive in XML fields. This hive is hidden by default so in the Object Explorer window you need to click the down arrow top right hand side & click ‘Show Hidden Fields’. SPIntegrationData –> SPData –> All available … Continue reading How to get the current List Item ID in a K2 Blackpoint / Blackpearl process

K2 Blackpoint / Blackpearl: Using Sharepoint lookup columns in K2 processes

Published on

As you probably know lookup columns in Sharepoint are stored in this format “ID;#String” (record number & then the string value). I was trying to use a lookup value in a K2 process to make up the new sites URL when provisioning new sites. Obviously this was failing due to the way lookup columns are … Continue reading K2 Blackpoint / Blackpearl: Using Sharepoint lookup columns in K2 processes

Sharepoint 2010 & K2: The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator

Published on

If when trying to create a workflow on a list using K2 Blackpoint / K2 Blackpearl on Sharepoint 2010 & you get the following error when trying to enumerate lists: “The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator” You need to up the ‘List View Threshold’ in … Continue reading Sharepoint 2010 & K2: The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator

K2 Blackpoint K2 Blackpearl does not support single sign on authentication

Published on

FYI Neither K2 Blackpoint or K2 Blackpearl support SSO, they only support Windows authentication. K2 Connect (SAP) makes use of SSO in some aspects. If you are trying to use in an SSO environment you will see errors similar to: Unable to cast object of type ‘System.Web.Security.SingleSignOn.SingleSignOnIdentity’ to type ‘System.Security.Principal.WindowsIdentity’ Update: Apparently Blackpearl users can … Continue reading K2 Blackpoint K2 Blackpearl does not support single sign on authentication

K2 The form template cannot be opened in the InfoPath designer, because InfoPath is not installed on the machine

Published on

Go to “SoftwareMicrosoftWindowsCurrentVersionApp PathsInfoPath.exe” in your registry (if infopath.exe does not exist create it), there you will see a “Path” value if you do not then create a new string value with the the name “Path” and in the “Value Data” portion add the path to the infopath exe folder, for example, “C:Program Files (x86)Microsoft … Continue reading K2 The form template cannot be opened in the InfoPath designer, because InfoPath is not installed on the machine

Does K2 Blackpoint (or Blackpearl) work in a HTTPS / SSL environment?

Published on

Well I read numerous posts etc but nothing definitive, after speaking to K2 basically there are ‘some’ issues running K2 Blackpoint in a HTTPS environment however full SSL support will be introduced in 4.5 release for both K2 Blackpoint & K2 Blackpearl. A formal release date has not been set but they are looking at … Continue reading Does K2 Blackpoint (or Blackpearl) work in a HTTPS / SSL environment?

K2 Blackpoint: Troubleshooting & error logs

Published on

Troubleshooting anything to do with K2 Blackpoint the 1st port of call is going through your error logs: All logging configuration (excluding SmartObject logging) is done through the following file: C:Program FilesK2 blackpearlHost ServerBinHostServerLogging.config When you open the file in notepad, or any other text editor, you will see a section that looks like the … Continue reading K2 Blackpoint: Troubleshooting & error logs

K2 Process / Workflow Automation – Questions to ask

Published on

PROCESS QUESTIONS 1. Does the process require reporting, auditing, compliance or version control? 2. Can the process be mapped? Or has the process been mapped and optimized already? 3. Is this process in operation today, electronically, in paper or otherwise? 4. If the business process is new to the business, have the necessary participants of … Continue reading K2 Process / Workflow Automation – Questions to ask