0
我有以下问题。我有一些用Visual Basic编写的项目(不是Visual Basic .NET,但是简单的Visual Basic - 原文如此!)。我可以编译它并生成一个dll。 然后在我的web应用程序中添加对此dll库的引用。当我运行默认Visual Studio服务器托管的Web应用程序时,一切正常,我可以调试我的Visual Basic项目。但是,当我在IIS中托管我的Web应用程序时,我不能。代码不会停留在我的断点上。 我的asp.net捕捉到了异常,当我尝试从所提到的库,它是像执行一些方法:从IIS中承载的asp.net调试visual basic dll库
Unable to cast COM object of type 'xxx' to interface type 'yyy'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{4C2875B5-3265-306B-9C74-1BEC98986B1A}' failed due to the following error: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)).
能有人帮我,因为我一直在挣扎2天都没有成功。
我完全按照你写的做,但它不起作用 – 2010-11-19 06:50:37