Click here to Skip to main content
15,795,331 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone,
I have created a windows application and trying to generate a report using crystal report, when I run that program from visual studio the report is working well but on that same computer when I tried from exe file of that program the crstal report is not generating and the application closes with showing following error.please help me as soon as posible. it will be a great help for me, thanks a lot in advance

<b><pre lang="css">Description:
  Stopped working

Problem signature:
  Problem Event Name:   APPCRASH
  Application Name: Women Health Center.exe
  Application Version:
  Application Timestamp:    52627bf6
  Fault Module Name:    KERNELBASE.dll
  Fault Module Version: 6.1.7600.17206
  Fault Module Timestamp:   50e65f4f
  Exception Code:   e0434352
  Exception Offset: 0000969b
  OS Version:   6.1.7600.
  Locale ID:    16393

Read our privacy statement online:;clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
Updated 23-Oct-13 20:30pm
Hasan Habib Surzo 24-Oct-13 2:24am    
Can you please share the code. From your description it is not clear. also you can check custom variable in CR. Need to know about your CR call procedure.
Kumar Pardeep 24-Oct-13 3:35am    
private void FrmRegisterPtCReport_Load(object sender, EventArgs e)
if (prcoe == "")
MessageBox.Show("Please Select a Patient to Print");
NewPatientReport rep = new NewPatientReport();
PatientRegistry ds = new PatientRegistry();
tblNewPatientMasterTableAdapter adp = new tblNewPatientMasterTableAdapter();
rep.SetParameterValue("PrCode", prcoe);
crystalReportViewer1.ReportSource = rep;
Hasan Habib Surzo 24-Oct-13 3:39am    
Can you do one thing, please delete your exe file from bin directory and rerun the software first from vs. then check. also check your crystal report is embedded or not in properties.

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