Database is being used by another process … but what process?

后端 未结 10 1712

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

10条回答
  •  情深已故
    2021-01-06 00:41

    I think there is already SqlTestDB.mdf is attached. I have faced this problem before, simply go to Ms Sql server and detach the database then rebuild your connection at Server Explorer in Visual Studio.

提交回复
热议问题