|
-
May 18th, 2005, 11:50 PM
#1
Method'~' of object '~' failed "
Hi everybody
I have developed a software using VB6, one of my client faced the following error
Run-time error'-2146697208 (800c0008)':
Method'~' of object '~' failed"
I have got some information where MSDN is saying that this error can occure if the MDAC was not properly installed. but my application is not using MDAC, but it is using XMLHTTP30. The error may be due to sending request using XMLHTTP30.
any idea why the application is showing this error message.
thanks in advance
regards,
kajol
-
May 19th, 2005, 12:36 AM
#2
Re: Method'~' of object '~' failed "
are you sure you have installed all the dll's, ocx, etc required by your app (and in particular the XMLHTTP30 components requirements) on the client machine?
-
May 19th, 2005, 03:40 AM
#3
Re: Method'~' of object '~' failed "
I have recieved a different error message if the dll files ware not properly installed and the error message was
Run-time error '429'
ActiveX component can't create object
can that error [I have specified earlier] be due to improper installation of some dll files?
regards,
Kajol
-
May 19th, 2005, 06:44 AM
#4
Re: Method'~' of object '~' failed "
Hi,
Error 429 usually appears either when a dll is not correctly registered (-> use regsvr32 in command prompt), dll's that are used by this dll are not existing or not correctly registered (-> check / create dependency file ), or in the context of different versions of the dll.
have a nice day
Patzer
_____________________________
Philo will never be forgotten
-
May 19th, 2005, 07:04 AM
#5
Re: Method'~' of object '~' failed "
Method'~' of object '~' failed"
this usually happens when dll are not registered. Precisely, when the runtime
is not even able to tell what the object is, and the object is not able to propagate more infos back. It could be any component. It is a mismatched DLL file.
for example:
http://support.prtracker.com/pr948.html
http://support.microsoft.com/default.aspx/kb/270589
Last edited by Cimperiali; May 19th, 2005 at 07:10 AM.
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
-
May 22nd, 2005, 06:56 PM
#6
Re: Method'~' of object '~' failed "
Hi
I get this error but not in a compiled program or when running a program from the VB IDE....
If I click on the VB6 IDE shortcut twice in QUICK succession on my oh-so-low-spec PC at work it gives the same error. So I leave a couple of seconds gap before clicking on shortcut again (click twice cos I'm developing 2 vb dll's and want to open 'em both up).
I had always assumed that is was because my PC has such a low spec that it can't handle opening up multiple VB IDE's at one time....
Well, not that this helps your problem but it may be of interest....
Cheers
-
May 22nd, 2005, 10:08 PM
#7
Re: Method'~' of object '~' failed "
This error can occrus when you open VB6 or when you load a new project and that the system lack ressources (memory usually). However, I've never saw this on a compiled EXE, but you might want to check if you destroy all your objects and the like, it may be a problem with memory, in such case you could see it from the memory management
JeffB
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|