Solved

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

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

758 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

20 Experts available now in Live!

Get 1:1 Help Now