Hi,
I created my second Crystal Reports application and I am having issues getting it to work on a clients PC. Based on what I learned from my first application, I know that I needed to install the runtime on the clients PC, which I did. When I run the app, nothing happens. No exception is thrown or anything. I see the mouse wait cursor come up (the spinning windows cursor) for about 5 seconds and then nothing happens. The odd thing is that I am able to run the code from my PC just fine when I use the msi setup file I created. I have no idea where to look to figure this out... Any help would be appreciated.
Thanks,
Chris Kretman
Request clarification before answering.
I went through the event viewer on the client PC and found two critical errors, which is concerning because I have all of my code inside a try catch block and when it throws an exception it should be emailing me.
The Error messages are below. I understand the System.IO.FileNotFoundException, but not Error #1.
Error #1:
Faulting application name: CrystalReportsApplication1.exe, version: 1.0.0.0, time stamp: 0x5f89b138
Faulting module name: KERNELBASE.dll, version: 10.0.19041.572, time stamp: 0x979ddb1d
Exception code: 0xe0434352
Fault offset: 0x00129ab2
Faulting process id: 0x524c
Faulting application start time: 0x01d6a3ce8070d14a
Faulting application path: C:\Program Files (x86)\Kage Innovation\PickSlipPrintSetup\CrystalReportsApplication1.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 82515458-4bfb-4485-b849-5a9ae284102e
Error #2:
Faulting package full name:
Faulting package-relative application ID:
Application: CrystalReportsApplication1.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
at CrystalDecisions.Shared.SharedUtils..cctor()
Exception Info: System.TypeInitializationException
at CrystalDecisions.Shared.SharedUtils.get_CurrentControl()
at CrystalDecisions.Shared.SharedUtils.GetEffectiveCulture()
at CrystalDecisions.Shared.LocaleManager..ctor()
at CrystalDecisions.Windows.Forms.CrystalReportViewer.InitReportViewer()
at CrystalDecisions.Windows.Forms.CrystalReportViewer..ctor()
at CrystalReportsApplication1.Form1.InitializeComponent()
at CrystalReportsApplication1.Form1..ctor()
Exception Info: System.InvalidOperationException
at CrystalReportsApplication1.My.MyProject+MyForms.Create__Instance__[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon)
at CrystalReportsApplication1.My.MyProject+MyForms.get_Form1()
at CrystalReportsApplication1.My.MyApplication.OnCreateMainForm()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(System.String[])
at CrystalReportsApplication1.My.MyApplication.Main(System.String[])
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.