CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 System.Security.SecurityException error

Print topic Send  topic

Author Message
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
View profile  Send private message
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
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.