Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / April 2006

Tip: Looking for answers? Try searching our database.

Font 'Arial' doesn't support style 'Regular'

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bart - 18 Apr 2006 15:34 GMT
Hi,

From today, when I try to open a rdl report in visual studio 2003 I get the
error message above.

I've checked the xml of the rdl file and there is no Arial font used neither
the keyword Regular.

I can open reports in VS 2005 but when I preview the report in the ide I get
the same error message (when rendering the report).

What could be wrong?
Thanks

This is the complete error:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: Font 'Arial' doesn't support style 'Regular'.
  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)
  at System.Drawing.Font..ctor(String familyName, Single emSize, FontStyle
style, GraphicsUnit unit)
  at Microsoft.ReportDesigner.Drawing.Style.get_DrawingFont()
  at Microsoft.ReportDesigner.Controls.Textbox.OnCreateControl()
  at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
  at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
  at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
  at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
  at System.Windows.Forms.Control.CreateControl()
  at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
  at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
  at System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e)
  at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
  at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
  at System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e)
  at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
  at System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e)
  at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
  at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
  at System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e)
  at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
  at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
  at System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e)
  at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
  at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
  at System.Windows.Forms.Control.WmShowWindow(Message& m)
  at System.Windows.Forms.Control.WndProc(Message& m)
  at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
  at System.Windows.Forms.ContainerControl.WndProc(Message& m)
  at System.Windows.Forms.UserControl.WndProc(Message& m)
  at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
  at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
   Assembly Version: 1.0.5000.0
   Win32 Version: 1.1.4322.2032
   CodeBase: file:///c:/winxp/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
PInvokeDotNetAddIn
   Assembly Version: 1.0.0.1
   Win32 Version: 1.0.0.1
   CodeBase:
file:///C:/Program%20Files/pinvoke.net/pinvoke.net%20Visual%20Studio%20Add-In/PInvokeDotNetAddIn.dll
----------------------------------------
Extensibility
   Assembly Version: 7.0.3300.0
   Win32 Version: 7.00.9466
   CodeBase:
file:///c:/winxp/assembly/gac/extensibility/7.0.3300.0__b03f5f7f11d50a3a/extensibility.dll
----------------------------------------
EnvDTE
   Assembly Version: 7.0.3300.0
   Win32 Version: 7.00.9466
   CodeBase:
file:///c:/winxp/assembly/gac/envdte/7.0.3300.0__b03f5f7f11d50a3a/envdte.dll
----------------------------------------
System.Windows.Forms
   Assembly Version: 1.0.5000.0
   Win32 Version: 1.1.4322.2032
   CodeBase:
file:///c:/winxp/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
   Assembly Version: 1.0.5000.0
   Win32 Version: 1.1.4322.2032
   CodeBase:
file:///c:/winxp/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
Office
   Assembly Version: 7.0.3300.0
   Win32 Version: 7.00.9466
   CodeBase:
file:///c:/winxp/assembly/gac/office/7.0.3300.0__b03f5f7f11d50a3a/office.dll
----------------------------------------
cnethelp
   Assembly Version: 1.2.1.0
   Win32 Version: 1.2.1.0
   CodeBase:
file:///C:/Program%20Files/HTML%20Help%20Generator%20for%20VS.NET%202003/.NET%20Framework%20v1.1.4322/cnethelp.dll
----------------------------------------
Microsoft.VisualBasic
   Assembly Version: 7.0.5000.0
   Win32 Version: 7.10.6001.4
   CodeBase:
file:///c:/winxp/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
----------------------------------------
Microsoft.VisualBasic.Compatibility
   Assembly Version: 7.0.5000.0
   Win32 Version: 7.10.3077
   CodeBase:
file:///c:/winxp/assembly/gac/microsoft.visualbasic.compatibility/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.compatibility.dll
----------------------------------------
CustomMarshalers
   Assembly Version: 1.0.5000.0
   Win32 Version: 1.1.4322.573
   CodeBase:
