Kh?c ph?c: Intermittent "ti?m ?n k?t n?i b? ng c?a" l?i tin nh?n khi b?n g?i m?t d?ch v? Web t? ASP.NET

D?ch tiu ? D?ch tiu ?
ID c?a bi: 819450 - Xem s?n ph?m m bi ny p d?ng vo.
Bung t?t c? | Thu g?n t?t c?

TRI?U CH?NG

Khi b?n g?i m?t Microsoft ASP.NET Web d?ch v? t? m?t ASP.NET ?ng d?ng, b?n c th? khng lin t?c nh?n ?c thng bo l?i sau:
K?t n?i c b?n ? ?c ng l?i: m?t l?i b?t ng? x?y ra trn m?t g?i.
Ngn x?p g?i l tng t? nh cc sau:
System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send.
 At System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request) at 
System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request) at 
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at 
...

GI?I PHP

Cp nht nong c h tr hin ang c Microsoft cung cp. Tuy nhin, goi nay chi c dung khc phuc s c c m ta trong bai vit nay. Chi ap dung hotfix o cho cac h thng ang gp phai s c cu th nay. Hotfix ny c th? nh?n ?c th? nghi?m b? sung. V? v?y, n?u b?n khng b? ?nh h?ng b?i v?n ? ny, chng ti ? ngh? b?n ?i cho Microsoft ti?p theo.NET Framework gi d?ch v? c ch?a hotfix ny.

khc phuc s c nay ngay lp tc, hay lin h vi Dich vu H tr Khach hang cua Microsoft nhn hotfix. ?i v?i m?t danh sch ?y ? cc d?ch v? h? tr? Microsoft khch hng s? i?n tho?i v thng tin v? chi ph h? tr?, gh thm Web site sau c?a Microsoft:
http://support.microsoft.com/contactus/?ws=support
Chu y Trong tr?ng h?p ?c bi?t, chi ph m th?ng ph?i gnh ch?u cho cc cu?c g?i h? tr? c th? ?c h?y b? n?u chuyn vin h? tr? Microsoft xc ?nh r?ng m?t C?p Nh?t c? th? s? gi?i quy?t v?n ? c?a b?n. Cc chi ph h? tr? thng th?ng s? p d?ng ? h? tr? thm cu h?i v v?n ? ny khng ? i?u ki?n cho cc C?p Nh?t c? th? trong cu h?i.

Phin b?n ti?ng Anh c?a hotfix ny c cc thu?c tnh t?p (ho?c sau ny t?p tin thu?c tnh) m ?c li?t k trong b?ng sau. Ngy thng v th?i gian cho nh?ng t?p tin ?c li?t k trong gi? ph?i h?p qu?c t? (UTC). Khi b?n xem chi tiet tap tin, n ?c chuy?n ?i thnh gi? c?c b?. ? bi?t s? khc nhau gi?a UTC v local time, s? d?ng cc Mi gi? th? tab trong cc Ngay gi m?c trong b?ng i?u khi?n.
   Date         Time   Version       Size       File name                    Platform
   ----------------------------------------------------------------------------------
   01-May-2003  12:48  1.0.3705.426     20,480  Perfcounter.dll              X86
   01-May-2003  12:48  1.0.3705.426  1,175,552  System.dll                   X86
   01-May-2003  12:48  1.0.3705.426    311,296  System.runtime.remoting.dll  X86
   01-May-2003  12:48  1.0.3705.426    503,808  System.web.services.dll      X86	
Hotfix ny ?c bao g?m trong cc.NET Framework 1.0 Service Pack 3 v trong cc.NET Framework 1.1 gi d?ch v? 1.

? bi?t thm chi ti?t v? lm th? no ? c ?c cc m?i nh?t.NET Framework 1.0 service pack, b?m s? bi vi?t sau y ? xem bi vi?t trong c s? ki?n th?c Microsoft:
318836Lm th? no ? c ?c cc m?i nh?t.Gi d?ch v? NET Framework 1.0

T?NH TR?NG

Microsoft ? xc nh?n r?ng y l m?t v?n ? trong cc s?n ph?m c?a Microsoft ?c li?t k trong ph?n "p d?ng cho".

THNG TIN THM

Thng i?p l?i ?c ? c?p trong ph?n "Tri?u ch?ng" c?ng c th? x?y ra v? cc l? do h?p l?. V d?, cc ti?m ?n k?t n?i c th? ? b? ng c?a v? l? do l ngoi t?m ki?m sot c?a cc khch hng. Trong tr?ng h?p nh v?y, Microsoft.NET Framework c hnh vi m?t cch chnh xc.

