Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / .NET SDK / April 2004

Tip: Looking for answers? Try searching our database.

exception after using HttpWebRequest

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
z. f. - 29 Mar 2004 14:59 GMT
my system runs Windows2000 server with sp4, dot-net framework version 1.1 (1.1.4322), Visual Studio 2003 (7.1.3088),
making a windows application in C# that uses HttpWebRequest and brings data, after about a minuete from the end of the response, while the window stays open, i get exception:

> system.dll!System.Net.Sockets.OverlappedAsyncResult.CompletionPortCallback(uint errorCode = 64, uint numBytes = 0, System.Threading.NativeOverlapped* nativeOverlapped = 1638880) + 0xa0 bytes

I don't think there something i've done using c# and built in classes that should cause this, is it a known error or something?
urgent!!!

TIA.
EMonaco - 30 Mar 2004 00:30 GMT
Z;

 I've done some work with WinSock and such and we've experienced a minor problem with socket reads timing out with an error 64. Which is ERROR_NETNAME_DELETED. Web searches bring up a variety of documentation on this error, the best one I found listed potential problems with the nic, protocol bindings, etc. Unfortunately, I can not tell you why it occurs, some preliminary scoping seems to indicate the initial SYNC is not being sent... ?! (perhaps a defect with trying to reuse a socket connection, just dunno).

 Obviously, I'd say first are you getting all the data you expect? Are you then explicitly closing all Request & Response streams? If you're getting all the data I'm not sure why it'd even still be DOING another read op because the exception seems to indicate it issued I/O as was waiting for that to complete when the error 64 occurred. My guess is you want to close Request & Response streams, etc. as soon as your done with them so .NET framework can close/cleanup the underlying socket resources, etc.

Regards,
Erin.

Signature

Visit us on the web at: http://www.databasementsoftware.com

 my system runs Windows2000 server with sp4, dot-net framework version 1.1 (1.1.4322), Visual Studio 2003 (7.1.3088),
 making a windows application in C# that uses HttpWebRequest and brings data, after about a minuete from the end of the response, while the window stays open, i get exception:

 > system.dll!System.Net.Sockets.OverlappedAsyncResult.CompletionPortCallback(uint errorCode = 64, uint numBytes = 0, System.Threading.NativeOverlapped* nativeOverlapped = 1638880) + 0xa0 bytes

 I don't think there something i've done using c# and built in classes that should cause this, is it a known error or something?
 urgent!!!

 TIA.
Feroze [MSFT] - 05 Apr 2004 00:57 GMT
Can you tell us what the exact exception you are seeing ? Please give the exception message as well as the stack trace

Signature

Remove "user" from the email address to reply to the author.

This posting is provided "AS IS" with no warranties, and confers no rights

Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm

 my system runs Windows2000 server with sp4, dot-net framework version 1.1 (1.1.4322), Visual Studio 2003 (7.1.3088),
 making a windows application in C# that uses HttpWebRequest and brings data, after about a minuete from the end of the response, while the window stays open, i get exception:

 > system.dll!System.Net.Sockets.OverlappedAsyncResult.CompletionPortCallback(uint errorCode = 64, uint numBytes = 0, System.Threading.NativeOverlapped* nativeOverlapped = 1638880) + 0xa0 bytes

 I don't think there something i've done using c# and built in classes that should cause this, is it a known error or something?
 urgent!!!

 TIA.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.