SqlTrackingService does not work in Beta 2.2
Hello, I have a problem with tracking :
I have worked through Hands-on Labs Beta 2, Lab 03, DefaultSQLServices.
The compiler throws the error message:
"Type or namespaceSharedConnectionWorkflowTransactionService not found"
When I delete this line the code will be compiled, but I get runtime errors. The persistence service and the tracking service do not work together as it seems.
The persistence service alone works well. But the tracking service does not - no tracking records were generated.
Thank you, Tom. Your hint was very useful.
I learned that
"SharedConnectionWorkflowTransactionService is replaced with SharedConnectionWorkflowCommitWorkBatchService in Beta 2.2"
So I will rename the service in the code example and try again.
In the documentation of Beta 2.2 there is still the older service name, so I could not recognize this mistake.
So I am back again with my problem.
I have tried again the example DefaultSqlServices from Lab03, HOL Beta 2.
As I am using Beta 2.2 I have replaced the service name to SharedConnectionWorkflowCommitWorkBatchService.
The program is not running correctly with tracking and persistence together. The tracking service seems to disturb the persistence service. No tracking records are generated.
So I decided to switch tracing on. Within the .log file I could read :
Host Error: 0 : Error writing tracking data to database: System.Data.SqlClient.SqlException: too many arguments for procedure or function InsertWorkflow
in System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) ...................
What does it mean ?
Maybe the SQL scripts from Beta 2 for creating the database are not compatible with Beta 2.2 ?
Thank you in advance for your answer. Iris