Page 1 of 1
Tourbleshooting errors
Posted: Sat Feb 16, 2013 12:49 am
by jay@bplogix.com
What is the best approach to troubleshooting errors when we get runtime errors like "Error #2032"? After spending time editing a report, it is difficult to find out what the problem is. Typically it is a simple variable error or a typo anywhere from the Group, to a datasource, to a field in a datasource. Unfortuntaely it is VERY easy to create runtime errors in reports simply be editing a report.
How do we know "where" the error actually is? The only I can find is to literally delete objects one by one in the report until the error dissappears. But there has to be a better way
thanks
Re: Tourbleshooting errors
Posted: Mon Feb 18, 2013 11:34 am
by HighAley
Hello.
It's a Flex error. Do you have any particular problem with it?
Thank you.
Re: Tourbleshooting errors
Posted: Wed Feb 20, 2013 2:28 am
by jay@bplogix.com
I dont know what "Flex error" means? I guess the problem I am running into is that if I edit a report, and then run it, it sometimes just returns Error #2032 if I made any type of configuration error in the report (any kind of typo). How are users supposed to troubleshoot errors like this? For example, edit a calculated column, and have a typo. Now try to run the report. I just get Error #2032. But how do I know where the problem is? I could have been editing dozens of fields.
thx
Re: Tourbleshooting errors
Posted: Wed Feb 20, 2013 11:15 am
by HighAley
Hello.
Sorry, we need a little more time to prepare an answer for you.
Thank you.
Re: Tourbleshooting errors
Posted: Wed Feb 27, 2013 2:23 pm
by HighAley
Hello.
We have put this issue in our to-do list. Look for our updates.
Thank you.
Re: Tourbleshooting errors
Posted: Wed Mar 13, 2013 9:08 pm
by jay@bplogix.com
Is there at least a way to view the CS generated code? That way a user can search thru the code for ideas of what is causing the failures. It seems that there is a lot of ways to cause the error ... and without some basic hints as to where the error is, it is kind of like a compiler just saying "compile error" without telling the user where or why.
thx
Re: Tourbleshooting errors
Posted: Thu Mar 14, 2013 12:50 pm
by HighAley
Hello.
You can show the code of the report by setting next option:
Code: Select all
StiWebDesignerOptions.Toolbar.ShowCodeTab = true;
Thank you.
Re: Tourbleshooting errors
Posted: Thu Mar 14, 2013 7:28 pm
by jay@bplogix.com
Thx. That works pretty well. I remember in previous builds it would show this by default, and would actually navigate in the source code to where the error was. Has this logic changed?
Re: Tourbleshooting errors
Posted: Fri Mar 15, 2013 10:29 am
by HighAley
Hello.
jay@bplogix.com wrote:Thx. That works pretty well. I remember in previous builds it would show this by default, and would actually navigate in the source code to where the error was. Has this logic changed?
No, the Winforms Designer has such behaviour but not Designer.Web.
Thank you.