I am unable to figure this strange behaviour. I have spent more than 10 hrs and tried so many different things but still getting same error. Now strange thing is that it works when I run locally on my machine but when running on my webhosting I get this error. I am able to run other reports created using stimultsoft but this particular report gives me this error on my webhosting server. I am unable to figure, let me know if you can figure this out.
I am using version: 2012.2.1400
on ASP.NET Full Trust (4.0 integrated)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
StiReport report = new StiReport();
report.Load(Server.MapPath("monthly_sales.mrt"));
report.RegBusinessObject("Commision", GetTransactions());
StiWebViewer1.Report = report;
Object reference not set to an instance of an object
Re: Object reference not set to an instance of an object
Hello.
Is there a medium trust level set on your server?
If so, please, read next article from our Knowledge base http://stimulsoft.helpserve.com/index.p ... icleid=376
Thank you.
Is there a medium trust level set on your server?
If so, please, read next article from our Knowledge base http://stimulsoft.helpserve.com/index.p ... icleid=376
Thank you.