Windows Sockets error

Posted: 09-18-2003, 03:34 PM
When I try to PING anything I get an "Unable to
initialize Windows Sockets interface, error code 0."
message. IPCONFIG shows 0.0.0.0 as the IP address even
though DHCP is enabled and working on the network. I
can't assign a static IP address to the NIC either. I'm
looking for the Microsoft answer on the WinXP TechNet
site without luck. Any help here?
Reply With Quote

Responses to "Windows Sockets error"

Marc Reynolds [MSFT]
Guest
Posts: n/a
 
RE: Windows Sockets error
Posted: 09-18-2003, 04:15 PM
Hi Les,

Have you check to make sure you cable is ok? You may also want to test
another network card.


Thanks,
Marc Reynolds
Microsoft Technical Support

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

Reply With Quote
Ken Wickes [MSFT]
Guest
Posts: n/a
 
Re: Windows Sockets error
Posted: 09-18-2003, 09:09 PM
I have traced several of these problems to improperly configured winsock
LSPs. Run "winmsd" and go to Components/Network/Protocol. Look at the
names in the list, anything with "MSAFD" in it or the "RSVP xxx Service
Provider" should be fine. Anything else is suspect, and uninstalling the
owning program might help.

If that fails or your provider list is empty, you may need to rebuild the
catalog from scratch. The following instructions will rebuild your catalog
for TCP/IP. If you are using any other transports (If you don't know, then
you probably aren't) then you will have to reinstall them as well.


1. Backup and delete the following registry keys

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\Winsock
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\Winsock2

2. Reboot

3. Go to the network connections folder, right click the icon for your
network connection, and select properties.

4. Click install, choose "protocol", and click "add..."

5. Click "Have Disk...", enter "\windows\inf", click OK

6. Select "Internet Protocol (TCP/IP), click OK

7. When the process in complete, reboot



--

Ken Wickes [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.


"Les" <les.barnes@mail.bof.com> wrote in message
news:0ebb01c37df1$e87c5ac0$a401280a@phx.gbl...
> When I try to PING anything I get an "Unable to
> initialize Windows Sockets interface, error code 0."
> message. IPCONFIG shows 0.0.0.0 as the IP address even
> though DHCP is enabled and working on the network. I
> can't assign a static IP address to the NIC either. I'm
> looking for the Microsoft answer on the WinXP TechNet
> site without luck. Any help here?

Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Raw Sockets in Windows XP SP2 Sean Windows XP Beta 4 08-11-2004 11:08 PM
Unable to initialize windows sockets interface, error code 0 Chris Windows XP Network & Web 3 11-19-2003 11:22 PM
Windows sockets initialzation failed Bob Windows XP Accessibility 0 09-28-2003 11:38 PM
windows sockets initialization failed shrimp Windows XP Device Drivers 0 09-12-2003 02:51 AM
WINDOWS SOCKETS KIM Windows XP Network & Web 0 08-16-2003 04:48 PM


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90