Article ID: 313984 - Last Review: May 19, 2005 - Revision: 3.0 Visual Basic Winsock control run-time error 429 and scalability
This article was previously published under Q313984 On This PageSUMMARY
The Microsoft Winsock control (Mswinsck.ocx) was not designed to be created dynamically at run time. To use this control, place it on a form at design time. Otherwise, you may get run-time error 429, "ActiveX component can't create object." Also, do not use the Winsock control in server environments, such as with Microsoft Internet Information Server (IIS) and Microsoft COM+, where scalability may be required. MORE INFORMATIONRun-Time Error 429An application that creates the Winsock control dynamically at run time through the use of early binding runs at design time may fail at run time with error 429 if the application runs on a nondevelopment computer (a computer that does not have Visual Basic installed):
Run-time error '429': ActiveX component can't create object ScalabilityThe Winsock control is designed for use in client or light-load server applications. Microsoft does not support the use of the control in multithreaded server environments, especially in IIS and COM+, where scalability may be important. Using this control in such an environment may cause unpredicatible issues including deadlocks. Microsoft recommends that you consider use of alternative technologies such as the Winsock API and the IO Completion Port (IOCP) in these cases.REFERENCESFor additional information, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
274754
(http://support.microsoft.com/kb/274754/EN-US/
)
INFO: Licensing Issues Related to User Controls Created with Visual Basic
241126
(http://support.microsoft.com/kb/241126/EN-US/
)
INFO: Dynamically Add UserControls That Require Run-Time Licenses
192800
(http://support.microsoft.com/kb/192800/EN-US/
)
INFO: Design Issues When Using IOCP in a Winsock Server
APPLIES TO
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations |





















Back to the top