Request for the permission of type System.Net.SocketPermission

Request for the permission of type System.Net.SocketPermission

Post by Brendon C » Thu, 02 Feb 2006 15:53:00


Hi,

i have client/server socket application, but when i run the client in a
separate computer i get this error below.

Request for the permission of type System.Net.SocketPermission


I search the net but it leads me to caspol or mscorcfg.msc.Is there
other way to NOT configure using these tools when deployed?

Your thoughts.
 
 
 

Request for the permission of type System.Net.SocketPermission

Post by Dmytro Lap » Thu, 09 Feb 2006 20:15:10

Hi Brendon,

I am afraid there's no other way. However, if you deploy your application to
each machine locally (as opposed to a network share), the application code
should be granted the "FullTrust" permission set by default (unless the
administrator is really paranoid and has set a restrictive enterprise-wide
security policy).