﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Role Based Security  » Security Error with restricted user in Vista or XP</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 06 Apr 2026 22:45:56 GMT</lastBuildDate><ttl>20</ttl><item><title>Security Error with restricted user in Vista or XP</title><link>http://forum.strataframe.net/FindPost22719.aspx</link><description>I have a customer wich have their users with a very restricted rights and the Security Editor form is trying to access the HKEY_LOCAL_MACHINE in the SaveSizeAndLocation() and this key is not allow for the users.&lt;br&gt;
&lt;br&gt;
Here is the Stack, and I am using the latest beta:&lt;br&gt;
[codesnippet]UnauthorizedAccessException&lt;br&gt;
  Access to the registry key 'HKEY_LOCAL_MACHINE\Software\MicroFour\Security\Editor\UserEditor' is denied.&lt;br&gt;
&lt;br&gt;
Source     : mscorlib&lt;br&gt;
&lt;br&gt;
Stack Trace: &lt;br&gt;
   at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)&lt;br&gt;
   at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey, RegistryKeyPermissionCheck permissionCheck, RegistrySecurity registrySecurity)&lt;br&gt;
   at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey)&lt;br&gt;
   at Microsoft.Win32.Registry.SetValue(String keyName, String valueName, Object value, RegistryValueKind valueKind)&lt;br&gt;
   at MicroFour.StrataFrame.Win32.RegistryRepository.WriteValue(String KeyPath, String ValueName, Int32 Value)&lt;br&gt;
   at MicroFour.StrataFrame.Win32.RegistryRepository.WriteValue(String ValueName, Int32 Value)&lt;br&gt;
   at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.SaveSizeAndLocation()&lt;br&gt;
   at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.OnFormClosing(FormClosingEventArgs e)&lt;br&gt;
   at System.Windows.Forms.Form.CheckCloseDialog(Boolean closingOnly)&lt;br&gt;
[/codesnippet]&lt;br&gt;</description><pubDate>Wed, 15 Apr 2009 09:19:14 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Security Error with restricted user in Vista or XP</title><link>http://forum.strataframe.net/FindPost22734.aspx</link><description>Thanks, appreciate the effort.</description><pubDate>Wed, 15 Apr 2009 09:19:14 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Security Error with restricted user in Vista or XP</title><link>http://forum.strataframe.net/FindPost22731.aspx</link><description>The next posted update will have it...if not today, then probably tomorrow (worst case Friday :D).</description><pubDate>Wed, 15 Apr 2009 09:09:57 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Security Error with restricted user in Vista or XP</title><link>http://forum.strataframe.net/FindPost22726.aspx</link><description>Thanks Trent, I'll see what I can do since I don't have access to this customer network and you know how difficult it could be to convince them that any change will not affect their security.&lt;br&gt;
&lt;br&gt;
Is there any ETA on the next beta release that would include this change?</description><pubDate>Wed, 15 Apr 2009 08:55:26 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Security Error with restricted user in Vista or XP</title><link>http://forum.strataframe.net/FindPost22724.aspx</link><description>I have changed all of the keys to HKEY_CURRENT_USER, but to get around this in the interim, simply grant permissions to the HKEY_LOCAL_MACHINE\Software\Microfour folder in the registry.&amp;nbsp; This is what we generally do to resolve a lot of other issues.&amp;nbsp; In fact, it is a requirment in our medical software and part of our setup and hardware specifications.&amp;nbsp; At any rate, I have changed this but the above will give you work arounds for now.&lt;/P&gt;&lt;P&gt;We run all of our sites in a very restricted mode, and this works fine using the above workaround.</description><pubDate>Wed, 15 Apr 2009 08:47:31 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>