Exception System.Security.SecurityException was thrown in debuggee:
That assembly does not allow partially trusted callers.
Any suggestions on what I should configure?
Error on trying to scripts (even the example ones)
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Ranorex assemblies need full trust when executed. It seems as if your compiled assembly is executed from a place that does not have full trust.
Ranorex Studio projects are usually placed in the "My Documents" folder in your "Documents and Settings" profile. Could it be that your "My Documents" folder is on a network share or that this folder has been set to minor trust?
You can adjust the .NET trust settings via the Windows Control Panel. Open the Control Panel -> Administrative Tools -> Microsoft .NET Framework 2.0 Configuration. It the opened window select: My Computer -> Runtime Security Policy -> Adjust Zone Security. There you can adjust the security zones for your computer/user profile.
Regards,
Alex
Ranorex Support Team
Ranorex Studio projects are usually placed in the "My Documents" folder in your "Documents and Settings" profile. Could it be that your "My Documents" folder is on a network share or that this folder has been set to minor trust?
You can adjust the .NET trust settings via the Windows Control Panel. Open the Control Panel -> Administrative Tools -> Microsoft .NET Framework 2.0 Configuration. It the opened window select: My Computer -> Runtime Security Policy -> Adjust Zone Security. There you can adjust the security zones for your computer/user profile.
Regards,
Alex
Ranorex Support Team
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
We downloaded the Janus components trial and inspected them for automation compatibility. Unfortunately, none of the Janus controls support MS Accessibility (i.e. Ranorex elements), so they are not designed for automation.
You can, however, use control methods and the Control.Get/SetAttributeValue or Control.InvokeMethod to get information on these .NET controls. The Ranorex Recorder will use positions relative to the control bounds to click on elements inside a control.
Regards,
Alex
Ranorex Support Team
You can, however, use control methods and the Control.Get/SetAttributeValue or Control.InvokeMethod to get information on these .NET controls. The Ranorex Recorder will use positions relative to the control bounds to click on elements inside a control.
Regards,
Alex
Ranorex Support Team