I am facing problem with Dot net and VB dll which i added for reference with dotnet web projects.The VB dll has been interop and its inside the Bin folder. When trying to call the methods from the vb dll( Security), its throwing following error :
Unable to cast COM object of type 'Example.SecurityClass' to interface type 'Example._Security'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{1186165A-3E15-4986-8142-FV8848192929}' failed due to
the following error: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)).
antonyvijaya...
Member
44 Points
50 Posts
Unable to cast COM object of type
Oct 16, 2008 06:50 AM|LINK
Hi,
I am facing problem with Dot net and VB dll which i added for reference with dotnet web projects.The VB dll has been interop and its inside the Bin folder. When trying to call the methods from the vb dll( Security), its throwing following error :
Unable to cast COM object of type 'Example.SecurityClass' to interface type 'Example._Security'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{1186165A-3E15-4986-8142-FV8848192929}' failed due to the following error: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)).
Can anyone help us on this ?
Thanks.
Atlas Access AJAX Timer Control ASP.NET ASP.NET AJAX asp.NET 1.1 .Net FAQ Links asp.NET 2.0 asp asp .net ... c# ... SQL Asp .net .NET applet .net .Net Faqs .NET Answers .NET Interview Question .net interview faqs .NET Framework FAQ xml visual studio User control asp.net validation controls tips tricks aspose.newsletter Abstract class asp .net ... c# ... web site Tips & Tricks visiblexcv ASP NET2 .0 Add control dynamically .NET Adding controls dynamically ASP .NET Dynamic Controls ViewState application web part