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.




Cannot get gemini running on medium trust server!

web-app

Has anyone got gemini running on IIS6 with medium trust?  I keep getting the error below, it seems strange that when its checking if it has permission it gets blocked for asking!

Security Exception

        <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

        <b> Description: </b>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.

        <b> Exception Details: </b>System.Security.SecurityException:

Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.

        <b>Source Error:</b> <br><br>

        <table bgcolor="#ffffcc" width="100%">
           <tbody><tr>
              <td>
                  <code>

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.

              </td>
           </tr>
        </tbody></table>

        <br>

        <b>Stack Trace:</b> <br><br>

        <table bgcolor="#ffffcc" width="100%">
           <tbody><tr>
              <td>
                  <code></code><pre>[SecurityException: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.]<br>   System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark&amp; stackMark, Boolean isPermSet) +0<br>   System.Security.CodeAccessPermission.Demand() +59<br>   System.Configuration.BaseConfigurationRecord.CheckPermissionAllowed(String configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca) +65<br></pre>

              </td>
           </tr>
        </tbody></table>

        </font><br>
fruitbatinshades
· 1
fruitbatinshades
Replies (4)
helpful
0
not helpful

Unfortuately, you will have to make it full trust.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

damn! That means I can no longer use it :( Shame, its definitely the best product of its type. 

You really should try and convert it to run with medium trust, I converted my cms system to medium trust and it wasn't too hard.


fruitbatinshades
· 1
fruitbatinshades
helpful
0
not helpful

Thanks, we are wokring on this. However, the problem is with a component we are using (NHibernate) so it is not as simple.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Thats a real downer but well done on a fantastic product.  I've found it worked really well and was reliable, I loved my time with it.  Hope the project continues to flourish

:0D


fruitbatinshades
· 1
fruitbatinshades