Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution 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 28th, 2004, 12:08 PM
Authorized User
 
Join Date: Nov 2003
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to seanmayhew
Default Need help moving my database

I made the mistake of getting involved with a friend who started a hosting business but now I want out. My question is how on earth do I get my MSSQL database off of his server and onto my local drive. I tried doing the backup but that errors out with permission errors. I've tried export data by setting the destination to my local SqlServer and that errors out also with permission errors I assume. when I just generate a sql script it keeps adding my username for the server as the owner of the tables rather than dbo so I have
Code:
setuser N 'myusername'
throughout the generated sql script.

Im relatively new to SQLServer and know just about enough to be dangerous and thats it.

Any help would be greatly appreciated.

 
Old December 30th, 2004, 05:00 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just use Enterprise Manager to backup to a "device", and then specify a filename instead of a device. This is easy, and it includes everything in the database. That's what the book authors did to distribute the database for people who use the code download.

Of course, you need to log in as an administrator: normally the "sa" user account is used for this kind of thing. It's possible that some lower priv accounts have been grated permission to do backups, but that's not common, especially in small companies.

You're going to have SERIOUS trouble if you try to script everything unless you have some more experience. It's easy to make mistakes when you try to script everything.

Eric





Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving the database to another Server x_ray SQL Server 2000 10 February 4th, 2006 07:21 AM
moving around a page ozPATT Excel VBA 1 October 17th, 2005 02:42 AM
Moving through a Do Loop mmcdonal VBScript 1 April 8th, 2005 02:10 PM
Moving the MySQL Database Root Directory miguelm BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 February 26th, 2005 02:13 PM
Moving Access 2000 database server lmcharl Access 1 June 21st, 2003 09:58 PM





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