I'm using dotNet 2.0 and VS2005.
I've got a class library where I've created a webcontrol (Inherits from
GridView).
The dll for the class library resides on a different server (development
server)
Now I have a website ASP.Net 2.0. When I add a reference to the dll I don't
get my control in the toolbox, and try to right click on the toolbox, select
"Choose Items", select "Browse" find the dll on the other server and try to
add it I get the error: "Request for the permission of type
System.Web.AspNetHostingPermission failed"
I've tried to go to my Web.config an add:
<configuration>
<system.web>
<trust level="Full" originUrl=""
processRequestInApplicationTrust="false" />
in the web.config.
It doesn't do any difference.
How do I set the permissions so I can use my webcontrol?
Kind Regards,
Allan Ebdrup