Hi,
I have a problem with Telerik.Reporting. When I create a report containing a lot of markup (many panels, textboxes etc.) with designer file size of about 1,2MB I get StackOverflow exception calling report object constructor in InitializeComponent() method:
Exception message:
"An unhandled exception of type 'System.StackOverflowException' occurred in MyApplication.DLL"
What is interesting it takes place before executing method's first line of code - it breaks on bracket '{'. Described situation happens when I run my application on IIS 7, the exception causes my application proccess to break and I get server error page. When running on built-in Visual Studio 2010 development server everything seems fine. I noticed that when I decreased the report designer file size (removing some elements) down below 600KB the exception is gone and everything seems fine on IIS 7. It looks like 600KB is a boundary and larger designer files cause problem.
Thanks for any support.
I have a problem with Telerik.Reporting. When I create a report containing a lot of markup (many panels, textboxes etc.) with designer file size of about 1,2MB I get StackOverflow exception calling report object constructor in InitializeComponent() method:
private
void
InitializeComponent()
{
//in this line a StackOverflow exception happens
System.ComponentModel.ComponentResourceManager resources =
new
System.ComponentModel.ComponentResourceManager(
typeof
(MyOffer));
Telerik.Reporting.TableGroup tableGroup7 =
new
Telerik.Reporting.TableGroup();
Telerik.Reporting.TableGroup tableGroup8 =
new
Telerik.Reporting.TableGroup();
Telerik.Reporting.TableGroup tableGroup9 =
new
Telerik.Reporting.TableGroup();
Telerik.Reporting.TableGroup tableGroup1 =
new
Telerik.Reporting.TableGroup();
Telerik.Reporting.TableGroup tableGroup2 =
new
Telerik.Reporting.TableGroup();
Telerik.Reporting.TableGroup tableGroup3 =
new
Telerik.Reporting.TableGroup();
Telerik.Reporting.TableGroup tableGroup4 =
new
Telerik.Reporting.TableGroup();
Telerik.Reporting.TableGroup tableGroup5 =
new
Telerik.Reporting.TableGroup();
Telerik.Reporting.TableGroup tableGroup6 =
new
Telerik.Reporting.TableGroup();
Exception message:
"An unhandled exception of type 'System.StackOverflowException' occurred in MyApplication.DLL"
What is interesting it takes place before executing method's first line of code - it breaks on bracket '{'. Described situation happens when I run my application on IIS 7, the exception causes my application proccess to break and I get server error page. When running on built-in Visual Studio 2010 development server everything seems fine. I noticed that when I decreased the report designer file size (removing some elements) down below 600KB the exception is gone and everything seems fine on IIS 7. It looks like 600KB is a boundary and larger designer files cause problem.
Thanks for any support.