This section addresses issues relating to the SQL Server databases used in a team solution, including issues concerning tables, views, and other database objects. If you are creating team solutions from existing databases or creating new databases, it is recommended you review the information included here.
For information about specific error messages, see Error Messages.
When designing the schema for your solution database, it is important to consider the following issues.
For additional information about schema requirements, see Team Solution Development Guidelines.
When creating a data access page for a main or detail table, always bind your controls to the base view (or a view built on top of the base view)—not to the table itself. You must specify a unique table for a data access page based on a view to be updateable and for the workflow toolbar to function. For more information, see Creating Data Access Pages.
When a table is added to the table hierarchy, views are created for each user table. For example, the Issues table in the Issue Tracking solution has the following associated view and stored procedure:
Note You can change the names of other columns, but you must make sure there are no additional dependencies on those column names in your solution. For details about identifying foreign key constraints and selecting different keyword columns, see Detail Table General Tab (Tables Pane) and Lookup Table General Tab (Tables Pane).
Manually removing from the database or modifying any of the tables used internally by the Access Workflow Designer tools may make the solution invalid, which may seriously disable the functionality of the tools. If this happens, the solution database must be reregistered as a team solution.
You can repair your invalid database by calling the modDropSchema stored procedure from the modSystem database and then opening your database in the Access Workflow Designer. This opens the Database Registration wizard. Once the database is registered as a solution database, you can add the Access Workflow Designer services to the database. For details, see Registering a Solution Database.
Note Before running the modDropSchema stored procedure, you may want to save the workflow script and the workflow tables (modWorkflow and modWorkflowActions) and use them to recreate the workflow definition after the team solution has been repaired.
Note To make a backup of the script, copy the entire contents of the Shared Script tab of each workflow process, and paste it into a text editor, such as Microsoft Notepad.
Note To make a backup of the tables, export them to another Access project (*.adp). Although you cannot directly import these tables to recreate your workflow, you can use them as a guide to help you remember your states and actions.
If you have trouble synchronizing the information in the user directory, it is possible you have an incompatible version of Microsoft Active Directory Service Interface (ADSI) installed.
If you have installed Microsoft Exchange 5.5 or later after installing the Access Workflow Designer server components, the version of ADSI on your computer may cause synchronization problems.
To resolve this issue, run ADS.exe from the Microsoft Office 2000 Developer CD-ROM.
Every SQL Server database is associated with an .mdf file located in the c:\mssql7\data directory. For example, the Issue Tracking database has the files c:\mssql7\data\IssueTracking.mdf. When you drop the database, SQL Server deletes the corresponding .mdf files.
Problems may occur if you reinstall SQL Server without dropping your databases first. When you reinstall, SQL Server removes the databases but does not remove the .mdf files. When Access Workflow Designer encounters .mdf files that are not attached to SQL Server, many functions may fail. If you have problems installing Access Workflow Designer components, opening databases in the designer, creating offline subscriptions, and so on, verify that the .mdf file exists and is attached to SQL Server.
To resolve these problems, either delete the .mdf files or attach the files to SQL Server. For details, see “Attaching and Detaching Databases” in the SQL Server Books Online.
In the Access Workflow Designer, the Tables or Solution pane may not refresh automatically when you add new main tables using the Main Table Selection wizard. Even pressing F5 for manual refresh may not refresh the pane.
To work around this problem, close and reopen the Tables or Solution pane to update the pane.