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

VS 2008 sp1 issue

8 Answers 129 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kyri
Top achievements
Rank 2
Kyri asked on 29 Jun 2009, 04:53 AM
Hi guys, i feel that i must be missing something in the installation as i can never see the design view in vs2008. I have tried to install reporting on 3 machines running VS 2008 SP1 and in all 3 i get the same issue.

Step 1, i create a new class lib
step 2, i add a new item of type Telerik report 2009 Q1
when the design view comes up i get

To prevent possible data loss before loading the designer, the following errors must be resolved:
1 Error
Why am I seeing this page?
Object reference not set to an instance of an object.

 
Instances of this error (1)
1.
at Telerik.ReportViewer.WinForms.WinViewer.UpdateScrollSize()
at Telerik.ReportViewer.WinForms.WinViewer.OnSizeChanged(EventArgs eventArgs)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height)
at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
at System.Windows.Forms.Control.ScaleControl(SizeF factor, BoundsSpecified specified)
at System.Windows.Forms.ScrollableControl.ScaleControl(SizeF factor, BoundsSpecified specified)
at System.Windows.Forms.Control.ScaleControl(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
at System.Windows.Forms.ContainerControl.Scale(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
at System.Windows.Forms.ContainerControl.PerformAutoScale(Boolean includedBounds, Boolean excludedBounds)
at System.Windows.Forms.ContainerControl.PerformNeededAutoScaleOnLayout()
at System.Windows.Forms.ContainerControl.OnLayoutResuming(Boolean performLayout)
at System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
at Telerik.ReportViewer.WinForms.ReportViewerAreaBase.InitializeComponent()
at Telerik.ReportViewer.WinForms.ReportViewerAreaBase..ctor()
at Telerik.ReportViewer.WinForms.WinViewer..ctor()
at Telerik.ReportViewer.WinForms.ReportViewer..ctor()
at Telerik.Reporting.Design.ReportPreviewer..ctor()
at Telerik.Reporting.Design.PreviewView..ctor(ReportRootDesigner rootDesigner, IServiceProvider provider)
at Telerik.Reporting.Design.ReportRootDesigner.Initialize(IComponent component)
at System.ComponentModel.Design.DesignerHost.AddToContainerPostProcess(IComponent component, String name, IContainer containerToAddTo)
at System.ComponentModel.Design.DesignerHost.Add(IComponent component, String name)
at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.CreateComponent(Type componentType, String name)
at System.ComponentModel.Design.Serialization.DesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
at System.ComponentModel.Design.Serialization.DesignerSerializationManager.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)
 
What can i do so that i can view the designer so that i can start using the reporting?

8 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 29 Jun 2009, 07:58 AM
Hi Kyri,

This is a known issue that slipped into the Q1 SP1 release, for which we sincerely apologize. The bug can occur when the current desktop DPI setting is different from 96 DPI (or you have a custom windows font set), and the ReportViewer tries to auto-scale itself accordingly. The issue has already been addressed and would be part of the Q2 release expected this week. As a temporary work-around you can reset your desktop DPI setting to 96 DPI (or return to default font).

Please, excuse us for the temporary inconvenience.

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.
0
Kyri
Top achievements
Rank 2
answered on 29 Jun 2009, 09:57 PM
No worries, it wasnt an incovenience, it was just driving me nuts :) .Thanks for the reply.
The only thing was I searched google  and the forums with the exact keyords that were comming up and i couldnt find anything to give me a hint as to what the issue was.
0
Chuck Lynch
Top achievements
Rank 1
answered on 20 Jul 2009, 06:53 PM
Was this ever resolved?  I am running with Reporting Q1 2009 and having the same issue.
0
Kyri
Top achievements
Rank 2
answered on 20 Jul 2009, 09:43 PM
Yes chuck. It has to do with the dpi setting you set in windows. I havent tried using 120dpi in Q2 (they said that the issue has been resolved in the newest release) yet but if you are still running Q1 then the only solution is to go to windows display properties and change the font size from larger fonts (120DPI) back to 96DPI. Its not ideal cos now all your text is too small but it works. 

0
Steve
Telerik team
answered on 21 Jul 2009, 07:56 AM
Hi Kyri,

This issue has been resolved in the Q2 release - please upgrade and let us know of the outcome.

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
Chris Bostedt
Top achievements
Rank 1
answered on 21 Jul 2009, 07:24 PM

I'm running into the exact same error with 2009 Q2.

 

I was running an eval. version 4 months ago - we since purchased the full version.

Today I attempted to add a report but my trial version no longer shows up in VS08 (I'm assuming because the trial period is over).  I was going to install our developer copy but found out another developer already installed our 1-dev copy.  So I installed the 2009 Q2 eval. thinking that would be sufficient for what I needed.  However, I keep seeing the fore-mentioned error.

I created a completely new Web App in VS08 and was able to successfully add a Telerik report.  Why wouldn't I be able to view the designer in our current project...¿

(My desktop DPI is 96)

EDIT:  I just checked the reference in our project and it says 2009 Q1 (version 3.0.9.430).  I'm assuming this needs to be updated...?

0
Chris Bostedt
Top achievements
Rank 1
answered on 21 Jul 2009, 08:15 PM
Resolved.

Updating the project reference now allows me to view the designer.
0
Chuck Lynch
Top achievements
Rank 1
answered on 23 Jul 2009, 08:37 PM
This resolved it for me also.  Thanks.
Tags
General Discussions
Asked by
Kyri
Top achievements
Rank 2
Answers by
Steve
Telerik team
Kyri
Top achievements
Rank 2
Chuck Lynch
Top achievements
Rank 1
Chris Bostedt
Top achievements
Rank 1
Share this question
or