Re: System.data.sqlclient.sqlerror

Tech-Archive recommends: Speed Up your PC by fixing your registry



No worries, I realized after I sent the message that I have touched the sensitive people

"Sylvain Lafontaine" <sylvain aei ca (fill the blanks, no spam please)> wrote in message news:eWKUqJ5aJHA.4072@xxxxxxxxxxxxxxxxxxxxxxx
You should ask this question to a newsgroup specifically dedicated to SQL-Server such as microsoft.public.sqlserver.server. This newsgroup is about problems using ADP against a SQL-Server and has nothing to do with problems exclusively related to SQL-Server.

Before reposting, you should also mention in your post if you are trying to restore the database over an existing database or to a new database or location. Adding other details might also help.

--
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: sylvain aei ca (fill the blanks, no spam please)


"Viol-8-R" <viol-8-r@xxxxxxxxxxx> wrote in message news:CAE1B901-F554-438F-BBA5-7B48C67F37FA@xxxxxxxxxxxxxxxx
Hello people
I am trying to restore DB from a Live company (using SSMS, restore) to Test and following is the error message I get and can't do the restore.

System.data.sqlclient.sqlerror: exclusive access could not be obtained because the database is in use


Please help

Relevant Pages

  • Re: Backend Exchange migrate to New Hardware (Server)
    ... Exchange mailbox stores and Exchange public folder stores. ... When you use Backup to restore Exchange databases, ... Storage Engine to restore Exchange database files and their ...
    (microsoft.public.exchange.setup)
  • Backup and Restore Files
    ... What is the best way to backup and restore a runtime database file? ... pszDisplayName As String ...
    (microsoft.public.access.gettingstarted)
  • RE: Restore public folders and companyweb
    ... > where the backup of the database. ... Before you can start to restore the SharePoint Services databases, ... > Microsoft CSS Online Newsgroup Support ... > This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • Re: Transaction Log ??
    ... we used to simplify our database restore process: ... every database got their respective backup folder. ... -- get logFileName, FirstLSN, LastLSN list ...
    (microsoft.public.sqlserver.security)
  • Re: PARTIAL SQL Server RESTOREs
    ... DROP DATABASE mywind_part ... ALTER DATABASE mywind ADD FILEGROUP new_customers ... -- A full database backup is performed. ... RESTORE FILELISTONLY lists the database ...
    (microsoft.public.sqlserver.server)