Windows Workflow Foundation 3


Problem with running Workflow Monitor on Beta 2.2


Sorry for my english...
I could not run Workflow Monitor from SDK Example on Beta 2.2. I recived an error (error converting IList to List).
I downloaded the official document (Microsoft Visual Studio 2005 Extensions for Windows Workflow Foundation Beta 2 to Beta 2.2 Key Changes). In this document I founded: 8.5 Various tracking types will use IList<> instead of List<>. As i understood, i need to rewrite all List to IList statements. I've done it.
Also i removed if from this context (DatabaseService.cs)
if (!((string.Empty == trackingDataItemValue.QualifiedName) || (string.Empty == trackingDataItemValue.FieldName) || ((string.Empty == trackingDataItemValue.DataValue)))) sqlTrackingQueryOptions.TrackingDataItems.Add(trackingDataItemValue);
to
sqlTrackingQueryOptions.TrackingDataItems.Add(trackingDataItemValue);
Now I could run the application, but it does't shows any workflow instances! Help, please.
 
If you installed the Workflow VS Extensions for Beta 2.2 it comes with an updated Workflow Monitor in Samples.zip that can be found under %Program Files%\Microsoft SDKs\Windows Workflow Foundation.
If you installed the Workflow VS Extensions for Beta 2.2 it comes with an updated Workflow Monitor in Samples.zip that can be found under %Program Files%\Microsoft SDKs\Windows Workflow Foundation.
 Tom Lake wrote:If you installed the Workflow VS Extensions for Beta 2.2 it comes with an updated Workflow Monitor in Samples.zip that can be found under %Program Files%\Microsoft SDKs\Windows Workflow Foundation.
Hello, Tom!
Thank you. Your post was helpful but i still have a problem:
Yes, I installed Workflow VS Extensions for Beta 2.2 (downloaded from "MicrosoftR WindowsR Workflow Foundation Runtime Components Beta 2.2 and Visual StudioR 2005 Extensions for Windows Workflow Foundation Beta 2.2" - 67Mb).
Yes, I founded Samples.zip (2129Kb; created at 21.02.2006). Extract Workflow Monitor example from it.
Yes, I founded diferences in DatabaseService.cs file:
queriedWorkflows.AddRange(sqlTrackingQuery.GetWorkflows(sqlTrackingQueryOptions));instead of
queriedWorkflows = sqlTrackingQuery.GetWorkflows(sqlTrackingQueryOptions);
 I created database Tracking and apply SQL Scripts Tracking_Schema.sql and Tracking_Logic.sql from "C:\WINDOWS\WinFX\v3.0\Windows Workflow Foundation\SQL\EN\" without errors
I opened WorkflowMonitor.sln from C:\Program Files\Microsoft SDKs\Windows Workflow Foundation\Samples\Applications\WorkflowMonitor\CS\ and run (F5) it.
Now, I see this picture (running Workflow Monitor). In Workflow View area I saw the label with error text: "Error loading the workflow definition from the tracking database or error processing the workflow definition..." What does this error means?
Ok, let's try to put some date into Tracking database! I used the QueryUsingSqlTrackingService example (SimpleWorkflow) from "C:\Program Files\Microsoft SDKs\Windows Workflow Foundation\Samples\Technologies\Tracking\QueryUsingSQLTrackingService\CS\". The examples output was:Executing the workflow Instance Level Events: EventDescription : Created DateTime : 04.06.2006 8:59:47EventDescription : Started DateTime : 04.06.2006 8:59:47EventDescription : Completed DateTime : 04.06.2006 8:59:47Activity Tracking Events: Done running the workflow.
After the execution i saw new tables in database. Like ActivityExecutionStatusEvent_2006_6, ActivityInstance_2006_6, AddedActivity_2006_6 and etc.
After that I run the WorkflowMonitor again and obtained (raised) an error: Exeption in GetWorkflowsCould not load file or assembly 'QueryUsingSqlTrackingService, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies....Ensure you settings are correct and that you have run SqlTrackingService database and logic scripts
What should I do for tracking Workflows? Could you give me the working example or some ideas to correct this issue?
Put QueryUsingSqlTrackingService.exe in the same directory with workflowmonitor.exe
 

Related Links

Problem in WorkflowRuntime.WorkflowCompleted event
HandleExternalEvent Problem
WWF with .NET compact framework 2.0
How can I query StateMachineWorkflowInstance before the WF idles
Question about modifying a workflow
Rule Conditions against custom activities and XAML activation - how should I achieve this?
MOSS Publishing Site
WF custom persistence once again
Hands on Labs 2.2
WF Virgin
Error in the Hands on lab 09
Workflow Designer
How do you load XOML only State Workflow in WFPad for WWFBeta 2.2 (with namespace for codebehind assembly, and activities)?
invoke sub StateMachine workflow
Using WWF to model and support "Tech Trees" in RTS games
RuleConditionDialog and intellisense

Categories

MSDN
SharePoint
Visual Studio Team Fou...
Visual FoxPro
Commerce Server
Data Platform Developm...
Learning
Open Specifications
Silverlight
Microsoft Azure
OneDrive Development
Internet of Things
Cortana
Visual C#
Visual Basic
Test Tools in Visual S...
Submitting and Publish...
Payouts and Reporting
XboxLiveDevelopment
Windows Desktop Develo...
Microsoft Message Queu...
Windows Imaging Compon...
Open XML Format SDK
SharePoint Legacy Vers...
SharePoint Legacy Vers...
Azure Management Portal
Azure Virtual Machines
Azure HDInsight
Azure Scheduler
Azure DocumentDB
Machine Learning
Azure DevTest Labs
Claims based access pl...
Team Foundation Server...
BizTalk Server EDI and...
ADO.NET DataSet
ADO.NET Entity Framewo...
XML, System.Xml, MSXML...
The Forum of Sho
ISV Open Discussions
SyncFx - Microsoft Syn...
Microsoft Robotics - C...
SQL Server Analysis Se...
SQL Server Spatial
SQL Server 2012 Spatia...
SQL Server 2012 Report...
Windows Live Messenger...
Orchard - Help and Sup...
WebsitePanel - Support
Project Server General...
Project Server - Setup...
Exchange Server Develo...
Designing with Silverl...
Expression Studio with...
Expression Design
Expression Encoder
Retired SharePoint Soc...
Project Standard and P...
.NET Framework 4 setup...
Announcements about pr...
Archived: Software Tes...
Axum Incubation Project
Building Development a...
Casablanca
Charts & Reports in th...
CHESS – Find and Repro...
Dynamic Languages on .NET
DNS and Traffic Manager
General Windows MultiP...
HealthVault Data Types
Hobbyist Zone
Face Tracking – Kinect...
Installing and Registe...
LightSwitch in Visual ...
Microsoft Unified Comm...
Model-Based Testing wi...
MS-Build, Multi-Target...
Search, Organize, and ...
Silverlight (formerly ...
Surface Application De...
SQL Creation
Team Foundation Server...
Team Foundation Server...
Team Foundation Server...
TFS Deployment to Azure
Visual Basic Express 2...
Visual Basic Express E...
Visual Basic for Appli...
Visual Basic Power Packs
Visual C# 2008 (Pre-re...
Visual C# IDE
Visual Studio Async CTP
Visual Studio Code Ana...
Visual Studio Tools fo...
Visual Studio Web Perf...
Web Gadget Development
Web Sandbox - Exploits
Windows Live Controls ...
Windows Live Search: D...
Windows Presentation F...
Building Windows Store...

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile