|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
TreeView Security errorI 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 I don't have datasource because I generate TreeView via VisualStudio where
I add collection nodes 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 ***
These controls are a real mess
Menu Control building via code .NET multi-column listbox for webpages? javascript within TEMPLATECOLUMNS Catching event in Menu control when bound with sitemap Other browsers listbox scrollbar behavior - newbie Dynamic Control Unable to find control id referenced by the 'ControlToValidate' Pr Wiring up events... |
|||||||||||||||||||||||