Welcome Guest Search | Active Topics | Sign In | Register

System Security Permissions Failure Options
Jim M
Posted: Tuesday, June 29, 2010 12:11:23 PM
Rank: Newbie
Groups: Member

Joined: 5/2/2010
Posts: 5
I am using only the Message Box Control of EO. The Message Box Control is on two .aspx web pages.

When browsing the website, the .aspx pages with no EO Message Box control work just fine. When one goes to a web page that uses the EO Message Box control, and clicks on the element that launches the EO Message Box control code, the eo_web.ashx file is accessed with the code: <%@ WebHandler Class="EO.Web.Runtime" %>

One then receives the following system permission error error in this stack trace (this is taken from the error log file component of the web site's:


6/29/2010 9:38:35 AM | CriticalError | **** | ModuleName: Global-Application_Error |http://localhost:1298/TeamMorrissey/eo_web.ashx?id=3562954d-b146-45fd-80f9-b2b7e2acf624 | Error No: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessPermission.Demand()
at System.Web.HttpWorkerRequest.SendResponseFromMemory(IntPtr data, Int32 length)
at System.Web.HttpWorkerRequest.SendResponseFromMemory(IntPtr data, Int32 length, Boolean isBufferFromUnmanagedPool)
at System.Web.HttpResponseUnmanagedBufferElement.System.Web.IHttpResponseElement.Send(HttpWorkerRequest wr)
at System.Web.HttpWriter.Send(HttpWorkerRequest wr)
at System.Web.HttpResponse.Flush(Boolean finalFlush)
at System.Web.HttpResponse.Flush()
at System.Web.HttpResponse.End()
at EO.Web.Internal.bj.a(HttpResponse A_0, Byte[] A_1, String A_2)
at EO.Web.Internal.ar.a.a(aq A_0, HttpResponse A_1, Object A_2)
at EO.Web.Internal.hl.b(aq A_0, HttpResponse A_1, Object A_2)
at EO.Web.Internal.dz.a(hl A_0, Boolean A_1, AsyncCallback A_2, aq A_3, HttpResponse A_4, Object A_5)
at EO.Web.Internal.dz.a(aq A_0, Boolean A_1, AsyncCallback A_2)
at EO.Web.Internal.dz.a(HttpApplication A_0, AsyncCallback A_1)
at EO.Web.Internal.d5.a(HttpContext A_0, AsyncCallback A_1)
at EO.Web.Runtime.a(HttpContext A_0, AsyncCallback A_1, Object A_2)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
The action that failed was:
Demand
The type of the first permission that failed was:
System.Security.Permissions.SecurityPermission
The Zone of the assembly that failed was:
MyComputer| Error Msg: http://localhost:1298/TeamMorrissey/eo_web.ashx?id=3562954d-b146-45fd-80f9-b2b7e2acf624|

Source: /TeamMorrissey/eo_web.ashx?id=3562954d-b146-45fd-80f9-b2b7e2acf624
Browser: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; GTB6.4; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; OfficeLiveConnector.1.3; OfficeLivePatch.0.0)
Error In Modual: http://localhost:1298/TeamMorrissey/eo_web.ashx?id=3562954d-b146-45fd-80f9-b2b7e2acf624
Error Number: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessPermission.Demand()
at System.Web.HttpWorkerRequest.SendResponseFromMemory(IntPtr data, Int32 length)
at System.Web.HttpWorkerRequest.SendResponseFromMemory(IntPtr data, Int32 length, Boolean isBufferFromUnmanagedPool)
at System.Web.HttpResponseUnmanagedBufferElement.System.Web.IHttpResponseElement.Send(HttpWorkerRequest wr)
at System.Web.HttpWriter.Send(HttpWorkerRequest wr)
at System.Web.HttpResponse.Flush(Boolean finalFlush)
at System.Web.HttpResponse.Flush()
at System.Web.HttpResponse.End()
at EO.Web.Internal.bj.a(HttpResponse A_0, Byte[] A_1, String A_2)
at EO.Web.Internal.ar.a.a(aq A_0, HttpResponse A_1, Object A_2)
at EO.Web.Internal.hl.b(aq A_0, HttpResponse A_1, Object A_2)
at EO.Web.Internal.dz.a(hl A_0, Boolean A_1, AsyncCallback A_2, aq A_3, HttpResponse A_4, Object A_5)
at EO.Web.Internal.dz.a(aq A_0, Boolean A_1, AsyncCallback A_2)
at EO.Web.Internal.dz.a(HttpApplication A_0, AsyncCallback A_1)
at EO.Web.Internal.d5.a(HttpContext A_0, AsyncCallback A_1)
at EO.Web.Runtime.a(HttpContext A_0, AsyncCallback A_1, Object A_2)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
The action that failed was:
Demand
The type of the first permission that failed was:
System.Security.Permissions.SecurityPermission
The Zone of the assembly that failed was:
MyComputer
Error Message: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Stack Trace: at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessPermission.Demand()
at System.Web.HttpWorkerRequest.SendResponseFromMemory(IntPtr data, Int32 length)
at System.Web.HttpWorkerRequest.SendResponseFromMemory(IntPtr data, Int32 length, Boolean isBufferFromUnmanagedPool)
at System.Web.HttpResponseUnmanagedBufferElement.System.Web.IHttpResponseElement.Send(HttpWorkerRequest wr)
at System.Web.HttpWriter.Send(HttpWorkerRequest wr)
at System.Web.HttpResponse.Flush(Boolean finalFlush)
at System.Web.HttpResponse.Flush()
at System.Web.HttpResponse.End()
at EO.Web.Internal.bj.a(HttpResponse A_0, Byte[] A_1, String A_2)
at EO.Web.Internal.ar.a.a(aq A_0, HttpResponse A_1, Object A_2)
at EO.Web.Internal.hl.b(aq A_0, HttpResponse A_1, Object A_2)
at EO.Web.Internal.dz.a(hl A_0, Boolean A_1, AsyncCallback A_2, aq A_3, HttpResponse A_4, Object A_5)
at EO.Web.Internal.dz.a(aq A_0, Boolean A_1, AsyncCallback A_2)
at EO.Web.Internal.dz.a(HttpApplication A_0, AsyncCallback A_1)
at EO.Web.Internal.d5.a(HttpContext A_0, AsyncCallback A_1)
at EO.Web.Runtime.a(HttpContext A_0, AsyncCallback A_1, Object A_2)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
6/29/2010 9:38:35 AM | CriticalError | **** |


