Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0
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 25-Sep-12 2:04am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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. Smile | :)
  Permalink  
Comments
Member 8227929 at 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 at 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?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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...
  Permalink  

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

  Print Answers RSS
0 Maciej Los 235
1 OriginalGriff 215
2 Manfred R. Bihy 190
3 CHill60 180
4 _Amy 155
0 OriginalGriff 7,395
1 Sergey Alexandrovich Kryukov 6,163
2 Maciej Los 3,754
3 Peter Leow 3,448
4 CHill60 2,702


Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 25 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

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