Microsoft KB Archive/297804

= PRB: Error Messages: &quot;Rpcss Illegal Operation&quot; and &quot;Could Not Upload DSP files&quot; =

Article ID: 297804

Article Last Modified on 8/15/2005

-

APPLIES TO

 Microsoft Visual Studio 6.0 Enterprise Edition, when used with:  Microsoft Windows 98 Standard Edition

 Microsoft Windows Millennium Edition 

-



This article was previously published under Q297804



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 restarting a computer after installation of Visual Basic 6.0, the user receives the error message: &quot;Rpcss illegal operation&quot;. The system will then attempt to connect to the Internet and return the error message &quot;could not upload DSP files.&quot; This can also occur at startup for some applications.



CAUSE
If remote connections is enabled, the system may try to initiate an Internet connection upon startup of the operating system. This behavior is often referred to as &quot;autodial&quot; or &quot;autoconnect.&quot;

<div class="resolution_section">

RESOLUTION
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.

To resolve this problem, turn off the remote connection option by changing the registry key

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole

string values EnableRemoteConnect and EnableDCOM from Y to N.

Normal Internet activities will not be affected by changing this setting to disable remote connections. This setting is the default for most systems. However, enabling remote connections is necessary for some features of DCOM.

<div class="references_section">