开发者

Unable to Cast COM object system to adodb recordset

I compiled a project with custom dll and ran fine on my machine running Windows 7 but when i put it on a machine running windows Server 2008, I get this error:

unable to cast com object of type 'system.__comobject' to interface type 'adodb recordset'

Anyone have a clue on how to fix it?

Edit: There is no code because the error doesnt happens when i debug/run it,开发者_JS百科 it happen when after i installed my program on the server machine and i try to run it but on my machine it is fine


Does the W2008 system have ADO to begin with? ADO comes with the package known as "MS data access components". Also note the bitness - if your program is 32-bit, you need 32-bit ADO installed and vice versa; 32-bit ADO and 64-bit ADO are two different packages.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