Try stopping and restarting the MSSQL service,then do the restore, do you have 
any programs using the SQL at the moment?

Steve
  ----- Original Message ----- 
  From: salma s 
  To: [email protected] 
  Sent: Saturday, September 09, 2006 2:38 PM
  Subject: [delphi-en] help me




  would you help me to restore my sql database, while the error bellow appears 
after executing this command:

  //
  ADOConnection1. Execute(' RESTORE DATABASE storage FROM disk = '+ch+K+ch);
  //

  and I get the following error : 
  "Exclusive access could not be obtained because the database is in use." 
  Any help would be appriciated 
  Thanks in advance 


  ---------------------------------
  Do you Yahoo!?
  Get on board. You're invited to try the new Yahoo! Mail.

  [Non-text portions of this message have been removed]



   

[Non-text portions of this message have been removed]



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/delphi-en/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to