For Programmers: Free Programming Magazines  


Home > Archive > Microsoft Webservices > February 2006 > Security exception









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Security exception
Goldwind

2006-02-19, 7:57 am

Hi,

I created a very simple web server with a method that gets string and return
a string.
I, also, created a very simple vb.net app which uses that web service.

I get a security exception and cant figure out why?

System.security.SecurityException: Request for the permission of type
system.net.WebPermission, system, version=1.0.5000.0, culture=natural,
PublicKeyToken=b77a5c561934e089 failed.
at system.security.CodeAccessSecurityEngine.CheckHelper(PermissionSet
grantedSet, PermissionSet deniedSet, CodeAccessPermission demand,
PermissionTokem permToken) ....

How can i overcome it?

Thanks
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com