file:///c:/winxp/assembly/gac/custommarshalers/1.0.5000.0__b03f5f7f11d50a3a/custommarshalers.dll
----------------------------------------
System.Drawing
   Assembly Version: 1.0.5000.0
   Win32 Version: 1.1.4322.2032
   CodeBase:
file:///c:/winxp/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
Microsoft.ReportingServices.Designer
   Assembly Version: 8.0.242.0
   Win32 Version: 8.00.878.00
   CodeBase:
file:///c:/Program%20Files/Microsoft%20SQL%20Server/80/Tools/Report%20Designer/Microsoft.ReportingServices.Designer.dll
----------------------------------------
Microsoft.VisualStudio.Shell.Interop
   Assembly Version: 7.0.3500.0
   Win32 Version: 8.0.30310 (lab21.030309-2105)
   CodeBase:
file:///c:/Program%20Files/Microsoft%20SQL%20Server/80/Tools/Report%20Designer/Microsoft.VisualStudio.Shell.Interop.DLL
----------------------------------------
Microsoft.VisualStudio.OLE.Interop
   Assembly Version: 7.0.3500.0
   Win32 Version: 8.0.30310 (lab21.030309-2105)
   CodeBase:
file:///c:/Program%20Files/Microsoft%20SQL%20Server/80/Tools/Report%20Designer/Microsoft.VisualStudio.OLE.Interop.DLL
----------------------------------------
Microsoft.VisualStudio
   Assembly Version: 1.0.5000.0
   Win32 Version: 1.1.4322.573
   CodeBase:
file:///C:/Program%20Files/Microsoft%20Visual%20Studio%20.NET%202003/Common7/IDE/Microsoft.VisualStudio.DLL
----------------------------------------
Microsoft.DataWarehouse.Interfaces
   Assembly Version: 8.0.242.0
   Win32 Version: 8.00.878.00
   CodeBase:
file:///c:/Program%20Files/Microsoft%20SQL%20Server/80/Tools/Report%20Designer/Microsoft.DataWarehouse.Interfaces.DLL
----------------------------------------
Microsoft.DataWarehouse.VsIntegration
   Assembly Version: 8.0.242.0
   Win32 Version: 8.00.878.00
   CodeBase:
file:///c:/Program%20Files/Microsoft%20SQL%20Server/80/Tools/Report%20Designer/Microsoft.DataWarehouse.VsIntegration.DLL
----------------------------------------
System.Xml
   Assembly Version: 1.0.5000.0
   Win32 Version: 1.1.4322.2032
   CodeBase:
file:///c:/winxp/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
System.Web
   Assembly Version: 1.0.5000.0
   Win32 Version: 1.1.4322.2037
   CodeBase:
file:///c:/winxp/assembly/gac/system.web/1.0.5000.0__b03f5f7f11d50a3a/system.web.dll
----------------------------------------
Microsoft.DataWarehouse
   Assembly Version: 8.0.242.0
   Win32 Version: 8.00.878.00
   CodeBase:
file:///c:/Program%20Files/Microsoft%20SQL%20Server/80/Tools/Report%20Designer/Microsoft.DataWarehouse.DLL
----------------------------------------
Microsoft.VSDesigner
   Assembly Version: 7.0.5000.0
   Win32 Version: 7.10.3077
   CodeBase:
file:///C:/Program%20Files/Microsoft%20Visual%20Studio%20.NET%202003/Common7/IDE/Microsoft.VSDesigner.DLL
----------------------------------------
Microsoft.VisualStudio.Designer.Interfaces
   Assembly Version: 1.0.5000.0
   Win32 Version: 1.1.4322.573
   CodeBase:
