Solved

72C24DD5-D70A-438B-8A42-98424B88AFB8 not valid or not registered

Posted on 2004-10-14
2
1,043 Views
Last Modified: 2011-10-03
We have a c# project that uses WshSell interface to create a  shortcut.  It works fine on every XP machine we have tried, but on win2000 with .NET framework installed we get an error message:
Utilities->lnkSystem.Runtime.InteropServices.COMException(0x80040154): COM object with CLSID
72C24DD5-D70A-438B-8A42-98424B88AFB8 is either not valid or not registered

Any suggestions?
Thank You
0
Comment
Question by:PhilC
2 Comments
 
LVL 48

Expert Comment

by:AlexFM
ID: 12308576
Try to use this class:

http://www.codeproject.com/managedcpp/mcppshortcuts.asp

It is written in managed C++ but may be used by any managed .NET client (C#, VB .NET etc).
0
 
LVL 8

Accepted Solution

by:
tomvergote earned 500 total points
ID: 12308584
I would think the referenced dll is't available (or not with that clsid) on the win2k box.
Is the windows scripting host on the 2k box the same version as on the xp boxes?
I know that there has been a new WSH release some time ago, but I don't know which version is included in which windows version. It might even be possible that the new versions were distributed through windows update, so you might want to update the 2k box via windowsupdate.microsoft.com and hope that you get the right version. Maybe there is a difference in autoupdate settings between your 2k and your XP's

You could also visit
http://msdn.microsoft.com/library/default.asp?url=/downloads/list/webdev.asp
and download the latest version and update all your clients so they are using the same versions
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question