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. C#
  4. Am I missing something?

Am I missing something?

Scheduled Pinned Locked Moved C#
questiondatabasesql-servervisual-studiosysadmin
6 Posts 3 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.
  • U Offline
    U Offline
    Unsy
    wrote on last edited by
    #1

    I have a windows app that uses SQL Server Compact Edition. It's fine on any machine that has VS on it but when I install it onto other machines, I get an error about the DLL's. Because I don't want to rely on an internet connection during the installation I am including all the set up files etc for SqlCe, which it does nicely, but the DLL files stay in the SqlCe folder in Program Files, and cannot be found. If I move these DLL's into c:\windows\system32 everything is fine. Have I missed something in the publishing of my app in VS2008? (I'm sorry if this is a daft question. I'm pretty new to this) Thanks, :-D

    Huh? oh yeah... I knew that.. :oS

    S 1 Reply Last reply
    0
    • U Unsy

      I have a windows app that uses SQL Server Compact Edition. It's fine on any machine that has VS on it but when I install it onto other machines, I get an error about the DLL's. Because I don't want to rely on an internet connection during the installation I am including all the set up files etc for SqlCe, which it does nicely, but the DLL files stay in the SqlCe folder in Program Files, and cannot be found. If I move these DLL's into c:\windows\system32 everything is fine. Have I missed something in the publishing of my app in VS2008? (I'm sorry if this is a daft question. I'm pretty new to this) Thanks, :-D

      Huh? oh yeah... I knew that.. :oS

      S Offline
      S Offline
      Som Shekhar
      wrote on last edited by
      #2

      does the other computer have .net framework? if you are using VS 2008, you may need .net framework 3.5 This is assuming that there are no third party references used. In which case, you need to add those dlls in the installation directory. One of the obvious methods to check this problem would be to create a basic windows application and running the exe on another computer.

      U 1 Reply Last reply
      0
      • S Som Shekhar

        does the other computer have .net framework? if you are using VS 2008, you may need .net framework 3.5 This is assuming that there are no third party references used. In which case, you need to add those dlls in the installation directory. One of the obvious methods to check this problem would be to create a basic windows application and running the exe on another computer.

        U Offline
        U Offline
        Unsy
        wrote on last edited by
        #3

        Hi The .NET Framework 3.5 is included in the installation, which installs ok before it goes on to install my app. You are right in asuming that there are no third party refs. It is simply my little 2mb app supposedly shipping with .net 3.5 and the SqlCe dll's. Should my installation process or app move these files to the system32 folder? It's a little odd. I'm sure it is something simple. :confused:

        Huh? oh yeah... I knew that.. :oS

        S 1 Reply Last reply
        0
        • U Unsy

          Hi The .NET Framework 3.5 is included in the installation, which installs ok before it goes on to install my app. You are right in asuming that there are no third party refs. It is simply my little 2mb app supposedly shipping with .net 3.5 and the SqlCe dll's. Should my installation process or app move these files to the system32 folder? It's a little odd. I'm sure it is something simple. :confused:

          Huh? oh yeah... I knew that.. :oS

          S Offline
          S Offline
          Som Shekhar
          wrote on last edited by
          #4

          Unsy wrote:

          The .NET Framework 3.5 is included in the installation, which installs ok before it goes on to install my app.

          I asked you to do a little test by running a very basic application on the target computer. Create a basic windows application, copy the exe file. and run it on the target computer. If it runs, all necessary dlls are in place. Thats step 1. Next. if any 3rd party dlls are being used ( may be SqlCe), they need to be copied to the installation directory next to your application. try these and let me know.

          Unsy wrote:

          It's a little odd. I'm sure it is something simple.

          this is why these are called bugs. too simple to detect.

          S A 2 Replies Last reply
          0
          • S Som Shekhar

            Unsy wrote:

            The .NET Framework 3.5 is included in the installation, which installs ok before it goes on to install my app.

            I asked you to do a little test by running a very basic application on the target computer. Create a basic windows application, copy the exe file. and run it on the target computer. If it runs, all necessary dlls are in place. Thats step 1. Next. if any 3rd party dlls are being used ( may be SqlCe), they need to be copied to the installation directory next to your application. try these and let me know.

            Unsy wrote:

            It's a little odd. I'm sure it is something simple.

            this is why these are called bugs. too simple to detect.

            S Offline
            S Offline
            Som Shekhar
            wrote on last edited by
            #5

            and yes. please copy the error also.

            1 Reply Last reply
            0
            • S Som Shekhar

              Unsy wrote:

              The .NET Framework 3.5 is included in the installation, which installs ok before it goes on to install my app.

              I asked you to do a little test by running a very basic application on the target computer. Create a basic windows application, copy the exe file. and run it on the target computer. If it runs, all necessary dlls are in place. Thats step 1. Next. if any 3rd party dlls are being used ( may be SqlCe), they need to be copied to the installation directory next to your application. try these and let me know.

              Unsy wrote:

              It's a little odd. I'm sure it is something simple.

              this is why these are called bugs. too simple to detect.

              A Offline
              A Offline
              AspDotNetDev
              wrote on last edited by
              #6

              Som Shekhar wrote:

              if any 3rd party dlls are being used ( may be SqlCe)

              I'm pretty sure SQL Server CE is part of the .Net Framework, so it should not require an additional installer.

              [Forum Guidelines]

              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