Hello,
While testing, we came across an unhandled exception when trying to export to "Flex (Flash") format.
Create a graph with any data
Open Options Dialog
Export Tab
Select "as Flex (Flash)"
Get the following exception:
System.UnauthorizedAccessException: Access to the registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Steema Software\TeeChart.NET' is denied.
at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
at Microsoft.Win32.RegistryKey.CreateSubKeyInternal(String subkey, RegistryKeyPermissionCheck permissionCheck, Object registrySecurityObj, RegistryOptions registryOptions)
at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey)
at Microsoft.Win32.Registry.SetValue(String keyName, String valueName, Object value, RegistryValueKind valueKind)
at Steema.TeeChart.Export.FlexOptions.tbTemp_TextChanged(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnTextChanged(EventArgs e)
at System.Windows.Forms.TextBoxBase.OnTextChanged(EventArgs e)
at System.Windows.Forms.Control.set_Text(String value)
at System.Windows.Forms.TextBoxBase.set_Text(String value)
at System.Windows.Forms.TextBox.set_Text(String value)
at Steema.TeeChart.Export.FlexOptions.ReadOptions()
at Steema.TeeChart.Editors.Export.FlexEditor.Options(Chart c)
at Steema.TeeChart.Editors.Export.ExportEditor.listBox1_SelectedIndexChanged(Object sender, EventArgs e)
We are NOT running as administrator and this is on the end-user machine so we cannot "install" TeeChart. it appears some additional defensive logic is needed here.
As with previous bug fixes, providing the diff of the fix should be enough to apply the necessary changes.
Kind Regards,
Kris Culin
Senior Software Developer, Water Infrastructure
Bentley Systems, Inc.
Export to Flash Causes UE
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Export to Flash Causes UE
Hello Kris,
Yes, I agree, although your app running on the client machine could ask for UAC administrator permissions.
I've attached the diff.
Best Regards,
Christopher Ireland / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |