CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.personal_site_starter_kit Tags:
Item Type: NewsGroup Date Entered: 10/3/2005 5:27:52 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 9 Views: 94 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
10 Items, 1 Pages 1 |< << Go >> >|
ptjoe
Asp.Net User
Unable to read data from the transport connection: net_io_connectionclosed10/3/2005 5:27:52 PM

0/0

 I added arecovery password to the default page, when i try to recover the password i get this error message

Server Error in '/WebSite1' Application.

Unable to read data from the transport connection: net_io_connectionclosed.

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.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[IOException: Unable to read data from the transport connection: net_io_connectionclosed.]
   System.Net.Mail.SmtpReplyStreamFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine) +223
   System.Net.Mail.SmtpReplyStreamFactory.ReadLines(SmtpReplyStream caller, Boolean oneLine) +303
   System.Net.Mail.SmtpReplyStreamFactory.ReadLine(SmtpReplyStream caller) +53
   System.Net.Mail.SmtpReplyStream.ReadLine() +47
   System.Net.Mail.SmtpConnection.GetConnection(String host, Int32 port) +1027
   System.Net.Mail.SmtpTransport.GetConnection(String host, Int32 port) +287
   System.Net.Mail.SmtpClient.GetConnection() +56
   System.Net.Mail.SmtpClient.Send(MailMessage message) +1664

[SmtpException: Failure sending mail.]
   System.Net.Mail.SmtpClient.Send(MailMessage message) +2171
   System.Web.UI.Util.SendMail(MailMessage message) +54
   System.Web.UI.WebControls.PasswordRecovery.SendMail(String to, String userName, String password) +415
   System.Web.UI.WebControls.PasswordRecovery.AttemptSendPasswordQuestionView() +603
   System.Web.UI.WebControls.PasswordRecovery.AttemptSendPassword() +93
   System.Web.UI.WebControls.PasswordRecovery.OnBubbleEvent(Object source, EventArgs e) +135
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +56
   System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +107
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +163
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +31
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +32
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +72
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3871


Version Information: Microsoft .NET Framework Version:2.0.50215.44; ASP.NET Version:2.0.50215.44
any clues ?

Joao
mike123
Asp.Net User
Re: Unable to read data from the transport connection: net_io_connectionclosed11/11/2005 8:42:23 AM

0/0

I'm having this problem too .. did you find a solution?

Thanks!
mike123

Juan T. Llibre
Asp.Net User
Re: Unable to read data from the transport connection: net_io_connectionclosed2/15/2006 12:40:30 PM

-1/1

What this error means is that System.net.mail was unable to find the smtp server.

The answer will vary depending on whether you have a fixed IP or a dynamic IP but,
basically, you need to assign a valid IP to your smtp server.

With fixed IP's this is relatively straightforward.
With dynamic IP's it takes a bit of tweaking.

Open the IIS Manager and check the properties for the smtp server.

