Welcome Guest Search | Active Topics | Sign In | Register

System.Security.SecurityException Options
Corobori
Posted: Thursday, September 13, 2007 11:45:26 AM
Rank: Member
Groups: Member

Joined: 7/12/2007
Posts: 24
I am having an issue when trying to run a page using the EO component on a shared server. I am aware of the Deployment issue shown here and copied the eo_web.ashx as suggested but it doesn't seem to work.

This URL is with the reference to EO component.

This URL is without the reference to EO component.

What am I missing ?
eo_support
Posted: Thursday, September 13, 2007 12:18:58 PM
Rank: Administration
Groups: Administration

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

This appears quite strange because the code that was failing is as follow:

Version v = typeof(EO.Web.Control).Assembly.GetName().Version;

It failed on Assembly.GetName. Thus it appears that we don't even have enough permission to get our own version number. Can you try the same code in your Page_Load and see if it gets through?

Thanks
Corobori
Posted: Thursday, September 13, 2007 1:12:48 PM
Rank: Member
Groups: Member

Joined: 7/12/2007
Posts: 24
I added this:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim v As Version = GetType(EO.Web.Control).Assembly.GetName.Version
Response.Write(v)

End Sub

Locally it gives me 3.1.11.2 but when loaded it fails again

eo_support
Posted: Thursday, September 13, 2007 1:35:05 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
That's the problem. You may need to talk with your hoster to solve this. We can't even see our own DLL's version number and and that is way too strict. They will need to either relax the restriction or put our DLL into GAC.


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.