I have written a very small C# program, that uses a very small SQL Server database, purely for some learning & testing purposes. The database is used in this one new pro
Try using Process Explorer written by Mark Russinovich, a Technical Fellow at Microsoft. It's a standard swiss-army tool in the pocket of Windows Admins/Developers. It can show you what processes are holding handles on resources in the system.
Once you've got Process Explorer installed, try the following:
The search results should display a process/service with a handle on one of the resources still held by a wrongly-terminated process.