Ban nhn c thng bao li "Thao tac a khng c thc hin trn socket" khi c kt ni mang

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

? Trang ny

TRI?U CH?NG

Khi ban c kt ni may tinh vao mang, ban co th nhn c thng bao li sau y:
Thao tac a khng c thc hin trn socket.
Hin tng nay xay ra trn may tinh co cha ia chi IP t mt may chu co Giao thc Cu hinh Thit bi ng (DHCP). Nu ban gan mt ia chi IP tinh cho may tinh cua minh, ban se khng nhn c thng bao nay.

NGUYN NHN

Vn nay co th xay ra nu ban a cai t san phm cua bn th ba co s dung Windows sockets va cung s dung cac lnh ipconfig, release va renew. Cac khoa con s ng ky cua Windows sockets co th bi hong.

GI?I PHP

Quan trong Phn phng phap hoc tac vu nay cha cac bc chi dn cach sa i s ng ky cho ban. Tuy nhin, co th xay ra s c nghim trong nu ban sa i s ng ky khng ung cach. Vi vy, hay chc chn rng ban thc hin cac bc sau cn thn. bao v tt hn, hay sao lu s ng ky trc khi sa i. Sau o, ban co th khi phuc s ng ky nu xay ra s c. bit thm thng tin v cach sao lu va khi phuc s ng ky, bm vao s bai vit sau y xem bai vit trong C s Kin thc Microsoft:
322756 Cach sao lu va khi phuc s ng ky trong Windows (Bai vit nay co th cha lin kt ti ni dung ting Anh (cha c dich)).
giai quyt s c nay, s dung mt trong cac phng phap sau.

Phng phap 1

Chung ti khuyn ban nn s dung Phng phap 1 nu mt trong cac iu kin sau y ung:
  • Ban chi co mt may tinh.
  • Ban khng co quyn truy nhp vao may tinh ging may tinh u tin ma ban a gp hin tng c m ta trong phn "Hin tng" May tinh ging may tinh u tin la mt may tinh khac co cung phin ban h iu hanh va co cu hinh phn cng tng t.
S dung Registry Editor xut chuyn va xoa cac khoa con ng ky Winsock va Winsock2, sau o loai bo va cai t lai TCP/IP trn Microsoft Windows 2000 hoc Microsoft Windows XP. thc hin vic nay, lam theo cac bc sau.

Xut chuyn va xoa cac khoa con ng ky a hong

  1. Cho ia mm vao trong ia mm cua may tinh co cac muc ng ky ma ban ang xut chuyn.
  2. Bm Bt u, bm Chay, go regedit, sau o bm OK.
  3. inh vi ri bm khoa con ng ky sau:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Winsock
  4. Thc hin mt trong cac bc sau, tuy thuc vao h iu hanh:
    • i vi Windows XP, trn menu Tp, bm Xut chuyn.
    • i vi Windows 2000, trn menu S ng ky, bm Xut chuyn.
  5. Trong Lu vao, bm 3 ia mm (A:), go tn cho tp trong Tn tp, sau o bm Lu.
  6. Bm chut phai Winsock, sau o bm Xoa. Khi ban c nhc xac nhn xoa, bm Co.
  7. Lp lai cac bc t 3 ti 6 cho khoa con sau y:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Winsock2
    Chu y Mi tp .reg ban lu phai co tn khac nhau.
  8. Bm chut phai Winsock2, bm Xoa, sau o bm Co.
  9. Thoat khoi Registry Editor.

May tinh chay Windows 2000

Loai bo TCP/IP trn mt may tinh chay Windows 2000
  1. ng nhp vao Windows vi t cach la quan tri vin.
  2. Trong Pa-nen iu khin, bm up Kt ni Mang, bm chut phai vao Kt ni Mang Cuc b, sau o bm Thuc tinh.
  3. Bn di Cu phn nay s dung cac khoan muc sau, bm Giao thc Internet (TCP/IP), ri bm D cai t.
  4. Lam theo cac chi dn trn man hinh loai bo TCP/IP.
  5. Khi ng lai may tinh cua ban, nhng bm Khng nu ban c nhc Windows kich hoat giao thc.
Cai t TCP/IP trn may tinh chay Windows 2000
  1. ng nhp vao Windows vi t cach la quan tri vin.
  2. Trong Pa-nen iu khin, bm up Kt ni Mang, bm chut phai vao Kt ni Mang Cuc b, sau o bm Thuc tinh.
  3. Bm Cai t.
  4. Trong hp thoai La chon Loai Cu phn Mang, bm Giao thc, sau o bm Thm.
  5. Bn di Giao thc Mang, bm Giao thc Internet (TCP/IP), sau o bm OK.
  6. Khi giao thc c cai t, bm ong.
  7. Khi ng lai may tinh cua ban.

May tinh chay Windows XP

Cai t lai TCP/IP trn may tinh chay Windows XP
Trong Windows XP, ngn xp TCP/IP la cu phn loi cua h iu hanh. Vi vy, ban khng th loai bo TCP/IP trong Windows XP.
  1. Trc ht phai cai t TCP/IP. thc hin vic nay, lam theo cac bc sau:
    1. Trong Pa-nen iu khin, bm up Kt ni Mang, bm chut phai vao Kt ni Mang Cuc b, ri bm Thuc tinh.
    2. Bm Cai t.
    3. Bm Giao thc, ri bm Thm.
    4. Bm Co ia.
    5. Trong Sao cac tp cua nha san xut t, go System_Drive_Letter:\windows\inf, ri bm OK.
    6. Trong danh sach cac giao thc co sn, bm Giao thc Internet (TCP/IP), ri bm OK.
  2. Khi ng lai may tinh cua ban.

Phng phap 2

Nu ban ang sa s c nay trn mt s may tinh va ban co quyn truy nhp vao mt may tinh ang hoat ng co cung phin ban h iu hanh va co cu hinh phn cng tng t, chung ti khuyn nghi dung Phng phap 2.

giai quyt vn nay, xoa cac muc trong s ng ky bi hong, ri thay th chung bng thng tin khoa s ng ky ban a xut chuyn t may tinh co cai t TCP/IP ang hoat ng. thc hin vic nay, lam theo cac bc sau.

Xoa cac muc trong s ng ky bi hong

Trn may tinh co cac muc trong s ng ky bi hong, lam theo cac bc sau:
  1. Bm Bt u, bm Chay, go regedit, sau o bm OK.
  2. Trong Registry Editor, inh vi va bm khoa con ng ky sau:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services
    .
  3. Bm chut phai vao Winsock, sau o bm Xoa. Khi ban c nhc xac nhn xoa, bm Co.
  4. Bm chut phai vao Winsock 2, sau o bm Xoa. Khi ban c nhc xac nhn xoa, bm Co.

Xut chuyn cac muc trong s ng ky ra ia mm

Trn may tinh co cai t TCP/IP hoat ng, lam theo cac bc sau.

Chu y May tinh ma ban ang chuyn nhp cac muc trong s ng ky phai s dung cung phin ban Windows va phai ging hoc la ban sao cua may tinh ang gp phai hin tng c m ta trong phn "Hin tng".
  1. a ia mm vao trong ia mm cua may tinh co cac muc trong s ng ky ma ban ang xut chuyn.
  2. Bm Bt u, bm Chay, go regedit, sau o bm OK.
  3. Trong Registry Editor, inh vi va bm khoa con ng ky sau, ri bm Winsock:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services
  4. Bm Tp, ri bm Xut chuyn.
  5. Trong Lu vao, bm 3 ia mm (A:), go tn cho tp o trong Tn tp, sau o bm Lu.
  6. Bm Winsock2, bm Tp, sau o bm Xut chuyn.
  7. Trong Lu vao, bm 3 ia mm (A:), go tn cho tp o trong Tn tp, sau o bm Lu.

    Chu y Mi tp .reg ban lu phai co mt tn khac nhau.
  8. Thoat khoi Registry Editor.

Chuyn nhp cac muc trong s ng ky t ia mm

Trn may tinh co muc trong s ng ky bi hong, hay lam theo cac bc sau:
  1. a ia mm co cha cac tp .reg vao ia mm cua may tinh ang gp phai hin tng c m ta trong phn "Hin tng".
  2. Khi ng Windows Explorer, bm May tinh cua Ti, sau o bm up 3 ia mm (A:).
  3. Bm up vao mi tp .reg ma ban a tao va lu vao ia mm trong phn "Xut chuyn cac khoa ng ky ra ia mm".
  4. Bm Co khi c nhc thm thng tin vao s ng ky.
  5. Bm OK khi nhn c thng bao rng thng tin c nhp thanh cng vao s ng ky.
  6. Thoat khoi Registry Editor.
  7. Khi ng lai may tinh bi anh hng.

THNG TIN THM

Cac phng phap nay khi phuc chc nng c ban cho cac khoa con Winsock va Winsock2. Ban co th phai cai t lai mt s phn mm proxy hoc tng la cua bn th ba.

Thu?c tnh

ID c?a bi: 817571 - L?n xem xt sau cng: 07 Thang Nm 2007 - Xem xt l?i: 8.5
p d?ng
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 2000 Server
T? kha:
kberrmsg kbprb KB817571

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