file:///c:/winxp/assembly/gac/microsoft.visualstudio.designer.interfaces/1.0.5000.0__b03f5f7f11d50a3a/microsoft.visualstudio.designer.interfaces.dll
----------------------------------------
RegexAssembly50_0
   Assembly Version: 0.0.0.0
   Win32 Version: n/a
   CodeBase:
----------------------------------------
Microsoft.VisualStudio.TextManager.Interop
   Assembly Version: 7.0.3500.0
   Win32 Version: 8.0.30310 (lab21.030309-2105)
   CodeBase:
file:///c:/Program%20Files/Microsoft%20SQL%20Server/80/Tools/Report%20Designer/Microsoft.VisualStudio.TextManager.Interop.DLL
----------------------------------------
Microsoft.ReportingServices.ReportPreview
   Assembly Version: 8.0.242.0
   Win32 Version: 8.00.878.00
   CodeBase:
file:///c:/Program%20Files/Microsoft%20SQL%20Server/80/Tools/Report%20Designer/Microsoft.ReportingServices.ReportPreview.DLL
----------------------------------------
Microsoft.ReportingServices.Processing
   Assembly Version: 8.0.242.0
   Win32 Version: 8.00.878.00
   CodeBase:
file:///c:/Program%20Files/Microsoft%20SQL%20Server/80/Tools/Report%20Designer/Microsoft.ReportingServices.Processing.DLL
----------------------------------------
Microsoft.ReportingServices.Interfaces
   Assembly Version: 8.0.242.0
   Win32 Version: 8.00.878.00
   CodeBase:
file:///c:/Program%20Files/Microsoft%20SQL%20Server/80/Tools/Report%20Designer/Microsoft.ReportingServices.Interfaces.DLL
----------------------------------------
Microsoft.ReportingServices.Diagnostics
   Assembly Version: 8.0.242.0
   Win32 Version: 8.00.878.00
   CodeBase:
file:///c:/Program%20Files/Microsoft%20SQL%20Server/80/Tools/Report%20Designer/Microsoft.ReportingServices.Diagnostics.DLL
----------------------------------------
faqoemob
   Assembly Version: 0.0.0.0
   Win32 Version: 1.1.4322.2032
   CodeBase:
file:///c:/winxp/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
sri2ro2c
   Assembly Version: 0.0.0.0
   Win32 Version: 1.1.4322.2032
   CodeBase:
file:///c:/winxp/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
cccxowvu
   Assembly Version: 0.0.0.0
   Win32 Version: 1.1.4322.2032
   CodeBase:
file:///c:/winxp/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
wcahx-iw
   Assembly Version: 0.0.0.0
   Win32 Version: 1.1.4322.2032
   CodeBase:
file:///c:/winxp/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
p-ijaoks
   Assembly Version: 0.0.0.0
   Win32 Version: 1.1.4322.2032
   CodeBase:
file:///c:/winxp/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Design
   Assembly Version: 1.0.5000.0
   Win32 Version: 1.1.4322.2032
   CodeBase:
file:///c:/winxp/assembly/gac/system.design/1.0.5000.0__b03f5f7f11d50a3a/system.design.dll
----------------------------------------
Accessibility
   Assembly Version: 1.0.5000.0
   Win32 Version: 1.1.4322.573
   CodeBase:
file:///c:/winxp/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
----------------------------------------
ReportingServicesLibrary
   Assembly Version: 8.0.242.0
   Win32 Version: 8.00.878.00
   CodeBase:
file:///c:/Program%20Files/Microsoft%20SQL%20Server/80/Tools/Report%20Designer/ReportingServicesLibrary.DLL
----------------------------------------
RegexAssembly50_1
   Assembly Version: 0.0.0.0
   Win32 Version: n/a
   CodeBase:
----------------------------------------
System.Data
   Assembly Version: 1.0.5000.0
   Win32 Version: 1.1.4322.2032
   CodeBase:
file:///c:/winxp/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------
System.Web.Services
   Assembly Version: 1.0.5000.0
   Win32 Version: 1.1.4322.2032
   CodeBase:
