Click here to Skip to main content
15,881,173 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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.
Posted
Updated 26-May-20 18:17pm
Comments
[no name] 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 vb.net 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 ado.net 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?

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

Change the compile option in project properties to any cpu or x86.
 
Share this answer
 
I googled thoroughly found private installation of your software using sql server compact. it is working nice for windows.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900