This is a migrated thread and some comments may be shown as answers.

Expression shuts down VS.Net !!

7 Answers 88 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Will
Top achievements
Rank 1
Will asked on 31 Oct 2007, 12:17 AM
Hello

I am trying to add a text box control to my report and then use the Expression builder to add an expression.  Everytime I right click on the text control and select the Expression from the context menu...my visual studio shuts down.

Is there a fix for this???

7 Answers, 1 is accepted

Sort by
0
Svetoslav
Telerik team
answered on 31 Oct 2007, 10:30 AM
Hi Will,

Thank you for contacting us regarding this issue.

We are not aware of other cases where this problem occurs and therefor we will need a bit more information, so we can investigate it further..

Which version of Telerik Reporting you use? If it is not the latest version please download and try with it.

Which version of Visual Studio 2005 you use? Please have in mind that Telerik Reporting design time requires specific version of Visual Studio to run - system requirements.

Does this behavior occur every time and with all reports (including the samples installed together with the product) or with a specific report and data source?

Do you have any user functions defined?

If the above hints does not help you to identify the issue please send us your report (and the data source if needed) so we can examine it and get back to you with a resolution.

I am looking forward to hearing from you. Thank you in advance.

Regards,
Svetoslav
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Will
Top achievements
Rank 1
answered on 31 Oct 2007, 06:48 PM
Hi -

I am using the latest version of the Telerik Reporting control.

I am using VS.Net 2005 Pro edition.

This behavior only occurs with some reports that I have, not the samples.  But I used the wizard to create the reports.   No user defined functions.

I will try this one more time and see what happens.

Thanks
 - will
0
Svetoslav
Telerik team
answered on 01 Nov 2007, 02:52 PM
Hi Will,

Thank you for getting back to us.

It is great that you have managed to localize the problem. In case you need more help or have any further questions, please, do not hesitate to contact us.

Greetings,
Svetoslav
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Iomedex
Top achievements
Rank 1
answered on 01 Nov 2007, 03:35 PM
I think that I figured out the problem.  On the reports, I am using a stored procedure to get the data.  The stored procedures have an input parameter.  When the reports run, I set this report parameter via code.  So, after designing the reports, I removed the value for the parameter from the parameter property sheet/expression.  This is what seems to be causing VS.Net to shut down when I click on the Expression builder.  Once I input parameter values again, I can launch the Expression dialog and VS.Net does not shut down.

This is probably something that you should address in the next service pack.

thanks
 - will
0
Svetoslav
Telerik team
answered on 01 Nov 2007, 04:14 PM
Hi Will,

We are glad to hear that you finally managed to find the reason for your troubles.

You are definitely right that even there is a problem anywhere the application should handle the exceptional situation gracefully and continue to operate. We logged the issue in our bug tracking system and will fix it as soon as possible.

Wish you a nice day.

Best wishes,
Svetoslav
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Angie
Top achievements
Rank 1
answered on 27 Mar 2008, 05:25 PM
I just wanted to add that I am having a similiar issue wherein anytime there is an error in the report, and I try to preview it, my entire Visual Studio IDE shuts down.  For example, I think there was a problem with trying to set the connection from the code behind.  This also happens when I try to edit the report while the project is running.

I am running Visual Studio 2008 and Telerik Reports 2.0 on Vista.

Thanks.
0
Svetoslav
Telerik team
answered on 31 Mar 2008, 08:16 AM
Hi Angie,

An exception thrown inside the report's constructor is a possible reason.

Usually one puts data source initialization code at the end of the constructor (the Report/Data Source Wizards also add a code to fill the typed data sets). If there is a problem connecting to the database or retrieving the data an exception is thrown and for some reason the VS cannot handle it gracefully and shuts down immediately. This is the reason to start surrounding the code generated by the Data Source Wizard in a try-catch block.

This is how the Visual Studio behaves disregarding its version (2005/2008) and OS (Windows XP/2003/Vista).

Best wishes,
Svetoslav
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Will
Top achievements
Rank 1
Answers by
Svetoslav
Telerik team
Will
Top achievements
Rank 1
Iomedex
Top achievements
Rank 1
Angie
Top achievements
Rank 1
Share this question
or