Er, this is embarassing. I've used an ADO connection string instead of an ADO.NET one. Sorry. Felix. _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail