Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

SQL Server 2005 Restore Error
Trying to restore SQL Server 2000 database backup to SQL Server 2005.

Machine 1:
SQL Server 2005 on Windows 2003 SBS.

Machine 2:
SQL Server 2000 on Windows 2003 Server

1. Create (Complete) backup on Machine 2
2. Restore on Machine 1

Result of Restore attempt:

Error Dialog:

Restore failed for Server 'IDSC31057'.  (Microsoft.SqlServer.Smo)

System.Data.SqlClient.SqlError: Directory lookup for the file "C:\Program
Files\Microsoft SQL  Server\MSSQL\data\Ho
spital_Data.MDF" failed with the
operating system error 3(error not found). (Microsoft.SqlServer.Smo)

Can anybody tell me where to start?








Report this thread to moderator Post Follow-up to this message
Old Post
GeoffAtDatagaard
11-30-06 05:12 AM


Re: SQL Server 2005 Restore Error
OK, We found out the path you BACKED UP must exist on the TARGET machine.

Does this mean you can ONLY restore to the same path you BACKUP ?


"GeoffAtDatagaard" <geoff@datagaard.com.au> wrote in message
news:utvyySEFHHA.4080@TK2MSFTNGP02.phx.gbl...
> Trying to restore SQL Server 2000 database backup to SQL Server 2005.
>
> Machine 1:
> SQL Server 2005 on Windows 2003 SBS.
>
> Machine 2:
> SQL Server 2000 on Windows 2003 Server
>
> 1. Create (Complete) backup on Machine 2
> 2. Restore on Machine 1
>
> Result of Restore attempt:
>
> Error Dialog:
>
> Restore failed for Server 'IDSC31057'.  (Microsoft.SqlServer.Smo)
>
> System.Data.SqlClient.SqlError: Directory lookup for the file "C:\Program
> Files\Microsoft SQL  Server\MSSQL\data\Ho
spital_Data.MDF" failed with the
> operating system error 3(error not found). (Microsoft.SqlServer.Smo)
>
> Can anybody tell me where to start?
>
>
>
>
>
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
GeoffAtDatagaard
11-30-06 10:17 AM


Re: SQL Server 2005 Restore Error
> Can anybody tell me where to start?

Don't trust the GUI, use the RESTORE command. Next step is to study the MOVE
 option of the RESTORE
command.

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www. solidqualitylearning
.com/


"GeoffAtDatagaard" <geoff@datagaard.com.au> wrote in message
news:utvyySEFHHA.4080@TK2MSFTNGP02.phx.gbl...
> Trying to restore SQL Server 2000 database backup to SQL Server 2005.
>
> Machine 1:
> SQL Server 2005 on Windows 2003 SBS.
>
> Machine 2:
> SQL Server 2000 on Windows 2003 Server
>
> 1. Create (Complete) backup on Machine 2
> 2. Restore on Machine 1
>
> Result of Restore attempt:
>
> Error Dialog:
>
> Restore failed for Server 'IDSC31057'.  (Microsoft.SqlServer.Smo)
>
> System.Data.SqlClient.SqlError: Directory lookup for the file "C:\Program 
Files\Microsoft SQL
>  Server\MSSQL\data\Ho
spital_Data.MDF" failed with the operating system erro
r 3(error not found).
> (Microsoft.SqlServer.Smo)
>
> Can anybody tell me where to start?
>
>
>
>
>
>
>


Report this thread to moderator Post Follow-up to this message
Old Post
Tibor Karaszi
11-30-06 10:18 AM


Re: SQL Server 2005 Restore Error
Hi there,

You can use the nice UI to restore the database to any location you
want. I think its on the second page of the restore database GUI. It's
under the heading of Options or something.

HTH

Simon

Report this thread to moderator Post Follow-up to this message
Old Post
Simon Harvey
12-01-06 12:14 AM


Re: SQL Server 2005 Restore Error
Hi,

As Tibor pointed out; Use the RESTORE DATABASE WITH MOVE option to move the
physical files to an alternate directory.
Take a look about the RESTORE DATABASE command in books online.

Thanks
Hari

"GeoffAtDatagaard" <geoff@datagaard.com.au> wrote in message
news:eznOLjEFHHA.1252@TK2MSFTNGP02.phx.gbl...
> OK, We found out the path you BACKED UP must exist on the TARGET machine.
>
> Does this mean you can ONLY restore to the same path you BACKUP ?
>
>
> "GeoffAtDatagaard" <geoff@datagaard.com.au> wrote in message
> news:utvyySEFHHA.4080@TK2MSFTNGP02.phx.gbl... 
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Hari Prasad
12-01-06 12:14 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 09:17 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006