 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Marc Guillot Guest
|
Posted: Mon Feb 07, 2005 11:21 am Post subject: Ole Error 80020003 |
|
|
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
|
Posted: Mon Feb 07, 2005 12:30 pm Post subject: Re: Ole Error 80020003 |
|
|
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
|
Posted: Mon Feb 07, 2005 9:28 pm Post subject: Re: Ole Error 80020003 |
|
|
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
|
Posted: Tue Feb 08, 2005 4:42 pm Post subject: Re: Ole Error 80020003 |
|
|
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
|
Posted: Thu Feb 10, 2005 11:45 am Post subject: Re: Ole Error 80020003 |
|
|
"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
|
Posted: Thu Feb 10, 2005 7:33 pm Post subject: Re: Ole Error 80020003 |
|
|
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 |
|
 |
|
|
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
|
|