Not able to open any rule - assembly error
User not able to open any class instance or rule in a development environment.
com.pega.pegarules.pub.generator.UnresolvedAssemblyError: Invalid expression or reference: No candidates found [possible function name, ruleset/version or number of parameter problem]
Steps to Reproduce
Attempt to open any rule in the Developer portal.
A defect in Pegasystems’ code or rules. The VTable entry for the declarative rule pxActorsCount became corrupt.
Perform the following local-change:
Use the SMA tool under Advanced > Virtual Rule Table Cache Management to delete the database cache entry for the rule.
The required parameters for the command can be found by opening the XML for the rule pxActorsCount.
pxObjClass is Rule-Declare-Expressions. pxInsID is !.PXACTORSCOUNT! (exclamation points are required).
Once user enters the parameters, click on the "Lookup Virtual Table Cache Detail" button.
One will see one or more entries. Then click on the "Reassemble Candidates" button. This will delete the corrupt entry, and the next time user references the rule, the correct entry should be generated.