PRB: Instantiating a Project-Compatible Server Causes Error 430
Article ID: 190131
Article Last Modified on 5/12/2003
APPLIES TO
- Microsoft Visual Basic 6.0 Learning Edition
- Microsoft Visual Basic 6.0 Professional Edition
- Microsoft Visual Basic 6.0 Enterprise Edition
This article was previously published under Q190131
SYMPTOMS
Instantiating a class within a server that has been previously compiled but
is now running within the Visual Basic IDE, causes run-time error 430.
CAUSE
When a Visual Basic project is compiled with Project Compatibility, the
CLSID remains the same while the IID changes for subsequent builds.
Therefore, attempting to create the specific class in the "compatible"
server generates the following error because the specific IID has changed
and no longer exists:
Run-time error '430':
Class does not support Automation or does not support expected interface
RESOLUTION
Use Binary Compatibility.
STATUS
This behavior is by design.
REFERENCES
For additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
161137 HOWTO: Use Project and Binary Compatibility
Keywords: kbide kbappsetup kbprb KB190131