Troubleshooting: Creation Issues

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

This section addresses issues relating to the requirements for the Workflow Designer for Exchange Server, the workflow engine, and the components of the workflow process.

Cannot Save Changes to Workflow Process

Often, when public folders are created through the Exchange system manager, create permissions are given to all users, but change permissions are not. You must be the folder owner and have delete, create, write, and change permissions.

**Note   **Setting folder permissions and creating role memberships are the responsibility of the Exchange Server administrator. Contact your Exchange Server administrator if you must have these settings configured.

Invalid workflow project location. Select an Exchange folder.

To save a copy of a Workflow Process Definition in the *.wfd format, you must select a folder on the Exchange store for which you are folder owner or have author permissions. If you must save a copy of an Exchange Workflow Process Definition to the file system, change the file type to *.wef.

Cannot Open Public Folders with Workflow Designer

You must be listed or be a member of a group listed in Component Services Management Console. Use the following procedure to verify or to change your role membership.

**Note   **Usually, creating role memberships is the responsibility of the Exchange Server administrator. If you do not have access to the Exchange Server, contact your administrator to have your role membership modified.

To add a user to the Can Register Workflow role

  1. From the Start menu, choose Programs, Administrative Tools, and then choose Component Service.
  2. Expand Component Services, expand Computers, expand My Computer, expand Com+ Applications, expand Workflow event sink, expand Roles, and expand Can Register Workflow.
  3. Select Users.
  4. Right-click Users, and select New, User.
  5. Select a user from the Name list, and click the Add button.
  6. Click OK.

Not a valid location in the Exchange Server Public folder

You cannot create a workflow project or save a workflow process definition in the root public folder. If you are trying to create a new Exchange Workflow Project, select a valid public folder on which you have folder owner permissions. If you are attempting to save a workflow process definition, you must have author permissions on the Public folder.

Scripts Are Not Executing or Creating Objects as Expected

At design time, the security mode for the workflow process is not validated by the workflow engine, making it possible for you to create and to save script procedures that you do not have permissions to execute. To execute script procedures requiring privileged mode validation, you must be a member of the Privileged Workflow Authors role.

**Note   **Creating role memberships is usually the responsibility of the Exchange Server administrator. If you do not have access to the Exchange Server, contact your administrator to have your role membership modified.

To add a user to Privileged Workflow Authors role

  1. From the Start menu, choose Programs, Administrative Tools, and then choose Component Service.
  2. Expand Component Services, expand Computers, expand My Computer, expand Com+ Applications, expand Workflow event sink, expand Roles, and expand Privileged Workflow Authors.
  3. Select Users.
  4. Right-click Users, and select New, User.
  5. Select a user from the Name list, and click the Add button.
  6. Click OK.

Cannot set Audit Trail Provider

If you have attempted to set the audit trail property to an invalid or non-existent AuditTrailProvider, you will receive an error message. The workflow components include one sample audit trail provider, AuditTrailEventLog.1 for you to use in debugging your application. This AuditTrailProvider writes messages to the Application Log in Event Viewer. Advanced developers familiar with CDO can write providers by implementing the IAuditTrail interface. For information about creating your own AuditTrailProvider, search for IAuditTrail Interface in the Microsoft® Developer Network (MSDN®) Exchange Developer Center at http://msdn.microsoft.com/exchange.

The item selected '<name>' is not a valid workflow process definition.

This error occurs when you attempt to set an Exchange Workflow Project's DefaultWorkflow property to a workflow process definition (*.wfd) that does not exist. You might have a typo in the process name. Use the Browse (...) feature of the property to search for existing workflow process definitions.

The default workflow process must reside on the same server as the folder. Please select another default process.

This error occurs when you attempt to set an Exchange Workflow Project DefaultWorkflow property to a workflow process definition (*.wfd) to a process definition that resides on a different public store. If your Exchange Workflow Project is on http://<MyServer>/public/<MyFolder> then any default workflow process used for this project must be in a folder on http://<MyServer>/ as well.

See Also

Troubleshooting Workflow Applications for Exchange Server | Finding Errors Using the Event Viewer | Error Messages | Workflow Process Security Mode | Permissions Checklist