Hello There,
Please help me, I have very serious problem in deploying IE WebControls in my remote server. In my local system my treeview is working fine. And I uploaded my treeview to my host server, I copied WebControls assembly in the application's bin folder. And I also copied "webctrl_client" to the folder where "aspnet_client" folder is created. But when I run my site I am getting a "Security Exception", please find error details below.
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Security error.
Source Error:
Line 16: runat="server">
Line 17: <tr>
Line 18: <td class="leftpanel" valign="top"><DIV style="OVERFLOW: auto; WIDTH: 100%; HEIGHT: 100%"><iewc:treeview id="tv_Menu" runat="server" Height="100%" Width="100%"></iewc:treeview></DIV>
Line 19: <asp:linkbutton id="lnkbtnSyncMenu" runat="server" CssClass="AddMenu" Visible="False">Synchronize Menu</asp:linkbutton>
Line 20: </td>
Source File: e:\kunden\homepages\25\d73918194\iranarya\commonpages\navigationtreeviw.aspx Line: 18
Stack Trace:
[SecurityException: Security error.]
ASP.navigationtreeviw_aspx.__BuildControltv_Menu() +0
ASP.navigationtreeviw_aspx.__BuildControl__control5() in e:\kunden\homepages\25\d73918194\iranarya\commonpages\navigationtreeviw.aspx:18
ASP.navigationtreeviw_aspx.__BuildControl__control4(HtmlTableCellCollection __ctrl) in e:\kunden\homepages\25\d73918194\iranarya\commonpages\navigationtreeviw.aspx:17
ASP.navigationtreeviw_aspx.__BuildControl__control3() in e:\kunden\homepages\25\d73918194\iranarya\commonpages\navigationtreeviw.aspx:17
ASP.navigationtreeviw_aspx.__BuildControl__control2(HtmlTableRowCollection __ctrl) in e:\kunden\homepages\25\d73918194\iranarya\commonpages\navigationtreeviw.aspx:15
ASP.navigationtreeviw_aspx.__BuildControlTable1() in e:\kunden\homepages\25\d73918194\iranarya\commonpages\navigationtreeviw.aspx:15
ASP.navigationtreeviw_aspx.__BuildControlForm1() in e:\kunden\homepages\25\d73918194\iranarya\commonpages\navigationtreeviw.aspx:14
ASP.navigationtreeviw_aspx.__BuildControlTree(Control __ctrl) in e:\kunden\homepages\25\d73918194\iranarya\commonpages\navigationtreeviw.aspx:1
ASP.navigationtreeviw_aspx.FrameworkInitialize()
System.Web.UI.Page.ProcessRequest() +85
System.Web.UI.Page.ProcessRequest(HttpContext context) +18
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +179
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87