System.Security.Permissions.SecurityPermission

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!?
 
A

Adrian

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top