· 1 min read

Transactions in stored procedures with transaction scope

Yesterday I got a question from a colleague who had run into trouble using the TransactionScope-construct in .NET. The case was as follows; the are programming against a database whose stored procedures they cannot change. Some of these stored procedures are using calling each other and doing so under stored procedures. When the .NET-code is calling those stored procedures and...

Continue reading

· 1 min read

Error message "Could not load file or assembly 'Microsoft.VisualStudio.Enterprise.ASPNetHelper" when deploying

When we deployed our latest WCF-service we ran into this error message: Could not load file or assembly ‘Microsoft.VisualStudio.Enterprise.ASPNetHelper’. Apparently this has to do with Visual Studio inserting stuff into the web.config (or app.config) when you ran a test under code coverage. From my goggling I find that other actions in Visual Studio might insert this also. Here is a...

Continue reading

· 1 min read

Design patterns

I’ve been doing some reading up on design patterns, mostly actually since I was curious on the book - Head First Design Patterns. It is great - I can honestly say that it is the best IT-related book I’ve ever read. It is the first time (embarrassing enough) I understand some of these patterns. It covers a lot of different...

Continue reading

· 1 min read

Running Vista

OK - for the first time I am running Vista. I am really impressed so far. Looks nice and work great - that’s how we want to have it, isn’t it? That all Mac users probably goes bananas over all the Mac-OS-rip-offs is nothing to care to much about. Also this is my first posting using Windows Live Writer, which...

Continue reading

· 1 min read

Debugging WCF Service - the Service attribute value in the ServiceHost directive could not be found

We’ve got the “the Service attribute value in the ServiceHost directive could not be found” error message when we renamed (and moved) and .svc-file. There are not a very good support for that in Visual Studio 2008. The error message we’ve got had to do with us forgetting to rename the class that implemented our interface for the service (the...

Continue reading

· 1 min read

Recording session II

Yesterday evening was the last rehearsal before the second and last recording session with my band, the Vasa Band. We are really in a flow right now; we feel blessed and that God is with us in our efforts and the playing standard is on very high level. I am really looking forward to the weekend which will be great...

Continue reading

· 1 min read

Find in SourceControl - Visual Studio 2008

I have found it! In the first versions of Visual Studio Team Explorer you couldn’t search for checked out files, wild cards or labels. But now - from Visual Studio 2008 it is back. You can reach it from within the Source Control with a simple right click as shown above.

Continue reading

· 1 min read

How to get rid of multiple .vsmdi-files

Here is a thing that have created a lot of confusion and frustration in our projects; when you have a Microsoft Test project under source control the .vsmdi-files gets created multiple times. In one project we have 48 of them. All under source control. I have even been in contact with Microsoft but they only showed me a workaround that...

Continue reading