I restarted the test system and now when I run the app I get the following
error )I included the first part of the machine.config file at the end of
this post:
================== Error =========================
Unrecognized configuration section system.windows.forms - line 4
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Configuration.ConfigurationException: Unrecognized configuration
section system.windows.forms
(c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config line 4)
at
System.Configuration.ConfigurationRecord.ScanSectionsRecursive(XmlTextReader
reader, String configKey)
at System.Configuration.ConfigurationRecord.Load(String filename)
at
System.Configuration.DefaultConfigurationSystem.System.Configuration.IConfig
urationSystem.Init()
at
System.Configuration.ConfigurationSettings.SetConfigurationSystem(IConfigura
tionSystem configSystem)
at System.Configuration.ConfigurationSettings.GetConfig(String
sectionName)
at System.Diagnostics.DiagnosticsConfiguration.GetConfigTable()
at System.Diagnostics.DiagnosticsConfiguration.Initialize()
at System.Diagnostics.DiagnosticsConfiguration.get_SwitchSettings()
at System.Diagnostics.Switch.Initialize()
at System.Diagnostics.Switch.get_SwitchSetting()
at System.Diagnostics.TraceSwitch.get_TraceVerbose()
at System.Windows.Forms.DataGridRelationshipRow.Paint(Graphics g,
Rectangle bounds, Rectangle trueRowBounds, Int32 firstVisibleColumn, Int32
numVisibleColumns, Boolean alignToRight)
at System.Windows.Forms.DataGrid.PaintRows(Graphics g, Rectangle&
boundingRect)
at System.Windows.Forms.DataGrid.PaintGrid(Graphics g, Rectangle
gridBounds)
at System.Windows.Forms.DataGrid.OnPaint(PaintEventArgs pe)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e,
Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.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.573
CodeBase:
file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
2005CGLabelProg
Assembly Version: 1.0.1744.28693
Win32 Version: 1.0.1744.28693
CodeBase:
file:///C:/Program%20Files/WSW%20Consulting/2005%20CG%20Labels/2005CGLabelProg.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/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.573
CodeBase:
file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.3052.4
CodeBase:
file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
----------------------------------------
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
FarPoint.Win.Spread
Assembly Version: 1.0.3.0
Win32 Version: 1.0.3.0
CodeBase:
file:///C:/Program%20Files/WSW%20Consulting/2005%20CG%20Labels/FarPoint.Win.Spread.DLL
----------------------------------------
FarPoint.Win
Assembly Version: 1.0.4.0
Win32 Version: 1.0.4.0
CodeBase:
file:///C:/Program%20Files/WSW%20Consulting/2005%20CG%20Labels/FarPoint.Win.DLL
----------------------------------------
FarPoint.CalcEngine
Assembly Version: 1.0.4.0
Win32 Version: 1.0.4.0
CodeBase:
file:///C:/Program%20Files/WSW%20Consulting/2005%20CG%20Labels/FarPoint.CalcEngine.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.
============== machine.config file (partial) =========================
<?xml version="1.0" encoding="UTF-8" ?>
<configuration>
<system.windows.forms jitDebugging="true" />
<configSections>
<!-- tell .NET Framework to ignore CLR sections -->
<section name="runtime"
type="System.Configuration.IgnoreSectionHandler, System, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089" allowLocation="false" />
<section name="mscorlib"
type="System.Configuration.IgnoreSectionHandler, System, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089" allowLocation="false" />
<section name="startup"
..................
=================================================
Wayne