Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old December 2nd, 2005, 12:53 AM
Authorized User
 
Join Date: Nov 2005
Location: , , .
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?

Reply With Quote
  #2 (permalink)  
Old December 2nd, 2005, 11:33 AM
Friend of Wrox
 
Join Date: Aug 2004
Location: Orange County, CA, USA.
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?

Reply With Quote
  #3 (permalink)  
Old December 2nd, 2005, 05:08 PM
Authorized User
 
Join Date: Nov 2005
Location: , , .
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'"




Reply With Quote
  #4 (permalink)  
Old December 2nd, 2005, 09:07 PM
Friend of Wrox
 
Join Date: Aug 2004
Location: Orange County, CA, USA.
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.


Reply With Quote
  #5 (permalink)  
Old December 4th, 2005, 04:54 PM
Authorized User
 
Join Date: Nov 2005
Location: , , .
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

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 04: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 12:57 PM



All times are GMT -4. The time now is 01:36 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.