Solved

Receiving an error from VB.net after upgrading from Office 2013 32-bit to 64 bit

Posted on 2016-08-08
8
54 Views
Last Modified: 2016-08-10
I have an application (see screen shot attached) that requires Outlook to function. The application inserts an event into the default Outlook calendar. The application has been working and it still works on user machines; but not mine which is the development machine. Further background, I had Visio 2007 and Office 2007 on this same machine that were all removed in favor of just this version. I received a message that I should run the repair on these applications which I disregarded because they were all removed as far as I can/could see. Are they? Is there somewhere else to look?

Specifically this began to occur after the Office 2013 "upgrade" from 32 bit to 64 bit which I did to accommodate some other applications I'm developing. I've read around that there is a registry key not removed from a previous uninstall. That notion seems to go along with the error message in the attachment.

Have you run into this specifically? What would you suggest to repair the problem?

Thank you!
Doc1.pdf
0
Comment
Question by:SchoolTeacher54
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 34

Expert Comment

by:it_saige
ID: 41747554
Please post the contents of the following registry keys:

HKEY_CLASSES_ROOT\CLSID\{0006F03A-0000-0000-C000-000000000046}
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{0006F03A-0000-0000-C000-000000000046}
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Classes\CLSID\{0006F03A-0000-0000-C000-000000000046}

-saige-
0
 

Author Comment

by:SchoolTeacher54
ID: 41747629
Thank you for looking at this for me. I appreciate the work!
HKEY.pdf
0
 
LVL 34

Expert Comment

by:it_saige
ID: 41748019
Take a backup of the following keys:

HKEY_CLASSES_ROOT\CLSID\{0006F03A-0000-0000-C000-000000000046}
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{0006F03A-0000-0000-C000-000000000046}

And then remove the following keys from within each:

InprocHandler32
LocalServer32
ProgID
Typelib

DO NOT REMOVE THE INPROCSERVER32 KEY!!!

These are the remnant keys from the 32-bit installation.

You can copy the following into a text file, save it with a .reg extension and run it (by double clicking on the file) in order to remove these keys automatically:
Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\CLSID\{0006F03A-0000-0000-C000-000000000046}\InprocHandler32]
[-HKEY_CLASSES_ROOT\CLSID\{0006F03A-0000-0000-C000-000000000046}\LocalServer32]
[-HKEY_CLASSES_ROOT\CLSID\{0006F03A-0000-0000-C000-000000000046}\ProgID]
[-HKEY_CLASSES_ROOT\CLSID\{0006F03A-0000-0000-C000-000000000046}\Typelib]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{0006F03A-0000-0000-C000-000000000046}\InprocHandler32]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{0006F03A-0000-0000-C000-000000000046}\LocalServer32]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{0006F03A-0000-0000-C000-000000000046}\ProgID]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{0006F03A-0000-0000-C000-000000000046}\Typelib]

Open in new window


You may need to restart your computer in order for these changes to take affect.

-saige-
0
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 

Author Comment

by:SchoolTeacher54
ID: 41748225
I didn't make it back to my office today. I wanted you to know that I received the message and I really appreciate the thoughtfulness and the complete work that you put in this.

I'll work on this Tuesday afternoon and let you know how it worked out for me.

I said it once but I'll say it again. You really did good!
0
 

Author Comment

by:SchoolTeacher54
ID: 41749658
Hi,

It looks like the keys were removed by your suggestion of auto removing the keys. I have an additional error after doing so and running the vb 2015 file. I've included a shot of the error when (trying) to run it. I also captured the keys that show that the keys were in fact removed as intended.

Thoughts?
Retrieving-the-COM-class-factory-for.pdf
0
 
LVL 34

Accepted Solution

by:
it_saige earned 500 total points
ID: 41750964
Did you try restarting the computer?  If you did, then the next course of action is probably unistalling and reinstalling Outlook/Office.  I would recommend, though, that you ensure that the keys we discussed earlier are removed after the uninstall is completed.  From the research I have done, this error occurs because the operating system cannot correctly determine the dll path of the ComObject you are loading because of duplicate entries between the 32-bit and 64-bit registry entries.

We could probably try to reverse the changes we made by reloading the key backups that were made earlier.  And then perform the removal from the WOW6432Nodes of both the HKEY_CLASSES_ROOT and HKEY_LOCAL_MACHINE tree's but it's probably just simpler to uninstall and reinstall.

-saige-
0
 

Author Comment

by:SchoolTeacher54
ID: 41750971
Agreed. I'll let you know how it turns out.
0
 

Author Comment

by:SchoolTeacher54
ID: 41751339
Here is what I ended up doing.

1. I uninstalled Office 2013 using the control panel.
2. I reinstalled Office 2013 and had the same error so I uninstalled again and restarted
3. I used the MSO 2013 Quick fix tool that removed another 7 Reg keys.
4. I used the MSO 2007 Quick fix tool which also removed another 8 keys. I had previously had Visio 2007 installed. I removed 2007 at the same time I originally installed MSO 2013. The uninstaller gave me a message that I should go back and repair MSO 2007. My problem was that there were no components showing in the control panel. I think that it was seeing the stray Reg keys.
5. I reinstalled Office 2013 64-bit and it runs fine.

In summary I could have uninstalled MSO 2013, run the quick fix tool and reinstalled. It probably would have been fine.

Thank you for your help!
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

In this step by step procedure, you will come to know the details of creating an Outlook meeting in 2007, 2010, 2013 & 2016.
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

734 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