Solved

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

Posted on 2004-10-14
2
1,049 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

685 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