Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Jun 30, 2010 @ 10:39
    Jeroen Breuer
    0

    umbraco.mdf in Umbraco 4.5

    Hello,

    In Umbraco 4.5 there is an umbraco.mdf file. Can this be used for an SQL Express installation (and replacement for VistaDB)?

    What do I need to configure if I want to use SQL Express during the Database configuration of the installer? 

    Jeroen

  • Thomas.R 39 posts 62 karma points
    Jun 30, 2010 @ 11:17
    Thomas.R
    0

    Hi,

    You don't need anything to use SQL Express. install SQL Server Express on your server, don't forget to specify your instance name (like YOURSERVER\SQLEXPRESS) and specify valid authentication informations in the installer.

    I don't know about the mdf file but it's interesting.

  • jaygreasley 416 posts 403 karma points
    Jun 30, 2010 @ 11:59
    jaygreasley
    0

    Hi,

    I just took a look at the mdf in VS and it looks empty so I'm not sure what it's for.

    Jay

  • Steen Tøttrup 191 posts 291 karma points c-trib
    Jun 30, 2010 @ 12:05
    Steen Tøttrup
    0

    Actually asp.net should support having a mdf database fil in the app_code folder without having to attach the database file to the SQL server running. I think it's meant to make it easier deploying a site to a server without having remote access or without having somebody to actually create a database on the server for you.

    http://www.4guysfromrolla.com/articles/110905-1.aspx

     

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Jun 30, 2010 @ 12:43
    Jeroen Breuer
    0

    I was hoping the empty umbraco.mdf could be used in the installer (just like VistaDB) and it would be filled with the Umbraco tables after the installation.

  • Steen Tøttrup 191 posts 291 karma points c-trib
    Jun 30, 2010 @ 12:54
    Steen Tøttrup
    0

    Well, it should, but I'm not sure what to write in the Umbraco database installation step. I bet Google can tell you how to write a connect string to that mdf file.

     

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Jul 01, 2010 @ 06:10
    Aaron Powell
    1

    You should ignore (well in fact delete) that file, it wasn't meant to be included in the release. It's part of a prototype for a replacement embedded DB

    Edit: Actually it might be for the Sql CE edition, my previous comment may be way off the mark!

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Jul 01, 2010 @ 09:42
    Jeroen Breuer
    0

    @slace I just read a bit about the Sql CE editition. This would be great for Umbraco :).

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Jul 02, 2010 @ 12:13
    Jeroen Breuer
    0

    I've been trying to use the umbraco.mdf file, but I can't get it working. During "Step 2/5: Database configuration" of the setup you need to enter the connection string. I assume you need the custom connection string in the dropdown to select the umbraco.mdf file? Anyone got an example how to connect to the umbraco.mdf file?

  • Niels Hartvig 1951 posts 2391 karma points c-trib
    Jul 02, 2010 @ 12:20
    Niels Hartvig
    1

    The umbraco.mdf file should just be ignored/deleted. It's an error in the build script that it's a part of the distro. New version coming next week.

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Jul 02, 2010 @ 12:46
    Jeroen Breuer
    0

    So if we can't use the umbraco.mdf file what is the best alternative to use a database which is also stored in the umbraco folder like VistaDB used to be? 

  • Niels Hartvig 1951 posts 2391 karma points c-trib
    Jul 02, 2010 @ 12:53
    Niels Hartvig
    0

    Patience. An alternative is on its way. But right now there's only support for MySQL and MS SQL Express/2005/2008.

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Jul 02, 2010 @ 15:10
    Jeroen Breuer
    0

    Sounds interesting :). How much patience do we need? Are you talking about months or weeks?

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Aug 02, 2010 @ 10:10
    Jeroen Breuer
    0

    In Umbraco 4.5.1 the umbraco.mdf is still available. Shouldn't it have been removed? Any new info on the alternative?

    Jeroen

  • stc 72 posts 101 karma points
    Sep 07, 2010 @ 22:39
    stc
    0

    Yes please...the alternative...is there a standalone file database in  4.5.x?

  • Niels Hartvig 1951 posts 2391 karma points c-trib
    Sep 07, 2010 @ 22:46
    Niels Hartvig
    0

    There will be very, very soon. We're testing our implementation of SQL CE 4 internally and it'll hopefully get out in beta next week.

  • stc 72 posts 101 karma points
    Sep 08, 2010 @ 00:00
    stc
    0

    Mucho cool...or caliente...next week (will wait for it then:)

    So 4.5.3 beta...or some other...please notify us.

    Thanks in advance

Please Sign in or register to post replies

Write your reply to:

Draft