Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Using SQL LocalDB

Using SQL LocalDB

Scheduled Pinned Locked Moved Database
databasecsharpsql-servervisual-studiocom
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    GenJerDan
    wrote on last edited by
    #1

    Works great on my development machines. Not so much on any "real" machines. Microsoft says it needs .NET 3.5 (or 4, depending on where you look) But loading .NET 4 on the "real" machines still doesn't make it work*. Loading .NET 4.5 does make it work. Even if the application is compiled for version 4, not 4.5 *"Doesn't work" meaning can't attach the database file, mostly. Sometimes it can't even find it. So what was introduced in .NET 4.5 that makes all these problems go away? My development machines are still on .NET 4 and manage to work in or outside of VS. And can this piece be added separately so my uses won't be forced to install v4.5 just to make v4 applciation work? (I'm thinking it might be because I have the more full versions of SQL Server on the dev machines, too. Yes? Is there a teeny part that I can install separately to fix it?)

    YouTube and My Mu[sic], Films and Windows Programs, etc.

    Richard DeemingR 1 Reply Last reply
    0
    • G GenJerDan

      Works great on my development machines. Not so much on any "real" machines. Microsoft says it needs .NET 3.5 (or 4, depending on where you look) But loading .NET 4 on the "real" machines still doesn't make it work*. Loading .NET 4.5 does make it work. Even if the application is compiled for version 4, not 4.5 *"Doesn't work" meaning can't attach the database file, mostly. Sometimes it can't even find it. So what was introduced in .NET 4.5 that makes all these problems go away? My development machines are still on .NET 4 and manage to work in or outside of VS. And can this piece be added separately so my uses won't be forced to install v4.5 just to make v4 applciation work? (I'm thinking it might be because I have the more full versions of SQL Server on the dev machines, too. Yes? Is there a teeny part that I can install separately to fix it?)

      YouTube and My Mu[sic], Films and Windows Programs, etc.

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #2

      According to this[^], you'll need to install the .NET 4.0.2 update[^] as well as SQL 2012 Express[^].


      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      G 1 Reply Last reply
      0
      • Richard DeemingR Richard Deeming

        According to this[^], you'll need to install the .NET 4.0.2 update[^] as well as SQL 2012 Express[^].


        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

        G Offline
        G Offline
        GenJerDan
        wrote on last edited by
        #3

        Thanks. I'll give that update a try on another "clean" machine and see if it solves the "invalid key name" error when trying to do an AttachDBFilename.

        YouTube and My Mu[sic], Films and Windows Programs, etc.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups