Medium trust Issue

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
3/13/2009 7:33:01 AM
Gravatar
Total Posts 10

Medium trust Issue

Probing system...
File system permissions ok.
MySQL database connection ok.
database permissions are sufficient to alter schema.
database initial schema needs to be created.
This site appears to be running in a secured environment using Medium Trust policy or at least lower than Full Trust.
In order to use MySQL under Medium Trust, The MySQL Connector for .NET must be installed in the Global Assembly Cache on the server. If you see a SecurityException in the error message then the Connector is not installed. You can download the MySql Connector for .NET from here: http://dev.mysql.com/downloads/connector/net/5.0.html

In order for the Search Engine to work in Medium trust, you need to add this in Web.config in the AppSettings section:

<add key="Lucene.Net.lockdir" value="d:\hosting\agrufus\indiavolunteercare\Data\Sites\1\index" />

 

Note: This page shows some information that is helpful during setup and upgrades but for security it would be best not to show any information when the system is up to date. You can disable setup and suppress all information on this page by setting DisableSetup=true in Web.config. When you need to upgrade, you can set this back to false. If you are logged in as Administrator setup will run and you will be able to see this page even if it is disabled in Web.config so you can easily leave it disabled and just login before upgrading. But if you are not logged in you will need to enable setup in Web.config.

3/13/2009 7:40:43 AM
Gravatar
Total Posts 18439

Re: Medium trust Issue

If its not running any scripts possibly you did not upload all the files. I would upload the /Setup folder again and make sure there are no tranfer errors.

If it is a medium trust problem I think we would have an error and it would not report "MySql database connection ok" 

Hope it helps,

Joe

3/14/2009 1:41:17 AM
Gravatar
Total Posts 10

Medium trust Issue

thax its works for me

You must sign in to post in the forums. This thread is closed to new posts.