Solved

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

Posted on 2016-08-08
8
46 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
  • 5
  • 3
8 Comments
 
LVL 32

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 32

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
 

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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

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 32

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

708 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

15 Experts available now in Live!

Get 1:1 Help Now