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

Report Designer - Object not set to an instance of an object

4 Answers 592 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jonathan
Top achievements
Rank 1
Jonathan asked on 03 Jun 2008, 04:48 PM
Hello,

I created two reports yesterday and have finally got them to work in the browser however when I go into Visual Studio 2005 and try and design the reports I get an "Object not set to an instance of an object" in the designer.  I f I create a new report the designer works fine.  It was working fine last night when I turned off my box.  What process can I follow to try and figure out what is causing this.  I'm using Q1 2008 reporting.

Object reference not set to an instance of an object.
Hide    

at Microsoft.VisualStudio.Design.Serialization.CodeDom.MergedCodeDomParser.System.CodeDom.Compiler.ICodeParser.Parse(TextReader stream)
at System.CodeDom.Compiler.CodeDomProvider.Parse(TextReader codeStream)
at Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom.CodeDomDocDataAdapter.get_CompileUnit()
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost host)

4 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 05 Jun 2008, 12:58 PM
Hello Jonathan,

This is the first time someone reports such a problem overnight :) Have you by any chance changed something manually in the InitializeComponent() method or have you been in the middle of changing/setting something up and then simply turned off your computer (so that it forcibly closes all open programs including VS)?
Try closing all instances of Visual Studio and start it again to see if that makes any difference. Any additional information you find relevant would be highly appreciated.

Greetings,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jonathan
Top achievements
Rank 1
answered on 05 Jun 2008, 03:00 PM
Thanks for the reply.  It is possible that I killed the visual studio process.  Am I out of luck?  there's really not much more information I can give you.. The report still runs fine, I just can't design it.  I had not made any manual mdofications to it either. I'mm in the process of upgrading to VS 2008 so we'll see if that fixes it.
Cheers
Jonathan
0
Accepted
Steve
Telerik team
answered on 05 Jun 2008, 03:23 PM
Hello Jonathan,

Well we do not have any other suggestions/guesses, so it would be best if you send your report and see if we can spot what might have got corrupted to cause this. If  you have another machine at your disposal, you can try running the report there and verify if the same problem is observed. If it is fine you can save the project and try it on your original machine.

All the best,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jonathan
Top achievements
Rank 1
answered on 05 Jun 2008, 05:14 PM
Hi, I upgraded to VS 2008, rebuilt everything and the problem went away.  I will make sure that I close VS normally.  Thanks
Tags
General Discussions
Asked by
Jonathan
Top achievements
Rank 1
Answers by
Steve
Telerik team
Jonathan
Top achievements
Rank 1
Share this question
or