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.




2.2 trust

web-app

What is the current status on trust requirements for shared hosting?
Will 2.2 run under medium trust?


PaulS
· 1
PaulS
Replies (6)
helpful
0
not helpful

Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Three caveats to make Gemini run under medium trust level:

  • Uncomment the following line from web.config:"<!--add key="hibernate.use_reflection_optimizer" value="False" /-->".
  • Ensure you are using Gemini Scheduler Service as email alerts engine -- "MailPlugin" not supported under medium trust level.
  • Any custom plugins under "bin/plugins" will not be loaded under medium trust level.



This won't work at all of course since this is shared hosting. You can't install a service on shared hosting. Any other ideas?







PaulS
· 1
PaulS
helpful
0
not helpful

You do not have to install the scheduler service on the shared hosting. You can install on it on any server / machine who can "see" the web server via HTTP.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Thank you. I didn't realize how it worked.


PaulS
· 1
PaulS
helpful
0
not helpful

Other than the mail alerts not working it seems ok on medium trust. Wouldn't it be pretty simple to use the SmtpServer class for email since that may have more support? My host will allow SmtpServer.



PaulS
· 1
PaulS
helpful
0
not helpful

Hi Paul,

The issue is that we load email templates from disk and we use NVELOCITY as our template engine.  Under certain restricted configurations, we have seen issues whereby the email templates cannot be accessed on disk.


Harvey Kandola
· 212
Harvey Kandola