Unable to generate a reference to file '<filename>' (use TLBIMP utility to reference COM DLLs): <error message>
The Visual Basic compiler calls the Assembly Linker (Al.exe, also known as Alink) to generate an assembly with a manifest. The linker has reported an error finding or validating a COM+ DLL file.
Error ID: BC30142
To correct this error
Examine the quoted error message and consult the topic Al.exe Tool Errors and Warnings for further explanation and advice.
If the desired reference is to a COM DLL rather than a COM+ DLL, use the Type Library Importer (Tlbimp.exe) to generate the reference.
If the error persists, gather information about the circumstances and notify Microsoft Product Support Services.
See Also
Reference
Al.exe Tool Errors and Warnings
Type Library Importer (Tlbimp.exe)