I have checked the security permissions of the Bin folder and the eo_web.licx. Both are set to Full Access for everyone and anyone. I checked the EO License Manager application to ensure our Developer License is still in place. It is.... Order # 2969 [REMOVED BY ADMIN]

We have placed the EO.Web.Runtime.AddLicense code in the Global.asax file under the Sub, "Application Start". This is that code:

[REMOVED BY ADMIN]

I am at a complete loss as to why this is occurring. We haven't touched this website code nor the EO components since 6/10/2010, and at that time, we were not experiencing this error at all. This just started to occur now when going back and reviewing the website's code.

Please Help!


From Admin:
DO NOT POST YOUR LICENSE INFORMATION IN THE FORUM OR ANYWHERE ELSE PUBLICALLY.
eo_support
Posted: Tuesday, June 29, 2010 1:33:29 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Please check your trust levels settings in your web.config.

Thanks!
Jim M
Posted: Tuesday, June 29, 2010 1:51:40 PM
Rank: Newbie
Groups: Member

Joined: 5/2/2010
Posts: 5
Sorry... forgot to mention. Trust Level is set to High. the EO products don't seem to work at all unless the Trust Level is High.

<trust level="High" />
eo_support
Posted: Tuesday, June 29, 2010 2:34:38 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Our product should work fine on High except for AJAXUploader. AJAXUploader control requires full trust to run.

If the problem continues, please try to isolate the problem into a test project and send it to us. We will be happy to take a look once we have that.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.