Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 2nd, 2005, 01:53 AM
Authorized User
 
Join Date: Nov 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Failed to copy objects from SQL server to SQL Serv

Dear All

I am trying to export the data from the live SQL Server to my local SQL Server, however, I am getting "Failed to copy objects from SQL server to SQL Server".

I managed to export the stored procs by generating a script, and also to export the tables, however they did not have any relationships.

Do you have any idea what I can do?

 
Old December 2nd, 2005, 12:33 PM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 385
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am not sure I am understanding what you want to do. Can you not simply do a backup and restore from source to target?

 
Old December 2nd, 2005, 06:08 PM
Authorized User
 
Join Date: Nov 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

When I tried to back up from the live server to my hard drive, its not allowing me, giving me "Execute Permission Denied on object 'xp_availablemedia', database 'master', owner 'dbo'"




 
Old December 2nd, 2005, 10:07 PM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 385
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Try backing up the live database to the live server, then copy the backup file to your local computer then restore the file to your local computer.


 
Old December 4th, 2005, 05:54 PM
Authorized User
 
Join Date: Nov 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I solved it

What I did was I created the same owner on my local database and it worked perfectly

Thanks for your help mate

Johann






Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL server registration failed cuy .NET Framework 2.0 1 June 14th, 2006 01:07 AM
Identify dropped objects from SQL Server pvasudevan SQL Server 2000 0 June 14th, 2005 11:45 PM
Sql Server Login Failed error a42 ASP.NET 1.0 and 1.1 Basics 3 December 14th, 2004 05:19 PM
sql server login failed rizp SQL Server 2000 10 September 11th, 2004 03:01 AM
Sql server connection failed AcidHell2 All Other Wrox Books 0 February 26th, 2004 01:57 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.