Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

920 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now