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

Problem with (Sub-)Reports in the VS 2008 SP1 Designer after first time running

5 Answers 111 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 05 Mar 2009, 12:36 PM
Hello!

Actually I'm testing your Telerik Reporting Product (Telerik_Reporting_2008_3_1402_trial). I have designed a big report (>255 Textboxes ==> I know, that this are many textboxes, but this is real life), so I needed to part the whole report in one main report and in one subreport (don't missunderstand me ==> it is not designed as the master-detail-example yet).

I added a subreport control to the main report and set the reportsource-property to the subreport I created. Then I run my web application in VS 2008 SP1. Everything works fine.

After I close the running web application, Visual Studio tells me, that there are errors and the main report class could/should not be loaded into the designer to prevent data loss.

The two error messages in detail (translated from german VS with google language tools):

1)
german: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
english: Object reference not set to an instance of an object.

2)
german: Die Variable reportZahlung1 wurde nicht deklariert oder nicht zugeordnet.
english: The variable reportZahlung1 has not been declared or not assigned.

So I can't go on with the designing of the report. Interesting is, that when I start the project again, everthing works still fine.

Any suggestions to solve the problem would be very nice.

By

Michael
M

5 Answers, 1 is accepted

Sort by
0
Michael
Top achievements
Rank 1
answered on 06 Mar 2009, 08:48 AM
Good Morning Steve!

Like you told me, I deleted all data for reportZahlung (incl. statements for control subreport1) and rebuild the projects.
It compiled successfully, but the designer still showed the warning message.

Then I closed VS and directly opened my project in a new instance of visual studio. After that both reports were shown
correctly in the designer. Then I added a subreport control to the main report. But when I want to set the reportsource
property, VS shows me a error message box: "Object reference not set to an instance of an object." ?!?

After that, I delete the hole subreport and added a new one to the project. Then I tried to reference this report with the
reportsource-property, but the same error message appeared.

What should I do?

Bye

Michael
0
Michael
Top achievements
Rank 1
answered on 06 Mar 2009, 10:42 AM
Hello!

Here are some infos I want to complement:

a) We can except that the problem is a problem with my computer respectively the installation. I tested my solution yesterday evening with another notebook. The problem stays the same.

b) A few minutes ago I build a small test project, where I use the same database (MySQL; MySQL Connector 5.2.5), but here I wanted to test, if the problem is a problem of to many textbox in main- and/or subreport in my real life application. So I used only <5 textboxes in main- and subreport. After first time building and debugging, I get the designer error message for the mainreport.

Michael
0
Steve
Telerik team
answered on 06 Mar 2009, 12:50 PM
Hi Michael,

As we did not find any download history for your account, can you double check if you are using the latest version of Telerik Reporting - 2008.3 1402? Also what OS and Visual Studio version do you use? What .NET framework do you build against? Any additional information or a sample class library showing the problem at hand would be appreciated.

All the best,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Michael
Top achievements
Rank 1
answered on 18 Mar 2009, 03:21 PM
Hello out there!?!

Sadly I did not get any real answer to my problem, since I have send you my sample project on 06.03.2009 to support@telerik.com.

Any suggestions??

Michael
0
Steve
Telerik team
answered on 18 Mar 2009, 05:14 PM
Hi Michael,

The email support@telerik.com is used for internal purposes only and for sending No-Reply email messages i.e. it is not checked. If you need to send an email with technical inquiry the proper address is clientservice@telerik.com. However we highly recommend using our support ticket system instead, which also allows you to attach your files. Or of course you can also upload them on a live server and post a link in this forum or a support ticket.

Thank you for the understanding.

Regards,
Steve
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Michael
Top achievements
Rank 1
Answers by
Michael
Top achievements
Rank 1
Steve
Telerik team
Share this question
or