InvalidCastException of QueryInterface failed after upgrading to VB.NET
I'm upgrading a VB6 application to VB.NET.
I got errors that mostly are "System.InvalidCastException" & QueryInterface
failure of vbSqlDMO.NameList.
I'm sure that the SQL Server 2000 Service Pack 2 has been installed well.
And I have try to register the dll again using 'tlbimp' command.
It can't work finally.
During the upgrade process, several (.dll) files has been created, added
to the project for reference and placed in a 'bin' folder under the project
path. But the error still prompt out.
Pls help! Thx a lot!
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center