Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# SQL-Server-2008 .NET4 , +
My project is in .Net 4 and works good,
But in setup project i got some errors like this:
Warning 2 The 'SAP Crystal Reports Runtime Engine for .NET Framework' item selected requires 'Microsoft.Data.Access.Components.2.8'. Select the missing prerequisite in the Prerequisites Dialog Box or create a bootstrapper package for the missing prerequisite.
 
Error   4   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_5.msi' in item 'SAP Crystal Reports Runtime Engine for .NET Framework' can not be located on disk. See Help for more information.
 
and building faild!!
also my app.config is:
<?xml version="1.0"?>
<configuration>
<configSections>
</configSections>
<connectionStrings>
    <add name="vam.Properties.Settings.vamConnection" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=G:\vam\vam\bin\Debug\vam.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True" providerName="System.Data.SqlClient"/>
</connectionStrings>
<startup useLegacyV2RuntimeActivationPolicy="true"><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
please help
Posted 4-May-13 7:16am
FM7618
v2
Comments
ThePhantomUpvoter at 4-May-13 12:20pm
   
And now why are you reposting?
MP59 at 4-May-13 15:36pm
   
what you mean?

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

in setup project solution explorer , right click and then select properties then in properties form click prerequistic , select .Net framework in list and other prerequistic.
  Permalink  
Comments
MP59 at 4-May-13 15:39pm
   
i do all of them,but still errors appears!
Mojtaba Mahdavi Eng at 4-May-13 22:08pm
   
in prerequisite selection after selection , select option "Download prerequisite from same location as my application" under prerequisite selection box , by click on its radiobutton
MP59 at 5-May-13 4:32am
   
ok my friend agha mojtaba.it's very simple.i know.
i do all.but i don't know what is the problem in building.
Mojtaba Mahdavi Eng at 5-May-13 6:31am
   
Ok ,
1-
Error 4 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_5.msi' in item 'SAP Crystal Reports Runtime Engine for .NET Framework' can not be located on disk. See Help for more information.
 
you must select component vendor's web site radio for Crystal setup !
 
2- put your DB file in known system folder for example system32 or in your application assembly side , Application.StartupPath or Envirenment.SystemDirectory
for rational path.
2-Write your own setup project by wizard form design , not by vs.net setup. simply you can link your prerequisite in the form or by wizard form and setup all them , then add your database and other config. it is seems be best.
good luck

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

  Print Answers RSS
0 Kornfeld Eliyahu Peter 169
1 Zoltán Zörgő 139
2 George Jonsson 135
3 PIEBALDconsult 130
4 OriginalGriff 120
0 OriginalGriff 6,165
1 DamithSL 4,658
2 Maciej Los 4,107
3 Kornfeld Eliyahu Peter 3,649
4 Sergey Alexandrovich Kryukov 3,342


Advertise | Privacy | Mobile
Web01 | 2.8.141220.1 | Last Updated 4 May 2013
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