Technical support This forum is closed.
Version 1.x > Technical support > Security Exception View modes: 
User avatar
Member
Member
qwert - 4/6/2006 11:18:20 AM
   
Security Exception
I setup a website in my host . When I run cmsdesk and create new item, I meet this mistake :

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.


What is it ?


User avatar
Member
Member
Martin_Kentico - 4/11/2006 12:24:14 PM
   
Re: Security Exception
Hello,

You should probably discuss this issue with your web hosting provider to find out what policy do they use or try to provide us with some more information about that (for example try to find out what part of the code throws this exception, or provide us with the stack trace message).

You can also try the resolution given in the related MS KB article at:
http://support.microsoft.com/?kbid=555466&SD=tech

Best Regards

User avatar
Member
Member
richard_g - 6/28/2006 9:03:17 AM
   
Re: Security Exception
Hi

We get the same error at our hosting provider. This is the stack trace:

[SecurityException: Security error.]
Kentico.CMS.Form.BasicForm.LoadData(DataRow dr) +0
Kentico.CMS.Form.BasicForm.CreateChildControls() +24
System.Web.UI.Control.EnsureChildControls() +100
System.Web.UI.Control.PreRenderRecursiveInternal() +38
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Page.ProcessRequestMain() +2112
System.Web.UI.Page.ProcessRequest() +217
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

Regards

Richard

User avatar
Member
Member
Martin_Kentico - 6/28/2006 9:38:01 AM
   
Re: Security Exception
Hello Richard,

Thank you for the additional information. Unfortunately still not enough to resolve the issue. Did you try the resolution from the KB article I posted before? Could you please send me your web.config file so I could have a closer look at it?

Best Regards

User avatar
Member
Member
richard_g - 6/28/2006 9:50:32 AM
   
Re: Security Exception
This is the site and if you select register as partner you will see the error.

http://www.technisoft.com.au/

The article is forwarded to hosting company (Bigpond).

Will email the web.config file

Regards

Richard