473,394 Members | 1,841 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Import database from local system to server system

53
Hi,

I have a problem with database.For my application i am using .net and sql server 2000. i am having database for my application in my local system.if i shutdown the system database is not working.i tried to import database from local system to server system.but it is not woking properly.is there any solution to import database.Please help me.

Thanks
pavani
Oct 20 '08 #1
2 1825
ck9663
2,878 Expert 2GB
Your post is too generic.

But yes, there's a way. You have to install SQL Server on that server machine, backup your local database and restore it on the server machine.

You might also need to change your connection string to point your app to your server machine.

-- CK
Oct 21 '08 #2
pavanip
53
ok.thank you.I got the solution to my problem by using the following steps.

Sql Enterprise Manager,Right Click On Database SELECT Properties->Datafiles(Tab)->See th location of ur database and go to that location and find .ldf and .mdf files there now stop sql server running on ur machine and copy those files(.ldf,.mdf) now start ur Sql Server now go to ur actual server(Destination) system ,now create a folder any where on that Suppose on D:\\Database now paste these(.ldf,.mdf)files there and open Sql Enterprise Manager on that system and select Databases folder right clck on that All Tasks->Attach Database->click brose button(...)->select the mdf file(D:\\Database\\xxx.mdf) and say ok.
Oct 21 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

15
by: DesignGuy | last post by:
I've inherited a site that has 1000+ product pages that follow a similar layout. I would like to import these pages into a database for ease of future updating. The pages have the usual banners,...
6
by: khanif | last post by:
Can someone provide me with an example with how to import data from an excel file into SQL Server with VB.NET? Thanks
3
by: Sam | last post by:
I have developed a small database which is setup with the front end and backend files. There are 12 linked tables withe the datafile located on our server. Now the boss wants to be able to...
13
by: Christopher Cashell | last post by:
Yesterday, while attempting to access a database, I received errors saying that the database was innaccessible. After investigating a little, I found the following in the PostgreSQL log files: ...
7
by: Randy | last post by:
Folks: We have a web-based app that's _really_ slowing down because multiple clients are writing their own private data into a single, central database. I guess the previous programmer did...
0
by: syadav | last post by:
Hello , Dear How i can take a dump of database form server linux to windows system import/export oracle database server to local system Waiting ur reply urgently Advanced...
3
by: rockmead76 | last post by:
Hi, I'm not a SQL person but have the need to export a tables content (from live) and then import into a test system. A backup and restore is not an option. bcp Database..databasetable out...
4
by: pavanip | last post by:
Hi , I have a problem with importing database from local system to web hosting server. can you Please tell me the steps to import database from local machine to web hosting server.I am using Sql...
6
by: provor | last post by:
Hello, I have the following code that I am using when a user presses a button to import an excel file into a table. The code is hard coded to point to the correct table. This works great for this...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.