file:///c:/winxp/assembly/gac/system.web.services/1.0.5000.0__b03f5f7f11d50a3a/system.web.services.dll
----------------------------------------
juwonv5c
   Assembly Version: 0.0.0.0
   Win32 Version: 1.1.4322.2032
   CodeBase:
file:///c:/winxp/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
ReportingServicesNativeClient
   Assembly Version: 0.0.0.0
   Win32 Version: 2000.080.0878.000
   CodeBase:
file:///c:/Program%20Files/Microsoft%20SQL%20Server/80/Tools/Report%20Designer/ReportingServicesNativeClient.DLL
----------------------------------------
Microsoft.SqlServer.WizardFramework
   Assembly Version: 8.0.242.0
   Win32 Version: 8.00.878.00
   CodeBase:
file:///c:/Program%20Files/Microsoft%20SQL%20Server/80/Tools/Report%20Designer/Microsoft.SqlServer.WizardFramework.dll
----------------------------------------
Microsoft.ReportingServices.Designer.Wizards
   Assembly Version: 8.0.242.0
   Win32 Version: 8.00.878.00
   CodeBase:
file:///c:/Program%20Files/Microsoft%20SQL%20Server/80/Tools/Report%20Designer/Microsoft.ReportingServices.Designer.Wizards.DLL
----------------------------------------
Microsoft.SqlServer.CustomControls
   Assembly Version: 8.0.242.0
   Win32 Version: 8.00.878.00
   CodeBase:
file:///c:/Program%20Files/Microsoft%20SQL%20Server/80/Tools/Report%20Designer/Microsoft.SqlServer.CustomControls.DLL
----------------------------------------
Microsoft.NetEnterpriseServers.ExceptionMessageBox
   Assembly Version: 8.0.242.0
   Win32 Version: 8.00.878.00
   CodeBase:
file:///c:/Program%20Files/Microsoft%20SQL%20Server/80/Tools/Report%20Designer/Microsoft.NetEnterpriseServers.ExceptionMessageBox.DLL
----------------------------------------
Microsoft.ReportingServices.DataExtensions
   Assembly Version: 8.0.242.0
   Win32 Version: 8.00.878.00
   CodeBase:
file:///c:/Program%20Files/Microsoft%20SQL%20Server/80/Tools/Report%20Designer/Microsoft.ReportingServices.DataExtensions.DLL
----------------------------------------
System.Data.OracleClient
   Assembly Version: 1.0.5000.0
   Win32 Version: 1.1.4322.2032
   CodeBase:
file:///c:/winxp/assembly/gac/system.data.oracleclient/1.0.5000.0__b77a5c561934e089/system.data.oracleclient.dll
----------------------------------------
System.EnterpriseServices
   Assembly Version: 1.0.5000.0
   Win32 Version: 1.1.4322.2032
   CodeBase:
file:///c:/winxp/assembly/gac/system.enterpriseservices/1.0.5000.0__b03f5f7f11d50a3a/system.enterpriseservices.dll
----------------------------------------
Interop.Vdt70
   Assembly Version: 8.0.242.0
   Win32 Version: 8.0.242.0
   CodeBase:
file:///c:/Program%20Files/Microsoft%20SQL%20Server/80/Tools/Report%20Designer/Interop.Vdt70.DLL
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
   <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.
"Gary Chang[MSFT]" - 19 Apr 2006 06:54 GMT
Hi Bart,

>From today, when I try to open a rdl report in visual studio 2003
>I get the error message above.
>...

Such a problem may be caused by your system's Arial.ttf font corrupted or
removed. If so, I suggest you try to copy a fresh Arial.ttf font file into
your machine's windows font directory.

To get a copy of Arial.ttf font file, you can run your Windows system's
setup program to recover the corrupted/missing file, or copy it from
another windows system.

Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.