Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Security Exception

web-app

Just upgraded from 2.0.5 to 2.1 and receive Security Exception error.
Just wondering if anyone else saw it or knows how to fix it.
Thanks in advance...


 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.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[SecurityException: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.]
   System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0
   System.Security.CodeAccessPermission.Demand() +59
   System.Configuration.BaseConfigurationRecord.CheckPermissionAllowed(String configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca) +65




MarkD

MarkD
· 1
MarkD
Replies (4)
helpful
0
not helpful

This is the reply I received from my hosting provider (ServerIntellect):

"The error is due to a higher trust level being required in order to run the application. It is an industry standard practice for a host to run in medium trust. I apologize for the inconvenience but it is necessary for the security and stability of the server to avoid making exceptions to this policy. All code needs to comply to medium trust settings."

Is Gemini requiring higher than Medium trust? If so, is there anything I can do about it? I've tried to override the trust in the web.config, but the hosting provider has the allowoverride=false in the root web.config and I can't do anything about that.

 


MarkD
· 1
MarkD
helpful
0
not helpful

Do you know which version of IIS they are running?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Also, when exactly do you get this error?


Saar Cohen
· 5000
Saar Cohen