PC Review


Reply
Thread Tools Rate Thread

APP_Data and sql server

 
 
Ilyas
Guest
Posts: n/a
 
      21st Feb 2008
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?
 
Reply With Quote
 
 
 
 
Michael Nemtsev [MVP]
Guest
Posts: n/a
 
      21st Feb 2008
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


I> Hi
I>
I> I f I place an .mdf file inside the App_data to deploy a web app -
I> can I deply my site so that the database at runtime is picked up in
I> the App_data directory?
I>
I> Would my server need to have sql server installed for this to work or
I> just the .net framework?
I>
I> Is the above possible - if not what is the purpose of App_data?
I>


 
Reply With Quote
 
gnewsgroup
Guest
Posts: n/a
 
      22nd Feb 2008
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
>
>
> I> Hi
> I>
> I> I f I place an .mdf file inside the App_data to deploy a web app -
> I> can I deply my site so that the database at runtime is picked up in
> I> the App_data directory?
> I>
> I> Would my server need to have sql server installed for this to work or
> I> just the .net framework?
> I>
> I> Is 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?
 
Reply With Quote
 
Ilyas
Guest
Posts: n/a
 
      25th Feb 2008
Yes

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

On Feb 22, 4:09*am, gnewsgroup <gnewsgr...@gmail.com> wrote:
> 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

>
> > I> Hi
> > I>
> > I> I f I place an .mdf file inside the App_data to deploy a web app -
> > I> can I deply my site so that the database at runtime is picked up in
> > I> the App_data directory?
> > I>
> > I> Would my server need to have sql server installed for this to work or
> > I> just the .net framework?
> > I>
> > I> Is 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 -


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Login control. In prod server, Need to attach App_Data mdffiles to database. Help. aboutjav.com@gmail.com Microsoft ASP .NET 0 28th Feb 2008 11:41 PM
Installing ASP.Net 2.0 onto sql2000 web server, App_Data, SQL2005 problem itfetish@gmail.com Microsoft ASP .NET 2 17th May 2007 02:11 AM
How to reference a membership database that is not in App_Data SQL Server Express database? Keith Microsoft ASP .NET 1 3rd Jul 2006 08:42 AM
Add new SQL Database to App_Data need SQL Server Express installed? Michael Microsoft ASP .NET 1 16th Jan 2006 02:44 AM
How do I copy App_Data info to production server? Paolo Microsoft ASP .NET 1 30th Dec 2005 08:07 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:04 PM.