Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ActiveX component can't create object error no 429

Status
Not open for further replies.

rzirpolo

Programmer
Apr 8, 2002
163
GB
We have installed a VB application on separate machine and registered the associated dll's and ocx's but for some reason when running an export from within the app we get this 'ActiveX component can't create object error no 429'. There are a number of posts but nothing has worked so far.

1) I have unregistered and re-registered the dll's a number of times
2) Re-installed the latest VB runtime files

I have stepped through my application to see if any objects created reference a dll but this is one of the dlls associated to the app and is registered.

It is not a problem with the app as I have it working on other servers, and also when installing an older version I get the same error whereas this was working before.

I'm positive it's a problem with this specific server and it's environment, I'm just struggling to pinpoint what is causing it. I think the last option would be to rebuild the server. But it would be good if we could find the cause. Any help would be very grateful.


 
I may be pointing out the obvious but:

msdn.microsoft.com/library/en-us/vbenlr98/html/vamsgcantcreateobject.asp+ActiveX+component+can%27t+create+object+error+no+429&hl=en&lr=lang_en

William
Software Engineer
ICQ No. 56047340
 
That link doesn't work...

This looks like the post that will help me
And I have now managed to re-produce the issue on the NT server, I unregistered the scrrun.dll and I now get the error when my app attempts to open the folder. Problem now is that I can't resolve it. I re-registered the dll as well as running the exe for Microsoft Windows Script components but I still get the same error ?!?!

I did the same on XP and unregistered the scrrun.dll but I didn't get a problem ?

Now I'm really confused and can't fix my NT server the app is running on.
 
Hi sorry, you're right its well broken, I cut it from the Google URL. Anayway I got it by searching Google for:

"ActiveX component can't create object error no 429" in the results displayed look for the list from MSDN.



William
Software Engineer
ICQ No. 56047340
 
I had a similar problem, The error that you are getting, may indicate that one of the dependencies of sccrun.dll may be missing.



Take Care

Matt
If at first you don't succeed, skydiving is not for you.
 
I have found out more information in regards to this....

It seems to be failing on the syntax CreateObject("Shell.Application"). And it is only happening on NT, the problem does not occur on XP.

Is anybody familiar with this ?

 
Hi. You should have version 4.71 or greater of shell32.dll installed on the host.

HTH

William
Software Engineer
ICQ No. 56047340
 
OK I have version 4.00 how do I go about getting a version greater than 4.71.

I shouldn't copy the dll from my XP machine should I ?

 
You can get the latest versions of these simply by applying the Service Packs brought out by MS. Not to sure what the best solution would be. I guess would be to get a network install of the Service Pack and extract the dll from the CAB file, using the extract (dos) command.

There may well be a more elegant solution but off the top of my head that's what I'd do. Or simply version check using your app then inform the user they need to upgrade. Not the best idea but it certainly wouldn't do them any harm to have the latest toys from MS.


William
Software Engineer
ICQ No. 56047340
 
I don't think I can upgrade it ?? Looking at the info stated here
Note 3: Version 5.80 of Comctl32.dll and version 5.0 of Shlwapi.dll are distributed with Internet Explorer 5. They will be found on all systems on which Internet Explorer 5 is installed, except Windows 2000. Internet Explorer 5 does not update the Shell, so version 5.0 of Shell32.dll will not be found on Windows NT, Windows 95, or Windows 98 systems. Version 5.0 of Shell32.dll will be distributed with Windows 2000 and Windows Me, along with version 5.0 of Shlwapi.dll, and version 5.81 of Comctl32.dll.

So I'm stuck on how I can get a later version of Shell32.dll. Can anybody help ?
 
Installing individual files from a service pack is not a good idea -- they're designed to be installed as a set. So, just run the servicepack installer.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
The problem is that getting an updated version of this dll is not so easy. I have found that IE5 does not upgrade shell32.dll. Only IE4 with the"active desktop update" updates shell32.dll to either version 4.71 (IE4.0) or 4.72 (IE4.01).

Win98 comes with version 4.72. Win2K will ship with version 5.0 of shell32.dll. Microsoft have a page which states Shell and Common Controls Versions
The workaround I have been trying is to remove IE5, re-install IE4 and then upgrade back to IE5. But you cannot get IE4 from the Microsoft website so it's proving very difficult.
 
Ok, I thought it would be best if I post a final conclusion to this...

In order for this function to work IE needs to be > v4. The standard in NT Terminal Services 4 is 4. I logged a Support Call with Microsoft to fix this and they provided me instructions and that I had to install Active Desktop to update this dll.

I did this and the function would work but it screws up the Operating System as this article states
I am no posed with 2 choices, either a) remove this function in my app or b) find another way to program it in.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top