Troubleshooting Workflow Errors
The following table contains explanations of selected error messages and offers suggestions about what you can do to avoid the errors.
Error text | Comments |
---|---|
Code generator context stack does not contain required item of type <type name>. |
During code generation and validation, a ContextStack object is used to keep track of the current context, which can be an activity, a property descriptor, or any other object that is needed to describe the context. This error occurs if an attempt is made to find an item that is not on the stack. Confirm that an item of the given type is being pushed onto the stack in your implementation of the code generator or validator. |
The update path must be a string literal, or an expression that produces a single side effect path. |
The Update statement takes either a string of the form “this/field1” or an expression that can be resolved to such a path. For example, you can type Update(this.field1) in an editor to get a CodeFieldReferenceExpression that points to field1. |
A cycle was detected in the expression. |
This error can occur if you construct rules in code that make a recursive reference. For example, the following code produces a cycle:
|
Project type not specified for xoml compilation task. |
This error occurs when no project directory is specified in your project. |
This language service does not support a CodeModel with which to load a designer. |
The file code model is used to parse the file and represent the code. It does not exist for some languages. If you receive this error while you are using C# or Visual Basic, it is likely because the compiler is not installed. |
See Also
Concepts
Copyright © 2007 by Microsoft Corporation. All rights reserved.