SQL Server database open in another program


Colm Kavanagh

Hi, I am trying to set the datasource for a DatagridView. I did already have one set up for another form in the same application but I have since deleted this. I seem to get this error:

"SQL Server database file"
"This File is in use. Enter a new name or close the file that's open in another program"

How can I get around this? I closed SQL Server application also so I dont see what application could have the database open. Also I dont understand why more than one application cannot access the database.

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question