الكود مش شغال معايا برضة و بيعطي نفس الرسالة اللي بتظهر للناس كلها Additional information: Exclusive access could not be obtained because the database is in use. مشكلة حتي بعد ما استخدمت With replace Additional information: The file 'C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\DATA\Libary_DB.mdf' cannot be overwritten. It is being used by database 'Libary_DB'.
انت راجل محترم وجزاك الله كل خير
جزاك الله خير
may allah bless you bro
Additional information: Exclusive access could not be obtained because the database is in use. مشكلة
عرفت الحل ؟
لو سمحت انا لو عاوز اشغل البرنامج على جهاز اخر ارفع قاعده البيانات ازاى
الكود مش شغال معايا برضة و بيعطي نفس الرسالة اللي بتظهر للناس كلها
Additional information: Exclusive access could not be obtained because the database is in use. مشكلة
حتي بعد ما استخدمت With replace
Additional information: The file 'C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\DATA\Libary_DB.mdf' cannot be overwritten. It is being used by database 'Libary_DB'.
Cmd = new SqlCommand("Restore DataBase Library_DB From Disk='" + op.FileName + "' With replace", cn);
thanks a lot dude
thanks thanks thanks thanks
@@AhmadBarakat-w7d Additional information: Exclusive access could not be obtained because the database is in use. مشكلة
@@usamaluqman2494 Additional information: Exclusive access could not be obtained because the database is in use. مشكلة
السلام عليكم حدثت برضة بالكود ده مشكلة و مش لاقي حل