Expression shuts down VS.Net !!

8 posts, 0 answers
  1. Will
    Will avatar
    45 posts
    Member since:
    Aug 2007

    Posted 30 Oct 2007 Link to this post

    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???
  2. Svetoslav
    Admin
    Svetoslav avatar
    649 posts

    Posted 31 Oct 2007 Link to this post

    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
  3. DevCraft banner
  4. Will
    Will avatar
    45 posts
    Member since:
    Aug 2007

    Posted 31 Oct 2007 Link to this post

    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
  5. Svetoslav
    Admin
    Svetoslav avatar
    649 posts

    Posted 01 Nov 2007 Link to this post

    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
  6. Iomedex
    Iomedex avatar
    9 posts
    Member since:
    Jun 2007

    Posted 01 Nov 2007 Link to this post

    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
  7. Svetoslav
    Admin
    Svetoslav avatar
    649 posts

    Posted 01 Nov 2007 Link to this post

    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
  8. Angie
    Angie avatar
    101 posts
    Member since:
    Jan 2008

    Posted 27 Mar 2008 Link to this post

    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.
  9. Svetoslav
    Admin
    Svetoslav avatar
    649 posts

    Posted 31 Mar 2008 Link to this post

    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
Back to Top
DevCraft banner