The Problem Solver

Tell me and I will forget
Show me and I will remember
Involve me and I will understand
- Confucius -

Google Ads

This Blog

Syndication

Search

Tags

News





  • View Maurice De Beijer's profile on LinkedIn

Community

Email Notifications

Explore

Archives

July 2008 - Posts

SQL Compact is a great little database and highly recommended. However it was designed for use on small compact, hence its name, devices and that has some drawbacks. One of these is that it doesn't run as a 64 bits application. And by default if you create a .NET application it is compile as "Any CPU" meaning it will run as a 64 bits application on a 64 bits version of Windows.

I, or I should say Ron Jacobs, ran into that using my SqlCeWorkflowPersistenceService because the sample/test application  was set to the default of "Any CPU". The result is that the LINQ provider cannot load the runtime and a InvalidOperationException with message "Cannot open 'WorkflowPersistenceDatabase.sdf'. Provider 'System.Data.SqlServerCe.3.5' not installed." is the result. Now the fix is rather easy but it has to be done in the main program and that is to compile it for X86 instead of Any CPU.

X86

Do this and any application using  SQL Compact 3.5 will happily run on Windows 64bit as a WOW Application.

Enjoy!

Posted by Maurice | 1 comment(s)
Filed under: , , , ,

Martine made this picture of me launching of the Tegelberg in Germany.

IMG_2339

 

A great place to fly with a nice view of Neuschwanstein Castle. Below a picture I took while flying.

Neuschwanstein Castle while paragliding
Posted by Maurice | with no comments
Filed under:

I have just updated the SQL Server Compact Workflow Persistence Service to better handle deserialization issues when loading a workflow. The service now makes sure the WorkflowRuntime ServicesExceptionNotHandled is raised, something it should have done in the first place.

You can download the SQL Server Compact Workflow Persistence Service from here.

 

Enjoy!

www.TheProblemSolver.nl
http://wiki.WindowsWorkflowFoundation.eu

Posted by Maurice | with no comments
Filed under: , , , , ,

I was just working on an issue reported against the SQL Server Compact Workflow Persistence Service I released some time ago. It turns  that if you are using workflow persistence your workflow will actually be persisted to the store when an exception is caught. Now in itself not a big problem as your whole workflow needs to be serializable anyway. Except this time where is an additional exception object and when the exception itself cannot be serialized this brings the whole workflow down. In fact it brings more that just the workflow as the whole workflow runtime crashes, not good Sad

The culprit in this case was a SqlCeException which is not serializable! Don't worry about the more common SqlException because that is perfectly ok.

Still something to double check as these exceptions are, by their very nature, the exceptional case and therefor less likely to be tested.

Enjoy!

www.TheProblemSolver.nl
http://wiki.WindowsWorkflowFoundation.eu

Posted by Maurice | with no comments
Filed under: , , ,

While on holiday I received the MVP award for another year Smile

Now that is always a nice email to come home to!

Thanks, I appreciate it!

Posted by Maurice | with no comments
Filed under: ,