Re: MDF file vs. Local Sql Server...what's the connection?



The main difference is: the file that's in the app_data folder is a SQL
Server database, but it's not technically attached to the database as the
ones in your view are. You are connecting to the database as an independent
file, which is typical of a sql server express database in an app_data
folder. So, technically SQL Server Express is handling requests to it, but
is not attaching it as a constantly running database.

Make sure that your hosts supports SQL Server Express as a lot of them
don't. If they don't you'll have to publish the database to a full SQL
Server and it won't be running from the app_data folder.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - Expression

"Darrel" <notreal@xxxxxxxxxx> wrote in message
news:OxXzvDiHIHA.5232@xxxxxxxxxxxxxxxxxxxxxxx
I'm still having a hell of a time figuring out this whole SQL Express set
up.

I finally discovered why I couldn't run the aspnet_regsql...my local sql
server wasn't running.

I turned that on, and now I can see a list of DBs running locally.

However, the .mdf file I have in my app_data folder does NOT appear on
this list.

I'm confused. Is my local SQL server (installed with VS.net) NOT the same
as my SQL Express DB in my app_data folder? If not, how do I set up my MDF
file to accept the membership provider tables?

Any help appreciated. This has been a huge road block for me.

-Darrel



.



Relevant Pages

  • RE: Backups have Shadow Copy Problems
    ... and restarted the server. ... suggested and changed the recovery model to simple on the one database called ... I understand the issue to be: the backup task failed ... You back up data from a volume that contains a Microsoft SQL Server ...
    (microsoft.public.windows.server.sbs)
  • Re: upsizing to sql 2005
    ... the word SERVER in it, ... You can access to the database by multiple means (Access, ... and how does it update the SQL database with the new records in Access? ... Query Name: Arcadia - ARC ...
    (microsoft.public.access.queries)
  • Re: Linked Tables in Access
    ... any use of SQL Passthru, Linked Tables or any other use of MDB / MDE ... server, or would I also need to convert *those* queries to passthrough ... I've been trying to understand why Access database files become corrupt. ...
    (microsoft.public.access.adp.sqlserver)
  • Re: Leveling by ID vs. "Standard"
    ... of this trade called Project Management. ... a database for the "Project Tables," ... to write reports on data from the server database. ... product supporting queries created with SQL. ...
    (microsoft.public.project)
  • Re: Trouble Getting VS.Net 2003 WalkThroughs MSDE Connection
    ... Config Tool of SQL Server? ... > link to download the PUBs database. ... >>> Setup and they directed me to install MSDE and they attached a ...
    (microsoft.public.sqlserver.msde)

Quantcast