Deserialization of XML object seem to be jammed by the AppVerifier

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Deserialization of XML object seem to be jammed by the Application Verifier
v2.5 from the winlogo toolkit.

Here is the exception I have when running with the Application Verifier
activated on my exe and having the DFWChecksAll checked :

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

************** Exception Text **************
Xceed.Grid.GridException: The style sheet could not be loaded. --->
System.IO.FileNotFoundException: File or assembly name arqzh5vi.dll, or one
of its dependencies, was not found.
File name: "arqzh5vi.dll"
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String
codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean
throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,
Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.Load(AssemblyName assemblyRef, Evidence
assemblySecurity)
at System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly()
at System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly()
at System.Xml.Serialization.Compiler.Compile()
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String
defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type)
at Xceed.Grid.StyleSheet.Load(Stream stream)

=== Pre-bind state information ===
LOG: Where-ref bind. Location =
C:\DOCUME~1\CARIGN~1\LOCALS~1\Temp\arqzh5vi.dll
LOG: Appbase = D:\Visual Studio Projects\WindowsApplication119\bin\Debug\
LOG: Initial PrivatePath = NULL
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Attempting download of new URL
file:///C:/DOCUME~1/CARIGN~1/LOCALS~1/Temp/arqzh5vi.dll.

--- End of inner exception stack trace ---
at Xceed.Grid.StyleSheet.Load(Stream stream)
at Xceed.Grid.StyleSheet.LoadStockStyleSheet(String name)
at Xceed.Grid.StyleSheet.get_Sunshine()
at WindowsApplication119.Form1.Form1_Load(Object sender, EventArgs e) in
d:\visual studio projects\windowsapplication119\form1.cs:line 410
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
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.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.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:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
WindowsApplication119
Assembly Version: 1.0.1885.33025
Win32 Version: 1.0.1885.33025
CodeBase:
file:///D:/Visual%20Studio%20Projects/WindowsApplication119/bin/Debug/WindowsApplication119.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
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.2032
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.2032
CodeBase:
file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
Xceed.SmartUI
Assembly Version: 3.2.999.999
Win32 Version: 3.2.999.999
CodeBase:
file:///D:/Visual%20Studio%20Projects/WindowsApplication119/bin/Debug/Xceed.SmartUI.DLL
----------------------------------------
Xceed.Grid
Assembly Version: 2.5.5123.0
Win32 Version: 2.5.5123.0
CodeBase:
file:///c:/windows/assembly/gac/xceed.grid/2.5.5123.0__ba83ff368b7563c6/xceed.grid.dll
----------------------------------------
Xceed.SmartUI.Controls
Assembly Version: 3.2.999.999
Win32 Version: 3.2.999.999
CodeBase:
file:///D:/Visual%20Studio%20Projects/WindowsApplication119/bin/Debug/Xceed.SmartUI.Controls.DLL
----------------------------------------
Xceed.SmartUI.UIStyle
Assembly Version: 3.2.999.999
Win32 Version: 3.2.999.999
CodeBase:
file:///D:/Visual%20Studio%20Projects/WindowsApplication119/bin/Debug/Xceed.SmartUI.UIStyle.DLL
----------------------------------------
Xceed.UI
Assembly Version: 1.0.5123.0
Win32 Version: 1.0.5123.0
CodeBase:
file:///c:/windows/assembly/gac/xceed.ui/1.0.5123.0__ba83ff368b7563c6/xceed.ui.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
Accessibility
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
----------------------------------------
 
just one rectification, DFWChecksAll and HighVersionLie must be check, not
just only DFWChecksAll, if only one of these two are checked, it works. But
as soon this 2 are checked, we are getting the exception.

Francois Carignan said:
Deserialization of XML object seem to be jammed by the Application Verifier
v2.5 from the winlogo toolkit.

Here is the exception I have when running with the Application Verifier
activated on my exe and having the DFWChecksAll checked :

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

************** Exception Text **************
Xceed.Grid.GridException: The style sheet could not be loaded. --->
System.IO.FileNotFoundException: File or assembly name arqzh5vi.dll, or one
of its dependencies, was not found.
File name: "arqzh5vi.dll"
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String
codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean
throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,
Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.Load(AssemblyName assemblyRef, Evidence
assemblySecurity)
at System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly()
at System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly()
at System.Xml.Serialization.Compiler.Compile()
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String
defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type)
at Xceed.Grid.StyleSheet.Load(Stream stream)

=== Pre-bind state information ===
LOG: Where-ref bind. Location =
C:\DOCUME~1\CARIGN~1\LOCALS~1\Temp\arqzh5vi.dll
LOG: Appbase = D:\Visual Studio Projects\WindowsApplication119\bin\Debug\
LOG: Initial PrivatePath = NULL
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Attempting download of new URL
file:///C:/DOCUME~1/CARIGN~1/LOCALS~1/Temp/arqzh5vi.dll.

--- End of inner exception stack trace ---
at Xceed.Grid.StyleSheet.Load(Stream stream)
at Xceed.Grid.StyleSheet.LoadStockStyleSheet(String name)
at Xceed.Grid.StyleSheet.get_Sunshine()
at WindowsApplication119.Form1.Form1_Load(Object sender, EventArgs e) in
d:\visual studio projects\windowsapplication119\form1.cs:line 410
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
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.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.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:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
WindowsApplication119
Assembly Version: 1.0.1885.33025
Win32 Version: 1.0.1885.33025
CodeBase:
file:///D:/Visual%20Studio%20Projects/WindowsApplication119/bin/Debug/WindowsApplication119.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
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.2032
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.2032
CodeBase:
file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
Xceed.SmartUI
Assembly Version: 3.2.999.999
Win32 Version: 3.2.999.999
CodeBase:
file:///D:/Visual%20Studio%20Projects/WindowsApplication119/bin/Debug/Xceed.SmartUI.DLL
----------------------------------------
Xceed.Grid
Assembly Version: 2.5.5123.0
Win32 Version: 2.5.5123.0
CodeBase:
file:///c:/windows/assembly/gac/xceed.grid/2.5.5123.0__ba83ff368b7563c6/xceed.grid.dll
----------------------------------------
Xceed.SmartUI.Controls
Assembly Version: 3.2.999.999
Win32 Version: 3.2.999.999
CodeBase:
file:///D:/Visual%20Studio%20Projects/WindowsApplication119/bin/Debug/Xceed.SmartUI.Controls.DLL
----------------------------------------
Xceed.SmartUI.UIStyle
Assembly Version: 3.2.999.999
Win32 Version: 3.2.999.999
CodeBase:
file:///D:/Visual%20Studio%20Projects/WindowsApplication119/bin/Debug/Xceed.SmartUI.UIStyle.DLL
----------------------------------------
Xceed.UI
Assembly Version: 1.0.5123.0
Win32 Version: 1.0.5123.0
CodeBase:
file:///c:/windows/assembly/gac/xceed.ui/1.0.5123.0__ba83ff368b7563c6/xceed.ui.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
Accessibility
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
 
Back
Top