开发者

Unable to Cast COM object system to adodb recordset

开发者 https://www.devze.com 2023-03-24 11:20 出处:网络
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:

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

精彩评论

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