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

Object reference error

1 Answer 78 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 03 Mar 2011, 07:51 PM
When adding a new report, after entering the name of the .cs file, I get the following Object reference error. After clicking OK, the "Add New Item" dialog appears again, asking for the name of the object. The 2nd time, I have to click Cancel because by that time, the object has already been added to the project.

BTW, the new report I'm trying to add is actually a subreport, which will be later added to a master report. The new report already has a PageHeader, Detail and PageFooter section. I don't need the PageHeader or footer, but need a labelsGroupHeader instead. How do I add one?

1 Answer, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 07 Mar 2011, 03:30 PM
Hello Patrick,

We will need more information to further investigate the cause for the error you have experienced:

  • Under which version of Visual Studio you are experiencing the error?
  • Because this is a generic error our suggestion is to use VS to debug itself - just choose Debug->Attach to process to debug another instance of devenv.exe and enable First Chance Exceptions on the On the Debug menu, select Exceptions (or use Ctrl+D,E from the keyboard). Then you have to monitor the Output windows. This approach is mainly used when Visual Studio hangs and exits unexpectedly however we hope it will give us more information
  • You can also start Visual Studio with enabled log to see if that would bring more light to the problem. Anything relevant that you can think of and share would be highly appreciated.
  • This seems to be a problem related to the Report Wizard. Have you tried to start the Report Wizard from the Telerik Reporting Menu?

    If you are after a Group Header that will act as a Page Header then the labelsGroupHeader is part of an unbound group (group without grouping).For more information check out the How-To: Add groups to Report help article.

    Kind regards,
    Peter
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
    Tags
    General Discussions
    Asked by
    Patrick
    Top achievements
    Rank 1
    Answers by
    Peter
    Telerik team
    Share this question
    or