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));
}
"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));
}