BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Ole Error 80020003

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO)
View previous topic :: View next topic  
Author Message
Marc Guillot
Guest





PostPosted: Mon Feb 07, 2005 11:21 am    Post subject: Ole Error 80020003 Reply with quote



I have a very simple application (D6 + ADO Components to execute a MS-SQL
Server Stored Proc), that was running perfectlly in one computer. We have
changed the computer (Windows 2000 Server), and now I gets an 'Ole Error
80020003' at application start.

Error seems to be relationated with inicialization of ADO Components, so I
have installed MDAC 2.6 (Win2000 haves MDAC 2.5.x), but is not solved.

This problem was originally posted in bpd.Database.General. Because it has
not been solved, I move it to this group (I'm pretty sure it's ADO related).

Thanks in advance.


Back to top
Guillem
Guest





PostPosted: Mon Feb 07, 2005 12:30 pm    Post subject: Re: Ole Error 80020003 Reply with quote



Hi,

Had a look at it, but I have not found too much. I can tell you this error
is defined in WinError.h but little more. If you think it is related to
initialization then check if you are using CoInitialize and CoUninitialize
wherever you use the ADO components. May be that would be it.

Best regards
--
Guillem Vicens
Dep. informática Green Service SA
[email]guillemvicens (AT) clubgreenoasis (DOT) com[/email]
www.clubgreenoasis.com


"Marc Guillot" <guillotmarc (AT) iespana (DOT) es> escribió en el mensaje
news:42074ecb$1 (AT) newsgroups (DOT) borland.com...
Quote:
I have a very simple application (D6 + ADO Components to execute a MS-SQL
Server Stored Proc), that was running perfectlly in one computer. We have
changed the computer (Windows 2000 Server), and now I gets an 'Ole Error
80020003' at application start.

Error seems to be relationated with inicialization of ADO Components, so I
have installed MDAC 2.6 (Win2000 haves MDAC 2.5.x), but is not solved.

This problem was originally posted in bpd.Database.General. Because it has
not been solved, I move it to this group (I'm pretty sure it's ADO
related).

Thanks in advance.





Back to top
Viatcheslav V. Vassiliev
Guest





PostPosted: Mon Feb 07, 2005 9:28 pm    Post subject: Re: Ole Error 80020003 Reply with quote



It is defined as DISP_E_MEMBERNOTFOUND. This means that OLE object you use
does not have property or method that you call. Very probable is that you
use Variant to hold COM object and this object is older. ADOExpress calls
methods and properties using interfaces and should not produce this error.

However try to update MDAC to 2.8. Check other ActiveX components and
controls that could be used and update to newest version.

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)

"Guillem" <guillemvicens (AT) clubgreenoasis (DOT) com> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ
ÓÌÅÄÕÀÝÅÅ: news:42075f4b (AT) newsgroups (DOT) borland.com...
Quote:
Hi,

Had a look at it, but I have not found too much. I can tell you this error
is defined in WinError.h but little more. If you think it is related to
initialization then check if you are using CoInitialize and CoUninitialize
wherever you use the ADO components. May be that would be it.

Best regards
--
Guillem Vicens
Dep. informática Green Service SA
[email]guillemvicens (AT) clubgreenoasis (DOT) com[/email]
www.clubgreenoasis.com


"Marc Guillot" <guillotmarc (AT) iespana (DOT) es> escribió en el mensaje
news:42074ecb$1 (AT) newsgroups (DOT) borland.com...
I have a very simple application (D6 + ADO Components to execute a MS-SQL
Server Stored Proc), that was running perfectlly in one computer. We have
changed the computer (Windows 2000 Server), and now I gets an 'Ole Error
80020003' at application start.

Error seems to be relationated with inicialization of ADO Components, so
I
have installed MDAC 2.6 (Win2000 haves MDAC 2.5.x), but is not solved.

This problem was originally posted in bpd.Database.General. Because it
has
not been solved, I move it to this group (I'm pretty sure it's ADO
related).

Thanks in advance.







Back to top
Marc Guillot
Guest





PostPosted: Tue Feb 08, 2005 4:42 pm    Post subject: Re: Ole Error 80020003 Reply with quote

Thank you.

I will try MDAC 2.8.

"Viatcheslav V. Vassiliev" <support (AT) oledbdirect (DOT) com> ha escrit en el
missatge dels grups de discussió:4207dd9b (AT) newsgroups (DOT) borland.com...
Quote:
It is defined as DISP_E_MEMBERNOTFOUND. This means that OLE object you use
does not have property or method that you call. Very probable is that you
use Variant to hold COM object and this object is older. ADOExpress calls
methods and properties using interfaces and should not produce this error.

However try to update MDAC to 2.8. Check other ActiveX components and
controls that could be used and update to newest version.



Back to top
Marc Guillot
Guest





PostPosted: Thu Feb 10, 2005 11:45 am    Post subject: Re: Ole Error 80020003 Reply with quote


"Marc Guillot" <guillotmarc (AT) iespana (DOT) es> ha escrit en el missatge dels grups
de discussió:4208eb72 (AT) newsgroups (DOT) borland.com...
Quote:
Thank you.

I will try MDAC 2.8.

Finally it seems it was not related to ADO.

I have updated MDAC to 2.8 and still gets the same error.

I have installed Crystal Reports 7 (I needed to a not related question), and
I have configurated a Printer (needed for Crystal Reports, there was not any
printer configurated in this O.S.). And magically my application runs with
no errors.

I do'nt know if the problem was the missing of printers, or a dll installed
with Crystal Reports. (Application do'nt uses printers, and do'nt uses
Crystal Reports). But now it runs. :)



Back to top
Viatcheslav V. Vassiliev
Guest





PostPosted: Thu Feb 10, 2005 7:33 pm    Post subject: Re: Ole Error 80020003 Reply with quote

Probably Crystal Reports installed new version of COM object that you use.
Error number says you called method or property not implemented by COM
object - now it seems that you have COM object that does implement this
method or property. It should not be related to printers.

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)

"Marc Guillot" <guillotmarc (AT) iespana (DOT) es> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ
ÓÌÅÄÕÀÝÅÅ: news:420b48f4 (AT) newsgroups (DOT) borland.com...
Quote:

"Marc Guillot" <guillotmarc (AT) iespana (DOT) es> ha escrit en el missatge dels
grups
de discussió:4208eb72 (AT) newsgroups (DOT) borland.com...
Thank you.

I will try MDAC 2.8.

Finally it seems it was not related to ADO.

I have updated MDAC to 2.8 and still gets the same error.

I have installed Crystal Reports 7 (I needed to a not related question),
and
I have configurated a Printer (needed for Crystal Reports, there was not
any
printer configurated in this O.S.). And magically my application runs with
no errors.

I do'nt know if the problem was the missing of printers, or a dll
installed
with Crystal Reports. (Application do'nt uses printers, and do'nt uses
Crystal Reports). But now it runs. :)





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.