Request for the permission of type System.Net.SocketPermission

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.
 
D

Dmytro Lapshyn [MVP]

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

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