Moving to a medium trust environment = me going insane

A

ASF

We've recently moved to a Medium Trust host and began getting numerous
"That assembly does not allow partially trusted callers" errors. I've
fixed most, but this one is driving me batty. Any help would be
GREATLY appreciated.

This function is generating the error. It is in a CS file in the
app_code directory.


public static SysLinkPanelButton[] GetAll(Connection connection,
string name)
{
string strSQL = "Select * from sys_Link_Panel_Button where
link_panel_name=@panel_name order by button_order asc";

return (SysLinkPanelButton[])connection.FetchObjects(typeof
(SysLinkPanelButton), strSQL, new Param("@panel_name", name));
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top