Hi nike gold - thanks for the super-speedy response.
Windows PC, Dell OptiPlex GX620, Windows XP, Excel 2007.
Sorry if I didn't make this super-clear.
Thanks.
Main Topics
Browse All TopicsI've been addressing several separate issues on my machine and I have a hunch that they are COM-related or perhaps due to a corrupted registry. It is however beyond my present powers to figure out exactly what's going on.
These separate issues all point the same way
1. In VBA, if I try to instantiate Excel using OLE with CreateObject("Excel.Applic
Run-time error '462': The remote server machine does not exist or is unavailable.
Note: I am trying to instantiate Excel on my local machine. Not a remote server.
2. In C#, I have code to instantiate Excel using the Primary Interop Assemblies:
myExcel = new Microsoft.Office.Interop.E
and I get a more verbose error:
Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-0
3. I found this possible fix: http://blog.crowe.co.nz/ar
Application image dump failed.
Server Application ID: {01885945-612C-4A53-A479-E
Server Application Instance ID:
{2AE03C7E-7656-42BD-846A-8
Server Application Name: COM+ Explorer
Error Code = 0x80004005 : Unspecified error
COM+ Services Internals Information:
File: d:\qxp_slp\com\com1x\src\s
Comsvcs.dll file version: ENU 2001.12.4414.308 shp
4. Google CalendarSync worked fine for weeks then all of a sudden stopped being able to talk to Outlook. I found this fix http://groups.google.com/g
5. Whenever I restart my machine, the volume gets reset to zero.
6. The Windows Installer service is set to start automatically, but never starts up. I have to start it manually, but even so after a while it switches off. This causes Windows Automatic Updates to fail.
I've tried running various Registry cleaners (Registry Medic, Norton, ASO) and whilst they all find plenty of things that need sorting out, the above issues persist.
I've also been through this and all seems in order:
http://support.microsoft.c
Short of rebuilding my machine, which I really don't want to do, I'm at a loss. I'm nervous that uninstalling Office and then reinstalling is addressing the wrong topic.
Note: I am trying to instantiate Excel from a Windows application I'm writing in C# in order to generate reports. The application and Excel are both on the same machine.
Any advice would be warmly received.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
This looks promising
http://simple-pc-help.com/
Unless this registry maintenance tool does something none of the others do, I can't see that it's going to help for sure, but even so seems the issue is indeed in the registry.
Making slow progress on this ... tried reinstalling Excel 2007 from the original Enterprise edition CD and it can't find various .cab files during the install. Even if I respond to the prompt with the correct location, the installer says "Invalid Location".
I did some more searching and a bit of lateral thinking and figured maybe something basic with COM+ was wrong. I found these:
http://searchwindowsserver
http://www.tek-tips.com/vi
http://support.microsoft.c
and in particular "I think fixed it. It's the GOD DAMN COM+ System Application service. It was turned off. Turn that back on and your comp will be okay." from the second of those three.
Lo and behold my COM+ System Application Service was switched off. I've turned it back on but now the problem is that I can't reinstall Excel 2007. I just selectively removed it from Office 2007 and left the rest in place. But it now won't reinstalll with the aforementioned "Invalid Location" message, even when I hold its hand it point it at exactly the right folder.
Does this speak of a damaged COM+ Catalog (something about which I really know very little)? I can't figure out for the life of me which the Office 2007 installer can't see what I point it at.
I found a few posts through Google under 'reinstall Office "Invalid Location" ' but nothing conclusive yet.
This is soooooooooooo frustrating but I'm sure eventually it will go away.
Meanwhile I've cleaned by registry with a few different tools and seemingly hundreds of incorrect COM and ActiveX registrations have been fixed. It's just amazing how much mess there is under the bonnet of Windows.
doowell,
I appreciate your desire to avoid rebuilding your box but one must always consider the time required to try and fix the problem(s) versus the time required to rebuild. Based on the above, your system has reached, in my opinion, a point where rebuilding is the only viable option. I have been trying to fix my XP Internet performance on one of my boxes for a week now and am just about ready to do a rebuild. Your situation is worse. Consider:
- While it only takes a few hours to rebuild a machine, the actual time spent is even less, especially if you have other things to do.
- Once multiple serious problems start happening like "volume gets reset to zero" or "Windows Installer service is set to start automatically, but never starts up" then you can be pretty sure there are other bad things going on you haven't even discovered.
- Assuming you can even find the root cause, how will you know other problems haven't been created by that issue that now have to be found and fixed?
- Windows is notorious for getting buggered after so many hours of usage. Once it starts to show signs of stress, it almost always keeps getting worse and is difficult to recover. I have a general rule that my systems won't last more than six months to a year and put each on a rebuild list about once a year or sooner if they start showing signs of problems.
- You probably don't even use a some number of applications and utilities you have installed and rebuilding your box will purge those installations. Even if you uninstalled each and every application and utility you no longer use, uninstallers sometimes can't completely undo everything the installer did.
---
Should you decide to rebuild, start by taking inventory of of the applications and utilities you use. Make note of any settings you have made. For each application and utility that has more than a few settings, locate where the settings are stored and make a copy. If the references are stored in the registry, all you need to do is, using RegEdit, find the node containing the settings and export it. The exported file can be double-clicked to re-install the settings.
One of the things I have done in the past is to make an image of the box once I reach a baseline point. This makes rebuilding a lot easier.
Kevin
Kevin,
Thanks for the response. My machine is a development box so it has absolutely masses of stuff on it. I did however come across a method of reinstalling Windows XP that would preserve all the existing accounts, settings and applications. Seems it's little-know but has worked a treat.
Insert the WinXP CD, navigate to the i386 directory at the MS-DOS command prompt and then issue the command
WINNT32 /unattend
This sets the Windows installer going in unattended mode, which reinstalls Windows "underneath" everything that's already there. I have no idea how it works and it must have been one huge feat of engineering, but within two hours my machine is back to its old form and the volume and Installer service issues have disappeared. I'm about to try to reinstall Excel and all signs are so far positive.
I can't award myself points for solving this, so if anyone else has any good ideas I'll gladly bestow the points. Otherwise Kevin will get them by default!
Cheers
By the way Kevin, the turnaround in my machine's performance is incredible. Everything is fast and zippy and EVERY SINGLE ISSUE LISTED ABOVE (and some others) has disappeared.
Forget rebuilding your machine every 6-12 months. The unattended reinstall is the way forward. The only trick is that it took a while to persuade the installer to install the devices. I ended up unplugging all my USB kit and hard-restarting the machine as the installer hung for a couple of hours on the devices section. I was terrified that I would fry my machine, but it seems the gurus who wrote the installer have made it virtually nuclear bomb proof, and it just resumed as if nothing had happened when I switched it back on.
I have to say, Microsoft come in for a lot flak, a lot of it justifiable (e.g. the depth of the click paths to find essential settings in really obscure places, and the sprawling, messy feel of their software), but when it comes to networking and now this issue of reinstalling Windows, I am SERIOUSLY impressed.
Congrats and respect to whoever is behind it.
Business Accounts
Answer for Membership
by: nike_golfPosted on 2008-09-28 at 04:48:03ID: 22590582
What kind of machine and what version of Excel?