View Single Post
  #1 (permalink)  
Old October 29th, 2012, 06:49 PM
ASP4student ASP4student is offline
Authorized User
Points: 135, Level: 2
Points: 135, Level: 2 Points: 135, Level: 2 Points: 135, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2012
Posts: 27
Thanks: 4
Thanked 2 Times in 2 Posts
Default Access to a socket in a way forbidden by its access permissions

I cannots end an email (ch. 09), getting the following error message:

An attempt was made to access a socket in a way forbidden by its access permissions 206.46.232.100:25
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions 206.46.232.100:25

Source Error:
Code:
Line 18: 
Line 19:       SmtpClient mySmtpClient = new SmtpClient();
Line 20:       mySmtpClient.Send(myMessage);
Line 21:     }
Line 22: }
Source File: c:\BegASPNETCS\SiteCS\Demos\Email.aspx.cs Line: 20

My email account is with Verizon.net.
I tried all the options suggested in ch.09 for the web.config file.
What may cause that? Could it be because of Norton 360 settings?
Reply With Quote