COMMUNITY

Home Forum Blog Market Events Resources
Showing results for 
Search instead for 
Do you mean 
Recent Forum Discussions
People/Group Data Field type in K2 Studi...

I am trying to create a workflow that will allow users to assign tasks dynamically in K2 Studio.  Basicly when they complete the task the task form should contain a people picker to enter the next assignees name.   In K2 Designer for SharePoint I am able to do this easily by creating a data field type of people/group, however that data field type is not an option in K2 Studio.  I am not using smartforms for this by the way.

Is there a way to achieve this with K2 studio?

K2 Designer Server Error

Has anyone seen this error before with the K2 Designer?

 

Server ErrorObject reference not set to an instance of an object.
 More Details
Exception Details:at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.IIdentityAuthentication(SCConnectionStringBuilder connectionStringBuilder)
at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.Authenticate(String connectionString)
at SourceCode.Forms.AppFramework.ConnectionClass.OpenOrAuthenticate(BaseAPIConnection connection, Boolean asAppPool)
at SourceCode.Forms.AppFramework.ConnectionClass.TryCredentialToken(BaseAPIConnection connection, String credentialToken, Boolean asAppPool)
at SourceCode.Forms.AppFramework.ConnectionClass.GetPoolConnection(String poolConnectionString, String credentialToken, Boolean asAppPool, Boolean& tokenApplied)
at SourceCode.Forms.AppFramework.ConnectionClass.Connect(BaseAPI baseAPI, Boolean asAppPool, Boolean validateLicense)
at SourceCode.Forms.AppFramework.ConnectionClass.GetLicenseManager()
at SourceCode.Forms.AppFramework.LicenseUtility.get_IsLicensed()
at SourceCode.Forms.AppFramework.ConnectionClass.Connect(BaseAPI baseAPI, Boolean asAppPool, Boolean validateLicense)
at SourceCode.Forms.AppFramework.ConnectionClass.GetFormsManager()
at SourceCode.Forms.AppFramework.BundlingUtility.CreateControlBundles()
at SourceCode.Forms.AppFramework.BundlingModule.PostAuthenticateRequest(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 

 

Seeing this in the server event viewer:

Log Name: Application
Source: ASP.NET 4.0.30319.0
Date: 8/27/2014 4:39:26 PM
Event ID: 1309
Task Category: Web Event
Level: Warning
Keywords: Classic
User: N/A
Computer: SERVER FQN
Description:
Event code: 3005 Event message: An unhandled exception has occurred.

Event time: 8/27/2014 4:39:26 PM

Event time (UTC): 8/27/2014 8:39:26 PM

Event ID: 90f34dc45f714c839428580d019291bd

Event sequence: 2

Event occurrence: 1

Event detail code: 0

Application information:

Application domain: /LM/W3SVC/2/ROOT/Designer-1-130536451310052960

Trust level: Full Application

Virtual Path: /Designer

Application Path: C:\Program Files (x86)\K2 blackpearl\K2 smartforms Designer\

Machine name: SERVER NAME

Process information: Process ID: 3696

Process name: w3wp.exe

Account name: SERVICE ACCOUNT 

Exception information: Exception type: NullReferenceException Exception message: Object reference not set to an instance of an object.
at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.IIdentityAuthentication(SCConnectionStringBuilder connectionStringBuilder)
at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.Authenticate(String connectionString)
at SourceCode.Forms.AppFramework.ConnectionClass.OpenOrAuthenticate(BaseAPIConnection connection, Boolean asAppPool)
at SourceCode.Forms.AppFramework.ConnectionClass.TryCredentialToken(BaseAPIConnection connection, String credentialToken, Boolean asAppPool)
at SourceCode.Forms.AppFramework.ConnectionClass.GetPoolConnection(String poolConnectionString, String credentialToken, Boolean asAppPool, Boolean& tokenApplied)
at SourceCode.Forms.AppFramework.ConnectionClass.Connect(BaseAPI baseAPI, Boolean asAppPool, Boolean validateLicense)
at SourceCode.Forms.AppFramework.ConnectionClass.GetLicenseManager()
at SourceCode.Forms.AppFramework.LicenseUtility.get_IsLicensed()
at SourceCode.Forms.AppFramework.ConnectionClass.Connect(BaseAPI baseAPI, Boolean asAppPool, Boolean validateLicense)
at SourceCode.Forms.AppFramework.ConnectionClass.GetFormsManager()
at SourceCode.Forms.AppFramework.BundlingUtility.CreateControlBundles()
at SourceCode.Forms.AppFramework.BundlingModule.PostAuthenticateRequest(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 

Request information: Request URL: http://SERVER/designer/default.aspx

Request path: /designer/default.aspx

User host address: 127.0.0.1

User: USER NAME 

Is authenticated: True

Authentication Type: Federation

Thread account name: SERVICE ACCOUNT 

Thread information: Thread ID: 56

Thread account name: SERVICE ACCOUNT

Is impersonating: False

Stack trace: at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.IIdentityAuthentication(SCConnectionStringBuilder connectionStringBuilder)
at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.Authenticate(String connectionString)
at SourceCode.Forms.AppFramework.ConnectionClass.OpenOrAuthenticate(BaseAPIConnection connection, Boolean asAppPool)
at SourceCode.Forms.AppFramework.ConnectionClass.TryCredentialToken(BaseAPIConnection connection, String credentialToken, Boolean asAppPool)
at SourceCode.Forms.AppFramework.ConnectionClass.GetPoolConnection(String poolConnectionString, String credentialToken, Boolean asAppPool, Boolean& tokenApplied)
at SourceCode.Forms.AppFramework.ConnectionClass.Connect(BaseAPI baseAPI, Boolean asAppPool, Boolean validateLicense)
at SourceCode.Forms.AppFramework.ConnectionClass.GetLicenseManager()
at SourceCode.Forms.AppFramework.LicenseUtility.get_IsLicensed()
at SourceCode.Forms.AppFramework.ConnectionClass.Connect(BaseAPI baseAPI, Boolean asAppPool, Boolean validateLicense)
at SourceCode.Forms.AppFramework.ConnectionClass.GetFormsManager()
at SourceCode.Forms.AppFramework.BundlingUtility.CreateControlBundles()
at SourceCode.Forms.AppFramework.BundlingModule.PostAuthenticateRequest(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Custom event details: 

unauthorized 401 error while using Share...

Dears

I receive "The request failed with HTTP status 401: Unauthorized" error when trying to to use SO to SharePointGroupsService.

and this is the log error: 

 

"1248818","2014-08-27 16:56:19","Error","SmartObjects","10702","Error","SourceCode.SmartObjects.ServiceBroker [ExecuteSmartObject]","10702 Retrying the SharePointGroupsService service instance as the K2 service account did not resolve the issue. The request failed with HTTP status 401: Unauthorized.","anonymous","0.0.0.0","dlx:C:\Program Files (x86)\K2 blackpearl\Host Server\Bin","1248818","895a3ee0982c426b80878c51c3865545",""
"1248992","2014-08-27 23:29:39","Error","IdentityService","64007","IdentityServiceError","IdentityService.ResolveExpiredItems","64007 Thread was being aborted.","","","dlx:C:\Program Files (x86)\K2 blackpearl\Host Server\Bin","1248992","57e61dcf49894ba98b741de182106b06",""

 

please advice. 

 

 

Thank you,

Mostafa. 

Log In to Post Discussion
The K2 Market is a place where K2 users share processes, tools, code, tricks and shortcuts, utilities and more
K2s Suggested Market Items

K2 Host Server Log Viewer

A simple but very effective K2 Host Server Log Viewer for live log viewing. Based on K2 smartforms so you can view and search the K2 Host Server logs from your browser. Details on this solution and on how to configure the server logging and how to deploy the package: http://peterblommendaal.wordpress.com/2014/01/24/create-a-k2-host-server-log-viewer-with-k2-smartforms/
Category: K2 blackpearl    Downloads: 1,172

Get More Info

Full Calendar Control

The K2 smartforms Full Calendar Control provides a full size , drag & drop calendar which can use any K2 SmartObject which has a start and end date as a data source. It features 3 views: a Month View, a Week View and a Day View. It also supports multiple data sources for displaying events from various different sources.
Category: K2 blackpearl    Downloads: 1,172

Get More Info

Visit these K2 resources for more information about products, user support, videos and more.

Community Articles
Curated community content for K2 users.
Support
Real-time technical support and maintenance.
Partner & Customer Portal
Download new K2 versions and other assets.
The Knowledge Base
Technical information for K2 Customers and Partners.
K2 Partners
Visit the K2 Partner website.
K2 Videos
Webinars, Demos and more featuring K2 products and customers.
Upcoming Events