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. General Programming
  3. Visual Studio
  4. VS2008 lost assembly. [Solved. Well, if I'm honest, bodged round.]

VS2008 lost assembly. [Solved. Well, if I'm honest, bodged round.]

Scheduled Pinned Locked Moved Visual Studio
csharpdatabasedotnetvisual-studiosysadmin
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.
  • OriginalGriffO Offline
    OriginalGriffO Offline
    OriginalGriff
    wrote on last edited by
    #1

    Somehow, VS2008 has lost track of the System.Data.SqlServerCE assembly - it is still in the GAC, but I can't add it to a project reference list any more. And existing projects which contain references to SqlCe complain that I need to add a reference. I have tried: Uninstalling SqlCE (desktop, tools, and mobile) and re-installing. Repair VS installation. Create a new Project. Actually, I have tried the above several times in various different orders, but with no joy. Anyone seen this before? [update] Finally ran out of time (I ran out of ideas a while ago) and bit the bullet. Downloaded VS2008 SP1 (again, this time I kept a copy). Uninstalled VS, and .NET 3.5 Re-installed VS, VS SP1, .NET3.5 SP1 Tried again. Works like a charm. I can even edit SqlCE tables + data in the Server Explorer (which stopped working a month or so ago, when I installes Sql 2008 Express). So, I dunno what caused, it, I dunno what fixed it. But it's gone, and I have a (time consuming) solution if it happens again. [/update]

    Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

    modified on Tuesday, November 9, 2010 2:29 PM

    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

    L 1 Reply Last reply
    0
    • OriginalGriffO OriginalGriff

      Somehow, VS2008 has lost track of the System.Data.SqlServerCE assembly - it is still in the GAC, but I can't add it to a project reference list any more. And existing projects which contain references to SqlCe complain that I need to add a reference. I have tried: Uninstalling SqlCE (desktop, tools, and mobile) and re-installing. Repair VS installation. Create a new Project. Actually, I have tried the above several times in various different orders, but with no joy. Anyone seen this before? [update] Finally ran out of time (I ran out of ideas a while ago) and bit the bullet. Downloaded VS2008 SP1 (again, this time I kept a copy). Uninstalled VS, and .NET 3.5 Re-installed VS, VS SP1, .NET3.5 SP1 Tried again. Works like a charm. I can even edit SqlCE tables + data in the Server Explorer (which stopped working a month or so ago, when I installes Sql 2008 Express). So, I dunno what caused, it, I dunno what fixed it. But it's gone, and I have a (time consuming) solution if it happens again. [/update]

      Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

      modified on Tuesday, November 9, 2010 2:29 PM

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Did you try manually installing the assembles (from the setup folder) using the gacutil.exe tool?

      OriginalGriffO 1 Reply Last reply
      0
      • L Lost User

        Did you try manually installing the assembles (from the setup folder) using the gacutil.exe tool?

        OriginalGriffO Offline
        OriginalGriffO Offline
        OriginalGriff
        wrote on last edited by
        #3

        Thanks for the idea - no I hadn't - because they still showed up in the GAC when I checked, so I assumed they were fine. Sorry for the delay in responding, but I was on plan G: reinstall VS. Brute force and ignorance, yes, but it worked (in the sense that the problem has gone away). It'll probably still keep me awake wondering what the heck caused it though... :laugh:

        Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

        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