Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

SQL report builder Unhandled exception for Font selection.

$
0
0

I just installed SQL report build 2.0.

Whenever I mouse over any of my text boxes I'm getting the following exception thrown

Unhandled exceptioin has occurred in your applicaiton

Font 'Arial' does not support style 'Regular'

Can't find anywhere to change the default font and when I bring it up in the Properties window, trying to change the font results in the same error.  Any ideas where I can change and or fix this?

************** Exception Text **************
System.ArgumentException: Font 'Arial' does not support style 'Regular'.
   at System.Drawing.Font.CreateNativeFont()
   at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
   at System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
   at System.Drawing.Font..ctor(String familyName, Single emSize, FontStyle style)
   at Microsoft.ReportingServices.Rendering.RichText.FontCache.CreateGdiPlusFont(String fontFamilyName, Single fontSize, Boolean bold, Boolean italic, Boolean lineThrough)
   at Microsoft.ReportingServices.Rendering.RichText.FontCache.CreateFont(ITextRunProps textRun, String key, Byte charset, Boolean verticalFont, String fontFamily, Single fontSize)
   at Microsoft.ReportingServices.Rendering.RichText.FontCache.GetFont(ITextRunProps textRunProps, Byte charset, Boolean verticalFont)
   at Microsoft.ReportingServices.Rendering.RichText.TextRun.ShapeAndPlace(IntPtr hdc, FontCache fontCache)
   at Microsoft.ReportingServices.Rendering.RichText.LineBreaker.GetLine(Paragraph paragraph, TextLine line, IntPtr hdc, FontCache fontCache, FlowContext flowContext, Single left, Single right, Single height, Stack`1 lineRunsIndex, Stack`1 lineRunsCharIndex)
   at Microsoft.ReportingServices.Rendering.RichText.LineBreaker.FlowParagraph(Paragraph paragraph, Directions direction, IntPtr hdc, Single dpiX, FontCache fontCache, FlowContext flowContext, Boolean keepLines, SizeF flowContextSize, Int32& contentOffset)
   at Microsoft.ReportingServices.Rendering.RichText.LineBreaker.Flow(TextBox textBox, IntPtr hdc, Single dpiX, FontCache fontCache, FlowContext flowContext, Boolean keepLines, Single& height)
   at Microsoft.ReportingServices.Rendering.RichText.LineBreaker.Flow(TextBox textBox, Graphics g, FontCache fontCache, FlowContext flowContext, Boolean keepLines, Single& height)
   at Microsoft.ReportingServices.Rendering.RichText.RichTextRenderer.UpdateCachedObjects(Graphics g)
   at Microsoft.ReportingServices.Rendering.RichText.RichTextRenderer.UpdateCachedObjects()
   at Microsoft.ReportingServices.Rendering.RichText.RichTextRenderer.get_RTParagraphs()
   at Microsoft.ReportingServices.Rendering.RichText.RichTextRenderer.GetTextBoundingBoxPx(Rectangle rect, VerticalAlignments vAlign)
   at Microsoft.ReportDesigner.TextboxReportItem.GetTextBoundingBox()
   at Microsoft.ReportDesigner.TextboxReportItem.IsPointOverText(PointF virtualPoint)
   at Microsoft.ReportDesigner.LayoutEditor.drawingPanel_MouseMove(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseMove(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5472 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
MSReportBuilder
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.1600.60 ((Katmai_FeaturePack).081004-1748 )
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/Report%20Builder%202.0/MSReportBuilder.exe
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5473 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Deployment
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
Microsoft.ReportingServices.Designer.Controls
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.1600.60 ((Katmai_FeaturePack).081004-1748 )
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/Report%20Builder%202.0/Microsoft.ReportingServices.Designer.Controls.DLL
----------------------------------------
Microsoft.ReportingServices.DataExtensions
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.1600.60 ((Katmai_FeaturePack).081004-1748 )
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/Report%20Builder%202.0/Microsoft.ReportingServices.DataExtensions.DLL
----------------------------------------
Microsoft.ReportingServices.QueryDesigners
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.1600.60 ((Katmai_FeaturePack).081004-1748 )
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/Report%20Builder%202.0/Microsoft.ReportingServices.QueryDesigners.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5473 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Microsoft.ReportingServices.Diagnostics
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.1600.60 ((Katmai_FeaturePack).081004-1748 )
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/Report%20Builder%202.0/Microsoft.ReportingServices.Diagnostics.DLL
----------------------------------------
Microsoft.ReportingServices.Interfaces
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.1600.60 ((Katmai_FeaturePack).081004-1748 )
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/Report%20Builder%202.0/Microsoft.ReportingServices.Interfaces.DLL
----------------------------------------
ReportingServicesNativeClient
    Assembly Version: 0.0.0.0
    Win32 Version: 2007.0100.1600.060 ((Katmai_FeaturePack).081004-1748 )
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/Report%20Builder%202.0/ReportingServicesNativeClient.DLL
----------------------------------------
msvcm80
    Assembly Version: 8.0.50727.6195
    Win32 Version: 8.00.50727.6195
    CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_d09154e044272b9a/msvcm80.dll
----------------------------------------
_idp4ldc
    Assembly Version: 10.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
muuzqbtj
    Assembly Version: 10.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
oqk01t3n
    Assembly Version: 10.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Microsoft.DataWarehouse
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.1600.60 ((Katmai_FeaturePack).081004-1748 )
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/Report%20Builder%202.0/Microsoft.DataWarehouse.DLL
----------------------------------------
Microsoft.Data.ConnectionUI.Dialog
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.762 (SP.050727-7600)
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/Report%20Builder%202.0/Microsoft.Data.ConnectionUI.Dialog.DLL
----------------------------------------
System.Design
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
Microsoft.ReportingServices.ReportPreview
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.1600.60 ((Katmai_FeaturePack).081004-1748 )
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/Report%20Builder%202.0/Microsoft.ReportingServices.ReportPreview.DLL
----------------------------------------
Microsoft.ReportingServices.RichText
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.1600.60 ((Katmai_FeaturePack).081004-1748 )
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/Report%20Builder%202.0/Microsoft.ReportingServices.RichText.DLL
----------------------------------------
Microsoft.ReportingServices.RPLObjectModel
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.1600.60 ((Katmai_FeaturePack).081004-1748 )
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/Report%20Builder%202.0/Microsoft.ReportingServices.RPLObjectModel.DLL
----------------------------------------
Microsoft.ReportingServices.ProcessingCore
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.1600.60 ((Katmai_FeaturePack).081004-1748 )
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/Report%20Builder%202.0/Microsoft.ReportingServices.ProcessingCore.DLL
----------------------------------------
System.Web
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
Microsoft.Data.ConnectionUI
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.762 (SP.050727-7600)
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/Report%20Builder%202.0/Microsoft.Data.ConnectionUI.DLL
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Data.OracleClient
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data.OracleClient/2.0.0.0__b77a5c561934e089/System.Data.OracleClient.dll
----------------------------------------
Microsoft.AnalysisServices.AdomdClientUI
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.1600.60 ((Katmai_FeaturePack).081004-1748 )
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/Report%20Builder%202.0/Microsoft.AnalysisServices.AdomdClientUI.DLL
----------------------------------------
Microsoft.AnalysisServices.AdomdClient
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.5500.0 ((Katmai_PCU_Main).110922-0336 )
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.AnalysisServices.AdomdClient/10.0.0.0__89845dcd8080cc91/Microsoft.AnalysisServices.AdomdClient.dll
----------------------------------------
Microsoft.ReportingServices.QueryDesigners.SapBw
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.1600.60 ((Katmai_FeaturePack).081004-1748 )
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/Report%20Builder%202.0/Microsoft.ReportingServices.QueryDesigners.SapBw.DLL
----------------------------------------
Microsoft.ReportingServices.DataExtensions.XmlaClient
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.1600.60 ((Katmai_FeaturePack).081004-1748 )
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/Report%20Builder%202.0/Microsoft.ReportingServices.DataExtensions.XmlaClient.DLL
----------------------------------------
Microsoft.ReportingServices.QueryDesigners.Essbase
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.1600.60 ((Katmai_FeaturePack).081004-1748 )
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/Report%20Builder%202.0/Microsoft.ReportingServices.QueryDesigners.Essbase.DLL
----------------------------------------
System.Web.Services
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
trnirbkx
    Assembly Version: 10.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Microsoft.ReportingServices.DataExtensions.SapBw
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.1600.60 ((Katmai_FeaturePack).081004-1748 )
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/Report%20Builder%202.0/Microsoft.ReportingServices.DataExtensions.SapBw.DLL
----------------------------------------
Microsoft.ReportingServices.DataExtensions.Essbase
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.1600.60 ((Katmai_FeaturePack).081004-1748 )
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/Report%20Builder%202.0/Microsoft.ReportingServices.DataExtensions.Essbase.DLL
----------------------------------------
MDXQueryGenerator
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.1600.60 ((Katmai_FeaturePack).081004-1748 )
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/Report%20Builder%202.0/MDXQueryGenerator.DLL
----------------------------------------
Microsoft.DataWarehouse.Interfaces
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.5500.0 ((Katmai_PCU_Main).110921-2358 )
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.DataWarehouse.Interfaces/10.0.0.0__89845dcd8080cc91/Microsoft.DataWarehouse.Interfaces.dll
----------------------------------------
v4l3_w18
    Assembly Version: 10.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
nmh4npdc
    Assembly Version: 10.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------


Viewing all articles
Browse latest Browse all 8428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>