arifahmadpk
Posts: 1
|
| Posted: 01/23/2009, 8:34 PM |
|
Dear members,
I am using a third party software Wincc Flexible (Siemens) which give the Visual Basic editor for writing the code but When open it give the following error. After that Re-installation of Window XP with SP2 the message become remove but after 6 days message again.
Please help me.
Error Message:
This is an automatically generated error report for the WinCC flexible Engineering System.
Microsoft Windows XP Professional Service Pack 3 5.1.2600.196608
Product version: WinCC flexible 2007 Advanced; K 1.02 Hotfix 4; K 1.2.0 HF 4 (1.05.03)
System.Security.SecurityException
Requested registry access is not allowed.
Exception Source
mscorlib
Exception Target Site
Void ThrowSecurityException(System.ExceptionResource)
Exception Stack Trace
at System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)
at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
at Microsoft.Win32.RegistryKey.OpenSubKey(String name)
at Siemens.Simatic.Hmi.Utah.Scripting.EditControl.ScriptEditOMReflection.FillTlbsHashtableFormRegistryKeyCLSID()
at Siemens.Simatic.Hmi.Utah.Scripting.EditControl.ScriptEditOMReflection.FillTypeLibsHashTable()
at Siemens.Simatic.Hmi.Utah.Scripting.EditControl.ScriptEditOMReflection.GetTypeLibGuidFromProgId(String progID)
at Siemens.Simatic.Hmi.Utah.Scripting.EditControl.ScriptEditOMReflection.Init_ProgId(String progId)
at Siemens.Simatic.Hmi.Utah.Scripting.EditControl.ScriptEditOMReflection.Init(Object progIdOrInterface, Boolean setHelpDescription)
at Siemens.Simatic.Hmi.Utah.Scripting.EditControl.LoadTlbAndConvertToAssemblyThread.LoadTlbAndConverToAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
End Exception
|
 |
 |
jjrjr1
Posts: 942
|
| Posted: 01/24/2009, 8:54 AM |
|
Hi.
I think this is being caused by the user used to install the app is not the Admin user and does not have permissions to make those registry changes.
I also have seen cases where even the adminitrator does not have proper perms to change certain registry entries.
Tha bad news is I cannot remember how in XP you access the fuctions to change that.
Maybe someone here does or try a google search for something like xp admin privledges or changing registry permissions.
I hope this is it and at least points you in the right direction.
Have fun
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |
|