Trouble deploying app with third party components

S

Stephen

Hi
I am having trouble with a third party component that I am attempting
to use on our web application (Xceed Graph Component). When I develop
locally it all works fine, but as soon as I try to deploy it to our
web hosts server it has a security problem. I contacted our web host
and they sent me their machine.config and web_minimaltrust.config
files so I could debug using their settings. But whilst I can now
replicate the problem on our development machine, I still have no idea
what is causing it.
The problem is that as soon as i place the component on the form I get
the following error refering to line 14:


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 12: </HEAD>
Line 13: <body MS_POSITIONING="GridLayout">
Line 14: <form id="Form1" method="post" runat="server">
Line 15: <xceedchart1:ChartServerControl id="ChartServerControl1"
style="Z-INDEX: 101; LEFT: 304px; POSITION: absolute; TOP: 232px"
Line 16: runat="server"></xceedchart1:ChartServerControl>


Source File: C:\Inetpub\wwwroot\TestGraph\WebForm1.aspx Line: 14

Stack Trace:


[SecurityException: Security error.]
ASP.WebForm1_aspx.__BuildControlChartServerControl1() +0
ASP.WebForm1_aspx.__BuildControlForm1() in
C:\Inetpub\wwwroot\TestGraph\WebForm1.aspx:14
ASP.WebForm1_aspx.__BuildControlTree(Control __ctrl) in
C:\Inetpub\wwwroot\TestGraph\WebForm1.aspx:1
ASP.WebForm1_aspx.FrameworkInitialize() in pnw9tddc.0.cs:0
System.Web.UI.Page.ProcessRequest()
System.Web.UI.Page.ProcessRequest(HttpContext context)
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously) +87



I am very new to this and I would really appreciate any help.
Thanks very much
Stephen
 

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

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top