Hi, Bob.
>Is it possible that you restored your database from a backup? If so, permissions for each database will be restored along with the data.
Not possible... I´ve run the code, everything went well... half one hour later (after studying some pages more of my C# book), it just stopped to work...
Claudio Lassala