Re: need connector to run with medium trust level
Posted by: Gabriela Martinez Sanchez
Date: January 26, 2015 02:58PM

Hi Fernando,
In order to run in medium trust level, first you need to define this level of security into your web.config file. Once you're doing this you will need to check if there is any security exceptions thrown.

Connector/Net has its own security asserts where it needs in the internal methods. But this will not be enough for your application to work since you will have to add your own security asserts for your specific scenarios.

Once you put the medium level security you will see the exceptions if there is any so you know where you do need to add them.

You can take a look on the details for that here:

http://dev.mysql.com/doc/connector-net/en/connector-net-medium-trust.html

Please try it and let us know if this worked for you.

Options: ReplyQuote


Subject
Written By
Posted
Re: need connector to run with medium trust level
January 26, 2015 02:58PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.