Security exception

C

Corchano

Hello.

If I use a web service that I created through a custom
control on a windows form it works fine. However, if iput this control on a
webform usinf the <object...classid..> label, i get an security error when i
call the web service
saying:

"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 administration tool.

Request for the permission of type
System,Net.WebPermission..."

What can i do?
I don't know how to explicitly trust the assembly.

Thanks
 

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

Similar Threads

Web Service Security Problem 0
Web Service 1
Security Exception 0
Security Exception 0
Security Problem 1
Security Exception 1
Security issue on Windows7 1
Security Exception Error from Premade Template 1

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,736
Latest member
zacharyharris

Latest Threads

Top