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.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
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
|