Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4.5.1 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5.1: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-84677-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5.1 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 4th, 2017, 12:24 PM
Authorized User
 
Join Date: Nov 2016
Posts: 17
Thanks: 2
Thanked 0 Times in 0 Posts
Default Email Server Error, Ch 16

Ref: CH 16, Sending Confirmation E-Mail with CreateUserWizard

Can I ask if it is common to receive an error:

Server Error in '/' Application
An attempt was made to access a socket in a way forbidden by its access permissions 98.139.211.125:25

and if this error is a restriction placed by my normal email server (Yahoo) or if I entered some code setting incorrectly?

Thanks
 
Old February 5th, 2017, 05:43 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

You may have to specify a port for Yahoo as well: https://help.yahoo.com/kb/SLN4724.html

Your error seems to suggest you're connecting on the default port 25, so try specifying a port number as shown on page 323.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
RAFish0404 (February 7th, 2017)
 
Old February 7th, 2017, 08:10 AM
Authorized User
 
Join Date: Nov 2016
Posts: 17
Thanks: 2
Thanked 0 Times in 0 Posts
Default Port 587 worked

Getting the port correct solved the problem.

Thanks





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 16: Try it out, page 607: Server Error in '/' Application Ronin_PS BOOK: Beginning ASP.NET 4.5 : in C# and VB 2 May 3rd, 2015 10:46 AM
Ch 16...frustrating! jmuehlenbein BOOK: Beginning SharePoint 2010: Building Business Solutions with SharePoint 0 February 8th, 2012 02:48 PM
Ch 9 Form Submission Server Error btcomp BOOK: Beginning ASP.NET 4 : in C# and VB 2 August 27th, 2010 10:11 AM
Search ch 13, ch 16 sporik BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 0 October 27th, 2009 04:44 PM
Ch 16 -- compile error w/ components adidaswood BOOK: Beginning ASP.NET 1.0 0 September 22nd, 2004 08:57 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.