Ask a Question related to ASP.NET Security, Design and Development.
-
Mark #1
Error - not allowed by the security policy
Hi - no problems running locally on localhost, however when deployed to
host (one&one) I get the following messgage at these lines (two
different files):
<form id="Form2" method="post" runat="server">
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.
[SecurityException: Security error.]
ASP.hotel_admin_aspx.__BuildControlcalOverview() +0
ASP.hotel_admin_aspx.__BuildControlForm2() in
e:\kunden\homepages\25\d85356584\securehosting4u\b ookingcentral.co.uk\ho
tel_admin.aspx:16
ASP.hotel_admin_aspx.__BuildControlTree(Control __ctrl) in
e:\kunden\homepages\25\d85356584\securehosting4u\b ookingcentral.co.uk\ho
tel_admin.aspx:1
ASP.hotel_admin_aspx.FrameworkInitialize()
System.Web.UI.Page.ProcessRequest() +85
System.Web.UI.Page.ProcessRequest(HttpContext context) +18
System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication+IExecutio
nStep.Execute() +179
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously) +87
...
..
..
and
..
..
...
<asp:panel id="pnCheck" Runat="server">
Same error message, with this stack trace:
[SecurityException: Security error.]
ASP.check_aspx.__BuildControltbCheckIn() +0
ASP.check_aspx.__BuildControlpnCheck() in
e:\kunden\homepages\25\d85356584\securehosting4u\b ookingcentral.co.uk\ch
eck.aspx:16
ASP.check_aspx.__BuildControlForm1() in
e:\kunden\homepages\25\d85356584\securehosting4u\b ookingcentral.co.uk\ch
eck.aspx:15
ASP.check_aspx.__BuildControlTree(Control __ctrl) in
e:\kunden\homepages\25\d85356584\securehosting4u\b ookingcentral.co.uk\ch
eck.aspx:1
ASP.check_aspx.FrameworkInitialize()
System.Web.UI.Page.ProcessRequest() +85
System.Web.UI.Page.ProcessRequest(HttpContext context) +18
System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication+IExecutio
nStep.Execute() +179
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously) +87
I'd really appreciate any thoughts on this, thanks, Mark
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Mark Guest
-
Security Policy
What is the best way for me to achieve the following 1. Disable CD-ROM, Floppy & USB on client computers 2. Stop users from copying files from... -
PDF security - printing allowed but changes not allowed?
Adobe Acrobat 6 Professional - on a PC. how can i restrict changes to a pdf while allowing printing? i don't want to have to give passwords or... -
security policy for many users
I am developing for an Intranet with about 100 users (we do computer training). We're running about 12 different ASP.NET applications. 4 of these... -
Error Security Policy - More information
I found where the security error is coming from. After going through my DCOM settings (I didn't know the dll was a DCOM) I found that the DLL was... -
Error Security Policy.
just a guess...but try: web_lowtrust.config web_notrust.config web_hightrust.config that may be what the error is referring to, as far as...



Reply With Quote

