Advertisement

09.28.2008 at 04:44AM PDT, ID: 23769439
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.1

Can't instantiate Excel with CreateObject("Excel.Application"), Google CalendarSync can't talk to Outlook, and the volume is reset to zero every time I restart my machine

Asked by doowell in Windows ATL / WTL / COM Programming, Windows XP Operating System, Microsoft Excel Spreadsheet Software

Tags: , , , ,

I'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.Application") I get an error message:
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.Excel.Application();

and I get a more verbose error:

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 800706ba.

3. I found this possible fix: http://blog.crowe.co.nz/archive/2006/03/02/589.aspx  When trying to launch Component Services however, as soon as I click on the Computers node under Component Services, the window simply vanishes from screen with no on-screen error message, leaving this in the Application event log:

Application image dump failed.
Server Application ID: {01885945-612C-4A53-A479-E97507453926}
Server Application Instance ID:
{2AE03C7E-7656-42BD-846A-89DDD65E51F4}
Server Application Name: COM+ Explorer
Error Code = 0x80004005 : Unspecified error
COM+ Services Internals Information:
File: d:\qxp_slp\com\com1x\src\shared\util\svcerr.cpp, Line: 1259
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/group/Google-Calendar-Help/web/google-calendar-sync---faq?version=34&pli=1 which worked for a day or two, and then the problem reappeared.

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.com/kb/828550

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.Start Free Trial
[+][-]09.28.2008 at 04:48AM PDT, ID: 22590582

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.28.2008 at 04:50AM PDT, ID: 22590590

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.28.2008 at 06:27AM PDT, ID: 22590860

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.28.2008 at 10:14AM PDT, ID: 22591835

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.28.2008 at 11:51AM PDT, ID: 22592139

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.28.2008 at 05:09PM PDT, ID: 22593112

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.28.2008 at 06:43PM PDT, ID: 22593368

View this solution now by starting your 14-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Windows ATL / WTL / COM Programming, Windows XP Operating System, Microsoft Excel Spreadsheet Software
Tags: Microsoft, Excel, 2007, Instantiation from C# fails; COM registration issues or a corrupted registry?, Excel, COM, Registry, Windows, Interop, PIA
Sign Up Now!
Solution Provided By: zorvek
Participating Experts: 2
Solution Grade: B
 
 
[+][-]09.29.2008 at 02:46AM PDT, ID: 22594894

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.29.2008 at 02:50AM PDT, ID: 22594913

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-43 - Hierarchy / EE_QW_2_20070628