Generate event handlers error: "Cannot create method in the associated activity"

  • 24 February 2022
  • 0 replies
  • 3 views

Userlevel 5
Badge +20
 

Generate event handlers error: "Cannot create method in the associated activity"

kbt151005

PRODUCT
K2 blackpearl 4.7
BASED ON
K2 blackpearl 4.7
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
LEGACY/ARCHIVED CONTENT
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.

Issue

The following 'generate event' error appears: "Cannot create method in the associated activity. Make sure a class with this activity name exits."

Symptoms

This happens when trying to generate client event (and other events) handlers.

Troubleshooting Steps

If the server has March 2018 CU installed, please install March 2018 CU on the client machine to resolve the issue.
If the March CU is already installed on both server and client machines, run devenv /setup on the client machine with an admin account to reset Visual Studio.

0 replies

Be the first to reply!

Reply