Security exception when accessing Gemini web services
Hello,
I am trying to call Gemini services (http://api.countersoft.com/Default.aspx) from asp.net page using provided client .NET library.
I was able to get issue priorities list successfully just couple of times, but then suddenly has started to get security next exception.
---
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
--
(please see screenshot with stack trace there - http://uploadpad.com/files/ScreenHunter01Aug.0916.08.jpg).
I noticed that there is special security settings for sample Windows application. Web applications run in Full Trust, but maybe it requires some special settings?
Does anybody know how to fix this?
slava.boyko
· 1 |
|
Monday, August 9, 2010, 3:10:24 PM |