Request for the permission of type System.Net.SocketPermission

  • Thread starter Thread starter Brendon Co
  • Start date Start date
B

Brendon Co

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.
 
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).
 
Back
Top