With Restore The Database

Results 1 to 5 of 5
  1. #1
    Elite Member scrip is offline
    Member +Rank
    May 2009 Join Date
    210Posts

    ! With Restore The Database

    i want restore on my vps a db and then all the time this pop ups ...

    TITLE: Microsoft SQL Server Management Studio Express
    ------------------------------

    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.Express.ConnectionInfo)

    ------------------------------
    ADDITIONAL INFORMATION:

    The backup device 'C: \ GunzDB.bak' can not be opened. Operating system error 5 (Access is denied.).
    RESTORE HEADERONLY failure, is completed. (Microsoft SQL Server, Error: 3201)

    For help, click: http://go.microsoft.com/fwlink?ProdN...1&LinkId=20476

    ------------------------------
    BUTTONS:

    Ok


  2. #2
    Newbie noamke is offline
    MemberRank
    Sep 2008 Join Date
    7Posts

    Re: With Restore The Database

    Are you trying to open it as a .bak file?
    if so make a back up of the file and then change it to GunzDB.sql

  3. #3
    Elite Member scrip is offline
    Member +Rank
    May 2009 Join Date
    210Posts

    Re: With Restore The Database

    now this error pop up

    Code:
    TITLE: Microsoft SQL Server Management Studio Express
    ------------------------------
    
    Restore failed for Server 'CT33344 \ SQLEXPRESS'. (Microsoft.SqlServer.Express.Smo)
    
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.2047.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Restore+Server&LinkId=20476
    
    ------------------------------
    ADDITIONAL INFORMATION:
    
    System.Data.SqlClient.SqlError: Error on directory browsing for the file "C: \ Program Files \ Microsoft SQL Server \ MSSQL.1 \ MSSQL \ DATA \ GunzDB.mdf. Operating system error 3 (The system can not find the path specified.). (Microsoft.SqlServer.Express.Smo)
    
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.2047.00&LinkId=20476
    
    ------------------------------
    BUTTONS:
    
    Ok


    ---------- Post added at 11:25 PM ---------- Previous post was at 11:19 PM ----------

    do i need something ? to can resoter ?

  4. #4
    Elite Member stealhtfire is offline
    Member +Rank
    Jul 2008 Join Date
    notwhereiwanttoLocation
    243Posts

    Re: With Restore The Database

    renaming the .bak to .sql wont do anything lol
    i restored a database backup with a .bak before ... and renaming it isnt the answer for sure lol

    it seems to me you need a password, the same that was set on the database as it was before, its needed to restore the backup
    Last edited by stealhtfire; 12-03-10 at 06:38 AM.

  5. #5
    Grand Master Trilest is offline
    Grand MasterRank
    Apr 2009 Join Date
    The NetherlandsLocation
    549Posts

    Re: With Restore The Database

    Open your SQL Server Configuration Manager. Right click SQL Server (SQLEXPRESS) and choose properties. You have to change that mode, but unfortunately for you I forgot what mode used to work. Good luck ;)



Advertisement