.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Error while sending email using ASP.NET 2.0 Beta 2 (Visual Studio 2005 Beta 2)

Posted By:      Posted Date: September 16, 2010    Points: 0   Category :.NET Framework
While trying to send email using<code> SmtpClient obj_SmtpClient = new SmtpClient(); obj_SmtpClient.Host = ""t; obj_SmtpClient.Send(s_from, s_recipients, s_subject, s_body);</code>I get the error message:Failure sending mail. Unable to connect to the remote server An established connection was aborted by the software in your host machine at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) SystemSMTP is installed on my Windows XP Sp2 laptop. I have also tried disabling the Windows firewall but still the same error. The SMTP server is a Microsoft Exchange Server that is part of the same domain as myself. I was logged on to the domain while running the email code.There is an excellant article on ORCS web by BradKingley (http://www.orcsweb.com/articles/sending_smtp_authenticated_email.aspx) on sending authenticated email using username/password, however what I need is how to authenticate in a purely Microsoft environment. Any suggestions as to how to fix this problem, gratefully accepted.

View Complete Post

More Related Resource Links

ASP.NET 4 and Visual Studio 2010 Web Development Beta 2 Overview

Many exciting changes for ASP.NET are coming in the .NET Framework version 4. This document gives an overview of many of the new features that are included in the Beta 2 release of the .NET Framework 4 and of Visual Studio 2010.

Visual Studio 2010 Beta 2

This is a big deal. This isn't ".NET 3.6" - there are a lot of improvements of .NET 4, and it's not just "pile on a bunch of features so you get overwhelmed." I've been working with and talking to many of the teams involved and even though it's a cheesy thing to say, this is a really customer-focused release.

ASP 4 - Whirlwind Tour around .NET 4 (and Visual Studio 2010) Beta 1

There's a lot of stuff that's new and added in .NET 4, but not in that "overwhelming-I-need-to-relearn-everything" way. More in that, "oh, this is way easier/simpler now" way. Like, moving data around with ADO.NET DataServices is easy, binding with client templates is easy, there's F# if you need it, the "dynamic" keyword if you need it, Silverlight's already installed, oh, and the parallel stuff will freak you out, but in a good way.

MS Visual STudio 2010 Beta and SSIS Designer - BI Development Studio

Hello, I am trying to use SSIS Designer with BI Development Studio.  I downloaded MS Visual Studio 2010 Beta and do not find an option to get into either the SSIS Designer or BI Development Studio. Can someone please help?   Thanks, Chela 

Improving the Start-up Performance of the WPF and Silverlight Designer in Visual Studio 2010 Beta 2


IMPORTANT NOTE: the Beta and Release Candidate builds of Visual Studio 2010 are now obsolete, since Visual Studio 2010 has now released to manufacturing.

See http://www.microsoft.com/visualstudio/en-us/download


NOTE: The Release Candidate and RTM builds of Visual Studio 2010 does not need this configuration change

This post is to let you know about a configuration change (registry switch) which you can use to improve the startup performance of the WPF and Silverlight Designer in Visual Studio 2010 Beta 2.

1. Since this was a late-breaking change, you may experience some instability or increased Virtual Memory usage in some Visual Studio scenarios when using it. If you see such instabilities, please try removing the configuration change, and let us know about the problem you saw (you can do this by replying to this posting or by raising a bug on Connect).

2. You should only make this configuration change if you are a regular user of the WPF and Silverlight Designer, and are experiencing poor performance with it.

3. This configu

ASP.NET MVC 3 Beta + Visual Studio 2010 intellisense


I just downloaded the latest beta for ASP.NET MVC 3 that was "unofficially" released yesterday and I noticed that there is still no intellisense support in Visual Studio, or is there?


Oracle.DataAccess causes 64 bit / 32 bit error in ASP.NET / Visual Studio 2005


This one is driving me nuts.


I have developed some ASP.NET pages using Web Developer Express on a 64 bit (Intel Xeon Quad core) machine. This has gone very well, part of my code access an Oracle database using the Oracle.DataAccess.Client namespace (Oracle 64 bit ODP.NET version All works beautifully.


Just bought the full version of Visual Studio 2005, and now when I try to build my web site, I get an error saying "Attempted to load a 64-bit assembly on a 32-bit platform...". The site won't build.


This makes no sense to me. ASP.NET is configured to run under the 64 bit .NET 2.0 framework. A call to IntPtr.Size on a page confirms that ASP.NET is running in 64 bit mode. So why should VS 2005 tell me I am trying to load a 64 bit assembly on a 32 bit platform???


I have SP1 for VS2005, by the way...


Incredibly frustrating...



SSIS Projects in Visual Studio 2010 Beta 2

Is there any way to open/upgrade or create an SSIS project (2008) in vs 2010 b2?  I want to migrate my datawarehousing solution and these projects are excluded and it says they are not valid with this application...

New features in Visual Studio 11 Beta version

The following points shows about the features of Visual Studio 11 Beta version

Error while setting up application on Win7 using Visual Studio.NET 2003


Hi All,

Getting the below error while setting up application on Win 7 using visual studio.NET 2003.


cannot find the components for communiacting with the front page server extensions...


I understand by the error, i need to install Front page server extension, but not able to figure how to install using IIS 7.5.

I had XP machine with IIS 5.1, able to find the option.


Need your help in resolving this.




Data Joins The Team: Introducing Visual Studio 2005 Team Edition for Database Professionals


Here Brian Randell presents everything you need to know to get started with Visual Studio 2005 Team Edition for Database Professionals.

Brian A. Randell

MSDN Magazine February 2007

Use The Source, Luke: Source Server Helps You Kill Bugs Dead In Visual Studio 2005


The latest releases of WinDBG and Visual Studio know exactly how to use source server, so its benefits are available to both .NET and native C++ developers. See why this is so important in tracking down bugs.

John Robbins

MSDN Magazine August 2006

C++ at Work: Managed Code in Visual Studio 2005


Many of you are no doubt in the process of upgrading to Visual Studio® 2005, so I thought now would be a good time to relate some of my own experiences with the new compiler. What took me so long? Hey, I'm a retro kind of guy! Better late than never!.

Paul DiLascia

MSDN Magazine June 2006

Visual Studio 2005: Create Reusable Project And Item Templates For Your Development Team


Visual Studio 2005 introduces a new model that lets you define your own project templates and starter kits, something developers have been requesting for some time. Here Matt Milner shows you how to consume, create, and customize these templates.

Matt Milner

MSDN Magazine January 2006

Team Up!: Get All Your Devs In A Row With Visual Studio 2005 Team System


In this article, Chris Menegay shows you how to use Team System throughout your software development lifecycle. He covers both the client tools available with Visual Studio Team Suite and the server features enabled by Team Foundation Server.

Chris Menegay

MSDN Magazine Visual Studio 2005 Guided Tour 2006

Editor's Note: Visual Studio 2005 Guided Tour


2005 was a truly exciting year for us here at MSDN Magazine. We launched a new magazine. We covered all sorts of amazing advances for the programmer, courtesy of Visual Studio 2005. We lost a couple of weeks, because of that dodgy falafel cart on 49th Street.

MSDN Magazine Visual Studio 2005 Guided Tour 2006

Safe!: Repel Attacks on Your Code with the Visual Studio 2005 Safe C and C++ Libraries


When Visual Studio 2005 ships, it will include a major upgrade to the Visual C++ Libraries that was the result of a complete security review of the functions contained in the C Runtime Library, Standard C++ Library, ATL, and MFC. From that extensive review came the Safe C and C++ Libraries, which can improve the security and robustness of your apps.

Martyn Lovell

MSDN Magazine May 2005

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend