473,382 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

assign socket permission to NTD winform

hello
i write a smtp client winform (using socket 25 connect to smtp server),and
deploy it to iis by NTD (no-touch deployment),i can launch the form from the
client machine,when i want connect to the smtp server,the security exception
is thrown,i know that i have not assigned the socket permission in the
client side to the downloaded assembly,but i don't know how to do that,who
can give me a step-by-step instruction.

any help will be appreciated.
Nov 16 '05 #1
1 1928
zbcong,

You will have to go to the .NET Administration Tool (look under
Administration tools). Then, you will have to create a code group that
identifies your app (either through strong name, a hash, URL, etc, etc) and
assign it the appropriate permissions.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"zbcong" <co********@capinfo.com.cn> wrote in message
news:eq**************@TK2MSFTNGP11.phx.gbl...
hello
i write a smtp client winform (using socket 25 connect to smtp server),and
deploy it to iis by NTD (no-touch deployment),i can launch the form from
the
client machine,when i want connect to the smtp server,the security
exception
is thrown,i know that i have not assigned the socket permission in the
client side to the downloaded assembly,but i don't know how to do that,who
can give me a step-by-step instruction.

any help will be appreciated.

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jane Austine | last post by:
Running Python 2.3 on Win XP It seems like socket is working interdependently with subprocesses of the process which created socket. ------------------------------------ #the server side >>>...
2
by: zbcong | last post by:
hello i write a smtp client winform (using socket 25 connect to smtp server),and deploy it to iis by NTD (no-touch deployment),i can launch the form from the client machine,when i want connect to...
4
by: zbcong | last post by:
Hello: I write a multithread c# socket server,it is a winform application,there is a richtextbox control and button,when the button is click,the server begin to listen the socket port,waiting for a...
2
by: zhebincong | last post by:
Hello: I write a multithread c# socket server,it is a winform application,there is a richtextbox control and button,when the button is click,the server begin to listen the socket port,waiting...
0
by: zbcong | last post by:
hello i write a smtp client winform (using socket 25 connect to smtp server),and deploy it to iis by NTD (no-touch deployment),i can launch the form from the client machine,when i want connect to...
0
by: zbcong | last post by:
hello i write a smtp client winform (using socket 25 connect to smtp server),and deploy it to iis by NTD (no-touch deployment),i can launch the form from the client machine,when i want connect to...
4
by: John E Katich | last post by:
How do I assign a unique Id (like WM_USER+nnn) to a control?
5
by: Mike | last post by:
I have an asp.net web page (vb.net) that talks to another pc via a port. I can connect to the pc fine. When i connect to the pc via the port, its suppose to return me a file and then save that file...
7
by: | last post by:
Hi all, I have a simple .aspx page running on net 2.0 that is trying to do a http post to a remote server. Here is the code Private Function ProcessRequests(ByVal strbody As String) As String...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.