Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...SQL Express - File v Database?SQL Express - File v Database?
Previous
 
Next
New Post
3/20/2008 6:00 AM
 

Using SQL Express... is there an obvious choice between running DNN as an mdf file or as a database on the Express Server?

I know in the Management Studio Express I seem unable to access the mdf data as easy (or at all) but it does see it there.

 
New Post
3/20/2008 9:39 AM
 

Well, with SQL Express you get a MDF file and there is no "Express Server" as such.  SQL Express runs locally.  The choice would be between SQL Express and SQL Server, and in most cases SQL Server would be the appropriate choice if available.  And unless you know what you're doing, you should stay out of the DNN database in Management Studio.

Jeff

 
New Post
3/20/2008 9:53 AM
 

Thanks Jeff

I do only touch obvious things in Management Studio... or look at things. Got to learn somehow.

I should repgrase the question... would it be better to run as a database within SQL Express, or as an mdf file?

 

 
New Post
3/20/2008 3:33 PM
 

David:

For the sake of completeness, let's clarify that SQL Server 2005 Express Edition has two modes of operation (and that is its formal name by the way).  One way is using what they call a User Instance.  This is the new and basic way you get when you install DNN.  This mode requires the SQL Express 2005 software/engine to be running on the local machine.  The main thing with this method is that you can do an "XCopy" deployment of the database, you can just copy it there to App_Data and the app (in this case DNN) can access the data, no need to attach the file.  It is a little more difficult to manage this database with the management tool but not impossible.

The other way of operation is when you create a regular database instance like in SQL Server 2000.  In that case it works exactly as the server version (minus some features and limits) and you do have to attach the database and go through the rest of that exercise to make it work.

In the past I have written about this subject several times because it is kind of confusing, specially for those with some experience with SQL 2000.  In my previous posts I included a link to a document in the Microsoft's knowledge base where they explain the new User Instance business, you may want to search for that (I can't do it right now).  But at least, I can give you this link for everything SQL 2005 Express: http://www.microsoft.com/sql/editions/express/default.mspx.

Hope this helps.

Carlos

 

 
New Post
3/20/2008 4:18 PM
 

DavidToohey wrote

I should repgrase the question... would it be better to run as a database within SQL Express, or as an mdf file? 

Technically, they're still the same thing.  :)

Your question is really to use a SQL instance, as you would with SQL 2000, versus using the User instance in Express.  Carlos beat me to the full details, but  did a much better job of explaining it than I would have.  But the end answer to your question isn't a best/worst comparison.  Part depends on what your host will allow, or if you host your own, on what you will install and maintain.  Part also depends on what you'll be doing with your DNN installation.  Migration is easier with a User instance.  Performance really won't be that much different, not so you'd notice anyway.  Management of SQL is easier as a SQl instance. 

Hope it helps, but the decision really is what's best for you, not in general.

Jeff

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...SQL Express - File v Database?SQL Express - File v Database?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out