This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.
The K2 blackpearl components for SharePoint 2007 (build 803) include several different features, in addition to the worklist web part. One of those features is the K2 Web Designer, which allows you to develop and deploy workflows directly in SharePoint.
Following an installation of K2 blackpearl build 0803 where the K2 components for SharePoint 2007 are included, it may be necessary to manually activate the K2 for SharePoint features to the site collection where they need to be available. Occasionally the K2 Web Designer will activate successfully and will show up on the list of available library settings, but when accessed only a blank page is displayed.
The scenario in this article may occur in an environment with the following components:
- Microsoft Office SharePoint Server (MOSS) 2007
- K2 blackpearl components for SharePoint 803
- Site collection in SharePoint with the K2 Web Designer activated
- Document library within the site collection
Occasionally, during activation of the K2 Web Designer, the web application fails to get created in IIS.
The K2 Web Designer was successfully installed and activated on the MOSS server. It appears under the Settings menu of document libraries on the SharePoint site in question. When you attempt to use the web designer, however, a blank page is rendered.
If you look in IIS, in the _layouts virtual site of your SharePoint site, you will see a WebWorkflow folder. This folder is supposed to be a web application (represented by a gear icon). However, for unknown reasons, the directory and files were created, but the web application was not.
It is necessary to manually create the web application within IIS for Web Workflow to work correctly. To resolve:
- Open IIS Management Console
- Expand the SharePoint site that is supposed to have the feature activated
- Expand _layouts
- Locate the WebWorkflow folder
- Right-click the WebWorkflow folder, and select Properties
- On the Virtual Directory tab, under Application Settings, click Create
- Under Application Pool, select the Application Pool under which this site is supposed to be running
- Apply the settings
- Reset IIS
- In SharePoint Central Admin, deactivate the K2 Web Designer on the site in question
- In SharePoint Central Admin, reactivate the K2 Web Designer on the site in question
- Go to a document library in the site in question, click Settings, and select K2 Web Designer