Thanks for the reply.  Unfortunately my code will be running on a shared server at my hosting provider so I can't modify the trust level or allowed permissions. 

I'll just have to come up with a different DAL solution.  I'll probably just throw together a very simple one (I only have 3 tables in a SQL Server db).


Thanks,

Shawn.

Gilles Bayon <[EMAIL PROTECTED]> wrote:
You might try to modify the web_mediumtrust.config to grant Assertion and Reflect permission based on the strong name.


On 3/31/06, Shawn Smiley <[EMAIL PROTECTED]> wrote:
Is it possible to use iBatis on a web server that has been configured to allow ASP.net websites to operate only under Medium trust?

I've tried this with a simple test application and get a Security error when trying to access the iBatis libraries.

I'm guessing that it probably isn't possible since Medium trust puts a lot of restrictions on reflection and I believe iBatis uses reflection for mapping fields to properties in the DAL classes.

Thanks,
 

Shawn.

New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.



New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.

Reply via email to