Dmitry,
I got my virtual environments setup and now have a Vista machine whose security settings are not controlled by group policy. I have connected to the online demo and it functions correctly. However, when I do my local test I am getting the following error. The control displays (see attached screenshot - don't have permissions to attach), but any action within the control causes an error to occur, and there is a red X between the document and the control's menu options. The error appears to be generated from Aspose (obfuscated) code requesting a security permission. Running as an administrator the same error occurs, so I think I am past that being an issue. Any thoughts? Thanks.
Error:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.TypeInitializationException: The type initializer for 'xc2c477ae06969bcc.x99d36eaeb8e190b8' threw an exception. ---> System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessPermission.Demand()
at System.Drawing.Graphics.FromHwnd(IntPtr hwnd)
at xc2c477ae06969bcc.x99d36eaeb8e190b8..cctor()
The action that failed was:
Demand
The type of the first permission that failed was:
System.Security.Permissions.SecurityPermission
--- End of inner exception stack trace ---
at xc2c477ae06969bcc.xcd0f71eac0b8ec87.x7516829ed6513963(Graphics x4b101060f4767186, Int32 x01023a7c5d96848c, Int32 x9528f9664a3881e3, Int32 xf67d0ad06e5256e3, Int32 x58fbd68b6e9d8f70, Int32 x7304b15c2c6eea76, Int32 x5b2cec0df3c4dbd1, Single x9570f4c9d2722802, Single x96a6a0179b30d7b8)
at x695c6a2fce4e6e02.xbe47ed34daf505bb.x58956ea72b60eca5(PaintEventArgs xfbf34718e704c6bc)
at x695c6a2fce4e6e02.xbe47ed34daf505bb.OnPaint(PaintEventArgs e)
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 x695c6a2fce4e6e02.xbe47ed34daf505bb.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.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Aspose.Editor.Client
Assembly Version: 2.3.0.1979
Win32 Version: n/a
CodeBase: http://asposewwwserver/AsposeEditorTest/Aspose/Aspose.Editor.Client.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
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.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (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 computer
rather than be handled by this dialog box.