Click here to Skip to main content
15,915,319 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have create sql(mdf file) database from visual studio 2012 and to add database in setup of project,and i have made project vb.net.i have try to create setup file through install shield in visual stidio 2012.but i got an error (sql connection can't open )and another time i tryed i got an error "database is in read only format".
so, can any one please also guide me to create a setup file with database attach in it.
Posted
Comments
Ziee-M 19-May-14 9:29am    
Hi, first when creating installer you will have issues later if you use sql. you can't export sql dlls easly. a better choice is to use a portable database such as sql compact, MySql... that way you may install your app in any computer.

You may check : http://erikej.blogspot.com/
You will find anything about sql compact if it suit your needs.
yogesh mayekar 20-May-14 2:25am    
after using sql compact then how to add this with the installer or how to use make complete setup file.

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