Am I missing something?
-
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
-
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
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.
-
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.
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
-
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
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.
-
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.
and yes. please copy the error also.
-
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.
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.