Click here to Skip to main content
15,881,281 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,
I was created one windows application in C#.net with database on sql server 2008 which is given by visual studio 2010.
I was successfully created setup of that project but at the installation time the setup not run successfully.It shows error on installing sql server 2008.
So,how can I create setup which will be successfully install on every PC/System/Computer with complete database queries(insertion/deletion/updation etc).
PLEASE HELP ME......
Posted
Updated 10-Oct-13 2:13am
v2
Comments
thatraja 10-Oct-13 8:08am    
You should install database only in server.
Chris Maunder 10-Oct-13 8:14am    
This is too broad a question. What error are you seeing?

1 solution

Based on your question, you have developed an application which is going to be shared by multiple systems(I think it's going to use the single database, like entries from all machines goes to single database).(1 server for database & many other machines for application)

If the above statement is true then, you don't have to install database on every machine. Install the database only in server & install the application on other machines.

Add Prerequisites of .NET Framework in Visual Studio Setup Project[^]


It that statement is false then I think you have developed an application only for single machine which includes the database itself. And you're going to install the application for different clients.( (1 machine with database & application) * No of clients)
Deploy your Application and Database[^]
Create database during installation of a .NET application - Version 2[^]
 
Share this answer
 
Comments
Jyoti Pandey 15-Oct-13 0:57am    
no.no its not like that..!!
I am just creating a setup for application which run on a single machine.For exa I create a application for one shop and by this application owner maintaining his hole data with calculation.
Give your answer please...!!
thatraja 15-Oct-13 2:50am    
Then second option is for you. I have seperated seperated my answer using a line, check it out
Jyoti Pandey 17-Oct-13 4:57am    
yes,I saw your answer but the main problem is I am using sql server 2008 in the middle of visual studio 2010(I think its sql server 2008 compact meanse I am using the database provide by visual studio 2010). At this situation how can I create setup of project which correctally run in any system and also do hole database task..!!
Jyoti Pandey 18-Oct-13 1:32am    
1.Today I try this but before doing it I want to ask one more question that is..if user want to see a database with complete tables and entries also so it is possible...??
2.Can we export this database in ms access completely..??
please reply me...

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