System.Security.Permissions.SecurityPermission

  • Thread starter Thread starter Adrian
  • Start date Start date
A

Adrian

Hi

I'm trying to write an ActiveX replacement in VB.Net the following link was
my starting point.

http://www.vbdotnetheaven.com/Code/Jun2003/2067.asp



All was going well until I tried accessing a com object local on the PC (the
ActiveX is served from a web server)



The Error I get is:

The application attempted to perform an operation not allowed by the
security policy the operation required the securityException. To grant this
application the required permission please contact your system
administrator, or use the Microsoft .NET security policy administrator
tool..



System.Security.Permissions.SecurityPermission



So what does this mean and what do I do to over come it!?
 
Thanks I will have a look at it.

In the meantime I have got around the problem by accessing the external
programs Com object from JavaScript and then passing the result to my AX
replacement!

Thanks for help.
 
Back
Top