realizd ( and assuming ) it is not a localized error directly to vb.>
I have found this link on the website:
https://www.sdn.sap.com/irj/sdn/busi...ects-downloads
..NET Utility CR 2008 Merge Modules for the .NET Framework ZIP 74.716 Windows
English 12.03.2008
and it states:
===
The Crystal Reports 2008 Runtime Merge Modules may be used to directly embed
the Crystal Reports runtime into your own setup, so it is delivered and
deployed to your users in the same setup package that installs your
application. Un like the Crystal Reports 2008 Runtime redistributable
package, which can be added to another setup in an indirect way (e.g. using
a custom action), the merge modules allow you to tightly embed the Crystal
Reports 2008 Runtime components into your setup. In addition, they are
broken into a core runtime, language packs and mapping support, so they
provide a little bit more flexibility than the standard redistributable
package.
===
I have added the merge modules to my install package.
Now installing the computer does install crystal reports and also creates a
sub folder in my main application called:
CrystalReportsV iewers12
BUT:
The same error occurs when running the Crystal Report Viewer from the app:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IO.FileN otFoundExceptio n: Could not load file or assembly
'CrystalDecisio ns.CrystalRepor ts.Engine, Version=10.5.37 00.0,
Culture=neutral , PublicKeyToken= 692fbea5521e130 4' or one of its
dependencies. The system cannot find the file specified.
File name: 'CrystalDecisio ns.CrystalRepor ts.Engine, Version=10.5.37 00.0,
Culture=neutral , PublicKeyToken= 692fbea5521e130 4'
at WindowsTestApp. Form1.Button3_C lick(Object sender, EventArgs e)
at System.Windows. Forms.Control.O nClick(EventArg s e)
at System.Windows. Forms.Button.On Click(EventArgs e)
at System.Windows. Forms.Button.On MouseUp(MouseEv entArgs mevent)
at System.Windows. Forms.Control.W mMouseUp(Messag e& m, MouseButtons
button, Int32 clicks)
at System.Windows. Forms.Control.W ndProc(Message& m)
at System.Windows. Forms.ButtonBas e.WndProc(Messa ge& m)
at System.Windows. Forms.Button.Wn dProc(Message& m)
at System.Windows. Forms.Control.C ontrolNativeWin dow.OnMessage(M essage& m)
at System.Windows. Forms.Control.C ontrolNativeWin dow.WndProc(Mes sage& m)
at System.Windows. Forms.NativeWin dow.Callback(In tPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value
[HKLM\Software\M icrosoft\Fusion !EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind
failure logging.
To turn this feature off, remove the registry value
[HKLM\Software\M icrosoft\Fusion !EnableLog].
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
WindowsTestApp
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase:
file:///C:/Program%20Files/Company%20Orang e%20Inc/SetupTestApp/WindowsTestApp. exe
----------------------------------------
Microsoft.Visua lBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.Visua lBasic/8.0.0.0__b03f5f 7f11d50a3a/Microsoft.Visua lBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c 561934e089/System.dll
----------------------------------------
System.Windows. Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows. Forms/2.0.0.0__b77a5c 561934e089/System.Windows. Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f 7f11d50a3a/System.Drawing. dll
----------------------------------------
System.Runtime. Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime. Remoting/2.0.0.0__b77a5c 561934e089/System.Runtime. Remoting.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c 561934e089/System.Data.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c 561934e089/System.Xml.dll
----------------------------------------
System.Data.Dat aSetExtensions
Assembly Version: 3.5.0.0
Win32 Version: 3.5.21022.8 built by: RTM
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Data.Dat aSetExtensions/3.5.0.0__b77a5c 561934e089/System.Data.Dat aSetExtensions. dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config ) must have the
jitDebugging value set in the system.windows. forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuratio n>
<system.windows .forms jitDebugging="t rue" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
"Miro" <mi**@beero.com wrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
>I think I found it,
https://www.sdn.sap.com/irj/sdn/busi...ects-downloads
somehow the user needs to install this exe or some 'merge modules' as
googleing has lead me to.
I'm still searching, so if anyone knows where I can get the exact 'merge
modules' or how to properly create the install shield so it includes
everything required for the crystal report viewer... you would haev my
many thanks.
And back to googling ...
Funny how the msdn does not have any documentation on crystal reports
Miro
"Miro" <mi**@beero.com wrote in message
news:uC******** ******@TK2MSFTN GP05.phx.gbl...>>I can run an exe ( and its install ) i have created on my machine.
The exe has a button that populates a dataset and then shoots it to a
crystal report.
But...
Installing the setup.exe on my other pc, and running it I get an error.
The Dataset loads properly, but when the button is pushed to view the
report I get this error:
************ ** Exception Text **************
System.IO.File NotFoundExcepti on: Could not load file or assembly
'CrystalDecisi ons.CrystalRepo rts.Engine, Version=10.5.37 00.0,
Culture=neutra l, PublicKeyToken= 692fbea5521e130 4' or one of its
dependencies . The system cannot find the file specified.
File name: 'CrystalDecisio ns.CrystalRepor ts.Engine, Version=10.5.37 00.0,
Culture=neutra l, PublicKeyToken= 692fbea5521e130 4'
at WindowsTestApp. Form1.Button3_C lick(Object sender, EventArgs e)
at System.Windows. Forms.Control.O nClick(EventArg s e)
... and so on
The code I use to call my form that has the report on it is:
Private Sub Button3_Click(B yVal sender As System.Object, ByVal e As
System.EventAr gs) Handles Button3.Click
Dim frmViewRep As New ViewReport
frmViewRep.myF irstCrystalRepo rt1.SetDataSour ce(myTestDataDa taSource)
frmViewRep.Show Dialog()
End Sub
============ = what dependancy am i missing in the setup.exe and how do I
add it.
Thanks,
Miro