NotSupportedException in localized Compact Framework app

Today I was working on a Pocket PC app using Compact Framework 3.5. The app ran fine on the VS emulator, but when I finally deployed to the actual Pocket PC devices, it started throwing exceptions. The exceptions being thrown were of the type NotSupportException with the message System.Globalization.CultureInfo. Yeah great error message guys, I can really

Read more

Services.msc only displays Standard tab correctly / Project web panes problems

I faced a problem on my development machine. The following symptoms were visible: 1. The services.msc window only displayed the “standard” tab correctly. The extended / advanced tab was broken and only displayed the topleft blue bar. No text, no services, nothing. 2. In my Project installation (2007 office client) all the web panes broke.

Read more

Crystal Reports webpart for sale

Because a lot of people keep e-mailing me about the code I wrote for the Crystal Reports webpart, I decided to make it available for purchase. Unfortunately not for free, since my boss seems to think I have to get paid for the work I do. If you are interested in buying the webpart (it’s

Read more

405 Bad request error while inserting – updating ADO.NET Data Service

A few weeks ago I started working on a project which involved a ADO.NET Data Service. This is a way of bringing your datalayer online and letting clients query and update entities in your datalayer (database) through RESTful webservices. Locally everything was working fine, I tested the entire project and after fixing most bugs I

Read more

SharePoint profiles not synchronizing

A while ago, a colleague asked me why her contact details weren’t updated on SharePoint. She got married and thus her name changed. The AD was updated but the changed weren’t pushed to SharePoint for some reason.

Read more

Creating quick and easy application mock-ups

When you’re creating software, it’s always a good thing to let the people who you’re creating software for know how it’s going to look and feel. Not the simplest task at hand; creating a good mock-up of a screen involves some serious thinking and figuring out what a client would like / need to have

Read more

SharePoint and Analysis Services: The connection either timed out or was lost

In my last post, I wrote about enabling access to SQL Server Analysis cubes by specifying an account for impersonation. It now seems that’s not the way to go because I started receiving security validation errors with impersonation set to any account. I think that’s caused because SharePoint detects a difference between the user actually

Read more

Cannot complete this action. Please try again.

This is the error message I was getting on one of my SharePoint sites. I was really lost and ended up creating a new site hooked up to the old content db, after which is was working again. Except for one part of the site which involved getting data from a SQL Server Analysis Server

Read more

ODBC: Driver’s SQLSetConnectAttr failed

Today I ran into a very strange problem with one of my web app’s. After migrating it to a new server, a ODBC link stopped working. The only differences between the two servers were the OS: XP on one and 2003 R2 on the other.

Read more

Dynamic Linq where query

I just wanted to quickly share a pretty nice article about dynamic where predicates in Linq. It requires a little class to make AND and OR combinations with different predicates. The result is a flexible dynamic way of building a where predicate. Linq generates pretty good and effective queries from the predicates. Very nice! http://www.talentgrouplabs.com/blog/archive/2007/11/26/dynamic-linq-queries–dynamic-where-clause-part-2.aspx    

Read more