Welcome Guest Search | Active Topics | Sign In | Register

AspNetHostingPermission Error Options
ddurango
Posted: Friday, May 2, 2008 2:14:27 PM
Rank: Member
Groups: Member

Joined: 11/16/2007
Posts: 18
I installed the EO components on a development machine, I run the company intranet on a web server. But After I added a EO control to one of the pages I got this error when rebuilding the site;

"H:\Projects\Websites\intranet\interviews.aspx(16): Build (web): Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."

If I take the controls out the website the error goes away. I have copied the liscence file and the EO.Web.dll into the bin folder but the error persists.

Thanks in advace for any help i can get.
eo_support
Posted: Friday, May 2, 2008 2:22:46 PM
Rank: Administration
Groups: Administration

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

Check whether your project is on a shared drive. Files on a shared drive receive less permissions than files on local drive, which causes the DLL fail to load. A number of solutions are available to this problem: You can either to move the project to a local drive, or change your .NET security policy to grant full trust to shared drive, or to place our DLL into GAC. Basically you need to tell .NET to trust EO.Web.dll.

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.