472,805 Members | 1,489 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

SQL Server EXPRESS and .MDF in Visual Studio

Hi

I have a bunch on tables and data in my local SQL Server 2005 Express master
DB and I want to export it to a database.mdf within my wwwroot (visual
studio) file - how can i do this?

Thanks for you help

leonaisse

Jan 6 '07 #1
3 2568
Hi leonaisse,
can you tell me that are you using Visual Studio.NET 2005 for
development of your website.

Regards,
Kunal Ramesh Lalwani
Sr Process Executive.
Styx Infosoft Pvt Ltd
ahmedabad 380054
(091) 9979391229 (M)
(091) 9998810566 (M)
Email:- ku**********@gmail.com

leonaisse wrote:
Hi

I have a bunch on tables and data in my local SQL Server 2005 Express master
DB and I want to export it to a database.mdf within my wwwroot (visual
studio) file - how can i do this?

Thanks for you help

leonaisse
Jan 6 '07 #2
Hi Kunal

It is Visual web developer 2005 Express! I hope this helps I have my local
SQL Server 2005 express connected and my remote SQL server 2005 (shared)
connected but i want to put the data in the MDF so i can upload that.

Thanks

Leonaisse

"kunal" <ku**********@gmail.comwrote in message
news:11********************@51g2000cwl.googlegroup s.com...
Hi leonaisse,
can you tell me that are you using Visual Studio.NET 2005 for
development of your website.

Regards,
Kunal Ramesh Lalwani
Sr Process Executive.
Styx Infosoft Pvt Ltd
ahmedabad 380054
(091) 9979391229 (M)
(091) 9998810566 (M)
Email:- ku**********@gmail.com

leonaisse wrote:
>Hi

I have a bunch on tables and data in my local SQL Server 2005 Express
master
DB and I want to export it to a database.mdf within my wwwroot (visual
studio) file - how can i do this?

Thanks for you help

leonaisse

Jan 6 '07 #3
You do not directly "put" data into MDF file, SQL Server/Express does (that
is, MDF file is part of SQL Server/Express).

In your previous post, you said you have a bunch of table/data in SQL Server
Express' master database and want to export them. Master database in SQL
Server is used by SQL Server itself to hold SQL Server's information itself,
not user's data. If the mentioned tables/data is your table /data, it must
be in a different database, not in master database of SQL Server.

If what you want to do is to transfer your data in your local SQL
Server/Express to another production SQL Server, you do not export your data
into MDF file (the data is already stored in mdf/ldf file). What you need to
do is to do a full back up to your database on the local SQL Server/Express
(you must know which database it is: a SQL Server/Express can hold many
databases), and then restore the backup (saved in a proper media, CD, DVD,
HD...) to the other SQL Server. You can also detach the database from your
local SQL Server/Express, and copy the mdf/ldf to a media, and then attach
it ti the other SQL Server.

"leonaisse" <le*******@hotmail.comwrote in message
news:e9**************@TK2MSFTNGP02.phx.gbl...
Hi Kunal

It is Visual web developer 2005 Express! I hope this helps I have my local
SQL Server 2005 express connected and my remote SQL server 2005 (shared)
connected but i want to put the data in the MDF so i can upload that.

Thanks

Leonaisse

"kunal" <ku**********@gmail.comwrote in message
news:11********************@51g2000cwl.googlegroup s.com...
>Hi leonaisse,
can you tell me that are you using Visual Studio.NET 2005 for
development of your website.

Regards,
Kunal Ramesh Lalwani
Sr Process Executive.
Styx Infosoft Pvt Ltd
ahmedabad 380054
(091) 9979391229 (M)
(091) 9998810566 (M)
Email:- ku**********@gmail.com

leonaisse wrote:
>>Hi

I have a bunch on tables and data in my local SQL Server 2005 Express
master
DB and I want to export it to a database.mdf within my wwwroot (visual
studio) file - how can i do this?

Thanks for you help

leonaisse


Jan 6 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: NetIdiot | last post by:
I have had to install and uninstall VS.NET 2005 a couple of times because of some errors. The SQL Server express refuses to install ... and hence I can't most things I want to work on. I even tried...
1
by: Darryl Kerkeslager | last post by:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsse/html/sseoverview.asp SQL Server Express was developed with two distinct uses in mind. The first is as a server product,...
2
by: Belee | last post by:
1. I am using sql server express and visual studio 2003. I have been able to create the connection to the database in server explorer but cannot update table definitions. It gives an error that...
16
by: Jeremy S. | last post by:
I'm about to install VS.NET 2005 and SQL Server 2005 on a new/clean development machine (XP Pro/SP2 etc). Is the order of installation important (i.e., which product should I install first)? ...
8
by: JJ | last post by:
My potential shared hosting platform uses SQL server 2005. I am developing on the Express version. In order to make sure I am not going to cause myself any problems when I move my ASP .net 2.0...
14
by: Developer | last post by:
Hello All, i have recently installed VS2005 and was trying to install SQL sever 2000. I have Win XP' SP2. But when I tried installing, it only installed client tools and not the database. Can...
5
by: Ted | last post by:
I am working on two versions of an application, one of which will be a windows forms application (which will need to be redistributable) and the other will be a web application. I have MS Visual...
2
by: kress1963nov22 | last post by:
I recently purchased a good MS book ("Build a Web Site Now") by Jim Buyens. It has the Express Edition of MS-Visual Web Developer 2005 on CD and also MS SQL Server 2005 Express Edition on the CD. A...
6
by: Cirene | last post by:
From my experience/undertanding SQL Server (and SQL Express) is the preferred db to use with Visual Studio and is very nicely integrated with it. It works well with the built in membership, etc......
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
How does React native implement an English player?
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.