StiReport throws NullRederences Exception

Stimulsoft Reports.WPF discussion
Post Reply
farzad0744
Posts: 3
Joined: Thu Mar 26, 2015 9:30 am

StiReport throws NullRederences Exception

Post by farzad0744 »

Hi everybody
I have a simple c# wpf app that uses stimulsoft reports.
When i run my app in my pc everything is ok, but when i copy the debug(or release) folder to another pc to running it, my app runs but when i click a button to create a stiReport, NullReferenceException occures.
this is the button onclick :

Code: Select all

StiReport r = new StiReport();
r.Show();
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: StiReport throws NullRederences Exception

Post by HighAley »

Hello.

Which version of our product do you use?
Could you send us a full error stack?
Did you copy necessary Stimulsoft assemblies?

Thank you.
farzad0744
Posts: 3
Joined: Thu Mar 26, 2015 9:30 am

Re: StiReport throws NullRederences Exception

Post by farzad0744 »

I use v2014 ultimate.
I think required assemblies is copied. see this:
Capture.JPG
Capture.JPG (17.63 KiB) Viewed 2624 times
there is no error stack. when i run my app exe file on another pc, stops and shows following error:

Code: Select all

Problem signature:
  Problem Event Name:	CLR20r3
  Problem Signature 01:	example_report.exe
  Problem Signature 02:	1.0.0.0
  Problem Signature 03:	5513dd08
  Problem Signature 04:	Example_Report
  Problem Signature 05:	1.0.0.0
  Problem Signature 06:	5513dd08
  Problem Signature 07:	104
  Problem Signature 08:	2d
  Problem Signature 09:	System.NullReferenceException
  OS Version:	6.1.7600.2.0.0.256.1
  Locale ID:	1033
  Additional Information 1:	0a9e
  Additional Information 2:	0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:	0a9e
  Additional Information 4:	0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt
Thanks for your attention
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: StiReport throws NullRederences Exception

Post by HighAley »

Hello.

Please, send us your project with assemblies to support@stimulsoft.com.

Thank you.
farzad0744
Posts: 3
Joined: Thu Mar 26, 2015 9:30 am

Re: StiReport throws NullRederences Exception

Post by farzad0744 »

Hello, I sent my project.
Thanks.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: StiReport throws NullRederences Exception

Post by HighAley »

Hello.

We will answer you by email soon.

Thank you.
Post Reply