Microsoft KB Archive/319161

= Error Message When You Try to Dial a Connection: &quot;Svchost.exe Has Generated Errors and Will Be Closed by Windows&quot; =

Article ID: 319161

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
 * Microsoft Windows Small Business Server 2003 Premium Edition
 * Microsoft Windows Small Business Server 2003 Standard Edition

-



This article was previously published under Q319161



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
When you try to open a dial-up networking connection, you may receive the following error message:

Svchost.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log will be created.



CAUSE
This behavior can occur if a version of Novell GroupWise that contains the Gwtps1.dll file with a date earlier than July, 2000, is installed on your computer.

The early versions of the Gwtps1.dll file may corrupt the Windows dial-up networking registry keys. This has been corrected in the GroupWise Enhancement Pack Support Pack 2 client software.

This corruption occurs because the GroupWise client expects the dial-up networking registry keys to list the various dialing locations in the same manner as that of Microsoft Windows 95 and Microsoft Windows 98. However, the listing protocol for registry keys related to dialing locations is different in Windows 2000 or Windows Server 2003 from that in Windows 95 or Windows 98. In Windows 95 or Windows 98, the listing for dialing locations start at Location0 -- for example, Location0, Location1, and so on. In Windows 2000, dialing-location listings start at Location1 -- for example, Location1, Location2, and so on.



RESOLUTION
To resolve this issue, follow these steps.

NOTE: After you follow these steps, you may have to re-create many of your dialing locations.

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

 Click Start, and then click Run. In the Open box, type regedit, and then click OK. In Registry Editor, expand the following registry subkey:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Telephony\Locations

 On the Registry menu, click Export Registry File. In the File name box, type locations, and then click Save.

NOTE: You can restore this registry subkey by double-clicking the Locations.reg file that you saved.  Under the Locations subkey, delete all Location  folders (where  is a number) except for Location1 and Location2. For example, if the Locations registry subkey listing is similar to the following <pre class="fixed_text"> -Locations |  |-- Location1 |-- Location2 |-- Location3 |-- Location4 delete the Location3 and Location4 subkeys.

To delete a subkey, right-click the Location  folder, and then click Delete. Click Yes to confirm the deletion. </li> Rename the Location1 registry subkey as Location0 (zero). To rename a subkey, right-click it, and then click Rename.</li>  Rename the Location2 registry subkey as Location1.

NOTE: The Locations subkey should appear as follows: <pre class="fixed_text"> -Locations |  |-- Location0 |-- Location1 </li> Click the Locations registry subkey.</li> In the right pane of the Registry Editor window, right-click CurrentID, and then click Modify. In the Value data box, type 1, and then click OK.</li> Right-click LocationListVersion, and then click Modify. In the Value data box, type 2, and then click OK.</li> Right-click NextID, and then click Modify. In the Value data box, type 4, and then click OK.</li> Right-click NumEntries (if it is present), and then click Delete. Click Yes to confirm the deletion.</li> On the Edit menu, point to New, and then click DWORD Value.</li> Type NumEntries, and then press ENTER.</li> Right-click NumEntries, and then click Modify. In the Value data box, type 2, and then click OK.</li> In the left pane of the Registry Editor window, expand the Location1 subkey that is under Locations.</li> If the AreaCodeRules subkey is not listed under Location1, follow these steps: <ol style="list-style-type: lower-alpha;"> Click the Location1 subkey (to select it if it is not already selected).</li> On the Edit menu, point to New, and then click Key.</li> Type AreaCodeRules, and then press ENTER.</li></ol> </li> <li>Quit Registry Editor.</li> <li>Restart the computer.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
Contact Novell to obtain GroupWise 5.5 Enhancement Pack Service Pack 2 (G55esp2.exe for English only or G55esp2m.exe for multilingual).

For information about how to contact Novell, Inc., click the appropriate article number in the following list to view the article in the Microsoft Knowledge Base:

65416 Hardware and Software Third-Party Vendor Contact List, A-K

60781 Hardware and Software Third-Party Vendor Contact List, L-P

60782 Hardware and Software Third-Party Vendor Contact List, Q-Z

For additional information about this issue, browse to the following Novell Web site:

http://support.novell.com/cgi-bin/search/searchtid.cgi?10051906.htm

Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Keywords: kberrmsg kbprb KB319161

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.