Click here to Skip to main content
14,545,210 members
Rate this:
Please Sign up or sign in to vote.
See more:
I developed a Database application using VB.Net 2010 which runs and installs fine on my PC with Windows 8 64 bit but after setup on another PC with the same Windows 8 , it installs but cannot run. Also it runs in windows 8 32 bit and 64 bit processor. So, How can I make it run fine on every PC having any operating system that maybe 32 bit or 64 bit

What I have tried:

Googled but not successful. I found different solutions for 32 bit and 64 bit of windows 7 8 and 10 separately. that means i have to create different setup for different OS and different 32 and 64 bits.
Updated 5 days ago
0x01AA 20-May-20 9:43am
"but cannot run": Any error/exception message displayed while you try to run?
CodeMine 20-May-20 10:01am
if i am creating simple program in then the setup is working in windows 7, 8 and also in 10.

the thing is that i am adding sql server compact SDF database to my project. (my OS is windows 8 64 bit)
after creating setup i am able to install in all windows 8 OS.
if i am trying to install in windows 10 then it shows sql runtime error.
CHill60 20-May-20 10:37am
What is the error?!
CodeMine 20-May-20 10:45am
"unable to load the native components of sql server compact corresponding to the provider of version 8080. Install the correct version of sql server compact. refer to KB article 974247 for more details."
Richard MacCutchan 20-May-20 10:58am
Did you do what that message tells you?
CodeMine 20-May-20 11:05am
doing with sdf database is new to me. I am not getting about the above error message.
Richard MacCutchan 20-May-20 11:53am
You have the wrong version of SQL server compact, so you need to get the correct version from Microsoft. See[^].
CodeMine 20-May-20 11:58am
thank u
i am trying
Maciej Los 5 days ago
Sounds like an answer.
Richard MacCutchan 5 days ago
Only if it works. :)
Rate this:
Please Sign up or sign in to vote.

Solution 2

Install sql server seperately, then prepare a programm in to copy all the necessary library files included in you project.

Change the compile option in project properties to any cpu or x86.
Rate this:
Please Sign up or sign in to vote.

Solution 1

I googled thoroughly found private installation of your software using sql server compact. it is working nice for windows.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100