Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
when we make setup(deployment) of any project in C# dot net .then how we embed sql express(2005) with databse and crystal report setup on that setup.
pls give me rply..
Posted

1) Go to Solution Explorer.

2) Right click on setup project.

3) Click on Properties.

4) Click on Prerequisites button.

5) You will get all the Prerequisites installed in your system, out of them select your sql server 2005 & crystal report Check boxes.

6) Below to that, Select second option radio button i.e. Download prerequisites from the same location as my application.

7) Build the application.

Now your build with your required prerequisites in it.

Hope this helps. :)
 
Share this answer
 
Comments
Member 8227929 26-Sep-12 6:46am    
Error 43 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'SqlExpress\sqlexpr32.exe' in item 'SQL Server 2005 Express Edition SP2 (x86)' can not be located on disk. See Help for more information. D:\School Management\CPS Hisar 6-3-12\CPS Hisar 6-3-12.vdproj CPS Hisar 6-3-12


Error 41 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'Crystal Reports for .NET Framework 4.0\CRRuntime_32bit_13_0_1.msi' in item 'SAP Crystal Reports Runtime Engine for .NET Framework 4.0' can not be located on disk. See Help for more information. D:\School Management\CPS Hisar 6-3-12\CPS Hisar 6-3-12.vdproj CPS Hisar 6-3-12

this give above error...throug this we can add net framework but sql and crystal report not properly
Sushil Mate 26-Sep-12 7:14am    
Did you select second option radio button i.e. Download prerequisites from the same location as my application. i.e. steps 6 from my solution?
Hi

I created a new installer setup wizard (visual studio 2012). On the 4th stage it allows you to choose additional files to include for your systems so thats where I put my database and other files that i may need.


Hope it help...
 
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