Home All Groups Group Topic Archive Search About
Author
25 Jan 2006 1:28 PM
djoledjole
I have got one really simple website in which I use Treeview web control .
I can not host that webSite on my Internet provider because of Security
error. Server Error in '/' Application.
--------------------------------------------------------------------------------
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: An
unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception
can be identified using the exception stack trace below. Stack Trace:
[SecurityException: Security error.]
Infragistics.WebUI.Shared.UltraLicenseAttribute..cctor() +0
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2300;
ASP.NET Version:1.1.4322.2300

They (Internet provider) set theit machine.config file with next couple
lines . <location allowOverride="false"> <system.web> <securityPolicy>
<trustLevel name="Full" policyFile="internal" /> <trustLevel name="High"
policyFile="web_hightrust.config" /> <trustLevel name="Medium"
policyFile="web_mediumtrust.config" /> <trustLevel name="Low"
policyFile="web_lowtrust.config" /> <trustLevel name="Minimal"
policyFile="web_minimaltrust.config" /> </securityPolicy> <!--
level="[Full|High|Medium|Low|Minimal]" --> <trust level="Medium"
originUrl=".*" /> </system.web> </location> and that give me a problem.If
I set <trust level="Full" originUrl=".*" /> then all works, butt as I you
know Internet provider doesn't allow that I wonder how to solve it Djordje

Author
26 Jan 2006 8:38 PM
Keith Patrick
What's your treeview's datasource?
Author
29 Jan 2006 12:50 PM
djoledjole
I don't have datasource because I generate TreeView via VisualStudio where
I add collection nodes
Author
15 Jun 2006 1:46 AM
Joel Leong
1. You may need to remove strong name from Infragistics assemblies
2. You need to create a proxy assembly and mark the proxy assembly APTC.

Please refer to the blog posted by Infragistics
http://blogs.infragistics.com/blogs/tony_lombardo/archive/2006/04/17/149
.aspx

*** Sent via Developersdex http://www.developersdex.com ***