473,320 Members | 1,863 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,320 software developers and data experts.

APP_Data and sql server

Hi

I f I place an .mdf file inside the App_data to deploy a web app - can
I deply my site so that the database at runtime is picked up in the
App_data directory?

Would my server need to have sql server installed for this to work or
just the .net framework?

Is the above possible - if not what is the purpose of App_data?
Feb 21 '08 #1
3 1920
Hello Ilyas,

your MDF should store somewhere in hard drive.
u can use the App_data but in SQL server u should import that DB from you
app_data forlder to work with this database from sql server

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
IHi
I>
II f I place an .mdf file inside the App_data to deploy a web app -
Ican I deply my site so that the database at runtime is picked up in
Ithe App_data directory?
I>
IWould my server need to have sql server installed for this to work or
Ijust the .net framework?
I>
IIs the above possible - if not what is the purpose of App_data?
I>
Feb 21 '08 #2
Michael Nemtsev [ MVP ] wrote:
Hello Ilyas,

your MDF should store somewhere in hard drive.
u can use the App_data but in SQL server u should import that DB from you
app_data forlder to work with this database from sql server

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
IHi
I>
II f I place an .mdf file inside the App_data to deploy a web app -
Ican I deply my site so that the database at runtime is picked up in
Ithe App_data directory?
I>
IWould my server need to have sql server installed for this to work or
Ijust the .net framework?
I>
IIs the above possible - if not what is the purpose of App_data?
I>
I think what he was asking is this: will his mdf db file work properly
with his web app on the production sever if the production server does
not have sql sever installed?
Feb 22 '08 #3
Yes

this is exactly what I am asking - wil it work?

On Feb 22, 4:09*am, gnewsgroup <gnewsgr...@gmail.comwrote:
Michael Nemtsev [ MVP ] wrote:


Hello Ilyas,
your MDF should store somewhere in hard drive.
u can use the App_data but in SQL server u should import that DB from you
app_data forlder to work with this database from sql server
---
WBR,
Michael *Nemtsev [.NET/C# MVP] :: blog:http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
IHi
I>
II f I place an .mdf file inside the App_data to deploy a web app -
Ican I deply my site so that the database at runtime is picked up in
Ithe App_data directory?
I>
IWould my server need to have sql server installed for this to work or
Ijust the .net framework?
I>
IIs the above possible - if not what is the purpose of App_data?
I>

I think what he was asking is this: will his mdf db file work properly
with his web app on the production sever if the production server does
not have sql sever installed?- Hide quoted text -

- Show quoted text -
Feb 25 '08 #4

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

Similar topics

1
by: Michael | last post by:
Hi, I've read Scott's article: http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx but when I try to create a new database file in App_Data with Visual Studio 2005, it shows error: ...
2
by: Victor Paraschiv | last post by:
In a webservice I need to store the credentials in a xml file.Of course the password string is hashed. The XML is stored in App_Data. Now I need to open this file for read/write. I've tryed a lot...
4
by: Hugo Flores | last post by:
I created a Web Application Project in VS 2005. The site is working fine in the development computer. Then I transfer all my files and dll to the production computer. I have a login form. If I try...
5
by: CharlesA | last post by:
hi folks I'm working on reverse engineering TheBeerHouse by Marco Bellinaso which appears to have 100% unanimous approval on Amazon. I got the book and downloaded the code and I opened the...
0
by: PinkBishop | last post by:
Question regarding the ASP.NET 2.O Membership / Role component The following works fine on local machine and networked dev box. ASP.NET Membership protecting files and folders. I am trying...
2
by: itfetish | last post by:
I've just upgraded our WIndows 2003 (with SBS server) web server to .Net framework 2.0 (it had 1.1 before) As I have been working on a web parts page on my laptop, hosting it there, working...
3
by: =?Utf-8?B?RGF2ZQ==?= | last post by:
Is it always necessary to upload to the host, the App_Data folder if my db does not reside in that folder? -- L. A. Jones
6
by: Andy Fish | last post by:
Hi, From what I can gather, under Asp.Net 2.0, it is safe to put data and config files underneath the app_data in the web root and they will not be served directly to the browser from a URL. ...
6
by: Mr. X. | last post by:
I have visual studio 2008. My site has a plesk on it. I want to deploy my project, and save it on the host machine. Looking for solution for folowings, please : 1st solution =======...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.