In the Default SMTP Virtual Server's properties, in the "Access" tab,
in the Connection Control and Relay dialogs, make sure that your local IP is assigned.
( In my case, it's 10.0.0.2... )

You may also need to modify your hosts file, to point 127.0.0.1 to your machine name.
( \WINDOWS\system32\drivers\etc\hosts )

Then, in your code, assign your machine name to the smtp client :

Dim client As New SmtpClient("yourmachinename")
client.Send(mail)

 


Juan T. Llibre
asp.net faq
foros de asp.net, en espa?ol
rvidal
Asp.Net User
Re: Unable to read data from the transport connection: net_io_connectionclosed6/22/2007 1:53:12 PM

0/0

I haven't found a solution yet.

when i find it,i'll let you know.

Ray 

 

rvidal
Asp.Net User
Re: Unable to read data from the transport connection: net_io_connectionclosed6/22/2007 3:04:48 PM

0/0

Hi,it's me again,i did what you told me and i overcame the former message,

In my code i assigned my machine name as  administrator/Computos8,you know the username and machine name.

 and now i get the following message.

The remote name could not be resolved: 'administrator/Computos8.

 

Thank you.

Ray

 

rvidal
Asp.Net User
Re: Unable to read data from the transport connection: net_io_connectionclosed6/22/2007 5:14:03 PM

0/0

Unable to read data from the transport connection: net_io_connectionclosed


What this error means is that System.net.mail was unable to find the smtp server.

The answer will vary depending on whether you have a fixed IP or a dynamic IP but,
basically, you need to assign a valid IP to your smtp server.

With fixed IP's this is relatively straightforward.
With dynamic IP's it takes a bit of tweaking.

Open the IIS Manager and check the properties for the smtp server.

In the Default SMTP Virtual Server's properties, in the "Access" tab,
in the Connection Control and Relay dialogs, make sure that your local IP is assigned.
( In my case, it's 10.0.0.2... )

You may also need to modify your hosts file, to point 127.0.0.1 to your machine name.
( \WINDOWS\system32\drivers\etc\hosts )

Then, in your code, assign your machine name to the smtp client :

Dim client As New SmtpClient("yourmachinename")
client.Send(mail)

 

gdl
Asp.Net User
Re: Unable to read data from the transport connection: net_io_connectionclosed8/18/2007 5:51:09 AM

0/0

The error usually happens when the smtp server does not recognize the email address in the "from" field. Make sure you set the "from" with an email address that actualy exists in your smtp server.

See code below for an example, note how the email server used in the email of the "from" field is the same as the one specified as the smtp server:

Dim from As String = "[email protected]"

Dim recipientEmail As String = "[email protected]"

Dim m As New MailMessage(from, recipientEmail)

m.Subject = subject

m.Body = message & sb.ToString

Dim client As New SmtpClient("youremailserver.com")

client.Send(m)


Ricardo Sanchez

www.gdltec.net


technology changes rapidily, don't bother learning it all.
srkrishnakumari
Asp.Net User
Re: Unable to read data from the transport connection: net_io_connectionclosed8/29/2007 11:58:11 AM

0/0

hi i am also facing the same problem

 i am using the password recovery control in my aspx page

My Web.config

<?xml version="1.0"?>

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

<connectionStrings>

<add name="defaultConnectionString" connectionString="Data Source=vitws-10;Initial Catalog=jobstarter;User ID=sa;Connect Timeout=200" />

<add name="defaultConnectionString1" connectionString="Data Source=vitws-10;DataBase=jobstarter; User ID=sa;Password=;" />

</connectionStrings>

<system.web>

<pages theme="Default">

</pages>

<compilation debug="true">

<assemblies>

<add assembly="System.Data, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

<add assembly="System.Xml, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

<add assembly="System.Security, Version=2.0.1.2, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

</assemblies>

</compilation>

 

<
authentication mode="Forms">

<forms name=".ASPXAUTH" loginUrl="~/default.aspx"></forms>

</authentication>

<membership defaultProvider="MyProvider">

<providers>

 

<
add connectionStringName="defaultConnectionString" applicationName="/JobSiteStarterKit"

description="" requiresUniqueEmail="true" enablePasswordRetrieval="false" minRequiredPasswordLength="4"

minRequiredNonalphanumericCharacters="0"

enablePasswordReset="true" requiresQuestionAndAnswer="true" passwordFormat="Hashed"

name="MyProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>

</providers>

</membership>

 

</
system.web>

<system.net>

<mailSettings>

<smtp from="[email protected]">

<network defaultCredentials="true" host="localhost" password="" userName=""/>

</smtp>

</mailSettings>

</system.net>

<appSettings>

<add key="DBConn" value="Data Source=vitws-10;Database=jobstarter; User ID=sa;password=;"/>

<add key="ProductAmount" value="4.99"/>

<add key="numberToShow" value="20" />

</appSettings>

</configuration>

 

 

VITWS-10 is my server.. please help me..

thduttonuk
Asp.Net User
Re: Unable to read data from the transport connection: net_io_connectionclosed11/20/2007 1:14:55 PM

0/0

This is an SMTP Virtual server issue, load up IIS and

  • Right click Default SMTP Virtual server.
  • Change IP address to All Unassigned

This should work..


Tom Dutton
wickedhangover
Asp.Net User
Re: Unable to read data from the transport connection: net_io_connectionclosed2/18/2008 12:50:01 AM

0/0

I am also getting this problem but randomnly and I cannot figure out what is going on. The IP address of the mail server is fixed. The machine running the web application does not have SMTP installed. The email addresses are valid and the email server is setup to allow the relay to take place. Any other possibilities I am not looking at?

10 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
Unable to read data from the transport connection ... Unable to read data from the transport connection: net_io_connectionclosed. What this error means is that System.net.mail was unable to find the smtp server ...
Unable to read data from the transport connection: - MSDN Forums IOException = {"Unable to read data from the transport connection: net_io_connectionclosed."}" while from same machine i am able to send email with same ...
System.Net.Mail Error: Unable to read data from the transport ... Mail Error: Unable to read data from the transport connection: net_io_connectionclosed. I've looked everywhere for an answer to this, ...
- Unable to read data from the transport connection ... Unable to read data from the transport connection: net_io_connectionclosed. Last post 03-22-2007, 3:31 PM by bzrdhd. 3 replies. ...
System.Net.Mail Error: Unable to read data from the transport ... Mail Error: Unable to read data from the transport connection: net_io_connectionclosed. Get answers to your questions in our .NET ASP forum.
CodeGuru Forums - "Unable to read data from the transport ... "Unable to read data from the transport connection: net_io_connectionclosed." my code as... string to = "[email protected]"; ...
System.Net.Mail Error: Unable to read data from the transport ... Mail Error: Unable to read data from the transport connection: net_io_connectionclosed. microsoft.public.dotnet.framework.aspnet ...
transport connection: net_io_connectionclosed in microsoft.public ... Unable to read data from the transport connection: net_io_connectionclosed It occurs when I try to send an activation email message. As far as I can ...
System.Net.Mail Error: Unable to read data from the transport ... Mail Error: Unable to read data from the transport connection: net_io_connectionclosed. From: nate . strules. Prev by Date: Re: How do I get a specific node ...
Error Sending Email "Unable to read data from the transport ... Error Sending Email "Unable to read data from the transport connection: net_io_connectionclosed." - Microsoft Dot NET Framework Forms.




Search This Site:










slow file saves!

how to configure aspemail in my website instead of smtp/iis

personal starter kit

links from - to webpart without postback

running asp .net 1.x and asp .net 2.0 application together on same webserver.

error when vwd 2005 starts

3.0.6 - unable to delete a tab

webdeploy and vista

problem with usercontrols event handlers please help! (advanced)

[1.2] control instantiation

trouble shooting windows authentication

! unable to write to output file 'c:\documents and settings\administrator\vswebcache\elead\dotnetnuke\obj\debug\dotnetnuke.dll': the process cannot access the file because it is being used by another process. help me !

asp.net + protected folers and passing username& pw

how easy is role based forms authentication

could not add aspnet user to sql server

specifying a webcontrol's toolbox icon

troubleshooting the login control?

restrict subfolder inside folder

how do you invoke the dnn installer?

configuration error

failed forms authentication with ldap

sspi security configuration

forum module

passing variable from content page to web user control embedded in a master page

authentication mode for server-client web application

app_code and control visibility

after authentication, how to protect other pages?

validators in a multi pane ascx

issues with vista

all data objects disappear ? where?

 
All Times Are GMT