V d?, n?u cc d?ch v? Web ?c g?i l ?c lu tr? trong m?t ph?n m?m ho?c trong m?t ph?n c?ng mi cn b?ng t?i tr?ng c ch?a cc my ch? m h? tr? HTTP 1.1 v gi? k?t n?i, vi?c k?t n?i c th? ? k?t thc vo th?i gian m khch hng c? g?ng ti s? d?ng cc k?t n?i. N?u l?i ny v?n x?y ra sau khi b?n p d?ng s?a l?i ny, h?y th? cc gi?i php sau y:
  • C?u h?nh trang Web Trang web lu tr? cc d?ch v? Web khng ph?i l ? s? d?ng gi? k?t n?i. thc hin vic nay, hay lam theo nhng bc sau:
    1. M? bn i?u khi?n qu?n l? Microsoft Internet Information Server (IIS) v ?nh v? cc my ch? Web.
    2. B?m vo cc Trang web tab c?a cc Thu?c tnh Trang cho trang Web.
    3. Nh?n vo y ? xa cc HTTP gi?-Alives c kich hoat h?p ki?m.
  • Xc minh r?ng b?n t?i cn b?ng ph?n c?ng ho?c ph?n m?m m?t cch chnh xc ?c c?u h?nh cho ?ng d?ng c?a b?n yu c?u.
  • N?u b?n khng c quy?n ki?m sot mi tr?ng my ch? my ch? Web d?ch v? m b?n ang g?i i?n tho?i, b?n c th? ph?i v hi?u ha cc k?t n?i gi? ? pha khch hng. thc hin vic nay, hay lam theo nhng bc sau:
    1. ?t cc KeepAlive ti s?n c?a cc HttpWebRequest l?p h?c ? sai.
    2. Ghi cc HttpWebRequest phng php trong cc Reference.CS t?p tin ?c t?o ra b?i Microsoft Visual Studio.NET cho cc khch hng Web ?y quy?n. Sau m? ghi cc HttpWebRequest phng php.
      protected override WebRequest GetWebRequest(Uri uri)
       {
       HttpWebRequest webRequest = (HttpWebRequest) base.GetWebRequest(uri);
       
       webRequest.KeepAlive = false;
       
       return webRequest;
       }
      

THAM KH?O

? bi?t thm thng tin v? lm th? no ? c ?c cc.NET Framework 1.1 Service Pack 1, nh?p vo s? bi vi?t sau y ? xem bi vi?t trong c s? ki?n th?c Microsoft:
885055Lm th? no ? c ?c Microsoft.NET Framework 1.1 gi d?ch v? 1

Thu?c tnh

ID c?a bi: 819450 - L?n xem xt sau cng: 28 Thang Tam 2011 - Xem xt l?i: 2.0
p d?ng
  • Microsoft .NET Framework 1.0
  • Microsoft .NET Framework 1.1
T? kha:
kbhotfixserver kbqfe kbnetframe100presp3fix kbfix kbbug kbmt KB819450 KbMtvi
My d?ch
QUAN TRONG: Bi vi?t ny ?c d?ch b?ng ph?n m?m d?ch my c?a Microsoft ch? khng ph?i do con ng?i d?ch. Microsoft cung c?p cc bi vi?t do con ng?i d?ch v c? cc bi vi?t do my d?ch ? b?n c th? truy c?p vo t?t c? cc bi vi?t trong C s? Ki?n th?c c?a chng ti b?ng ngn ng? c?a b?n. Tuy nhin, bi vi?t do my d?ch khng ph?i lc no c?ng hon h?o. Lo?i bi vi?t ny c th? ch?a cc sai st v? t? v?ng, c php ho?c ng? php, gi?ng nh m?t ng?i n?c ngoi c th? m?c sai st khi ni ngn ng? c?a b?n. Microsoft khng ch?u trch nhi?m v? b?t k? s? thi?u chnh xc, sai st ho?c thi?t h?i no do vi?c d?ch sai n?i dung ho?c do ho?t ?ng s? d?ng c?a khch hng gy ra. Microsoft c?ng th?ng xuyn c?p nh?t ph?n m?m d?ch my ny.
Nh?p chu?t vo y ? xem b?n ti?ng Anh c?a bi vi?t ny:819450

Cung cp Phan hi

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com