New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not load file or assembly 'office,Version = 12.0.0.0 #455
Comments
Really? I can assure you the project is 1000 times easier to manage on GitHub over the horror that was CodePlex. If you've been with OGCS for some time maybe it's to do with the fact there are now thousands of users and I still run this project in my spare time.
Again, really? I've only seen this error reported once before on issue #434 and it's still being troubleshot. Further updates should be made on that ticket. But some things to try:
|
Hello Paul • On the old machine, the upgrade to v2.7 worked fine, no issues. Don |
Hi Don, As your old machine works with both v2.6 and v2.7 and I'm confident both versions of OGCS are compatible with your new machine where neither works, does indicate the problem is somewhere on your system. First up, if you haven't already, is the classic IT "turn it off and on again" - do a couple of full reboot cycles to flush through any pending Windows updates etc. Also perform a reboot after any Office Repair too. Googling found this, where a user copied a folder over from the old machine to the new which fixed it. I wouldn't suggest copying the whole folder, but we at least need to check one of the files. So - could you check in 📝 Another option is to search your C:\ drive for
I suspect yours will return 0 items... |
I think we may have found our culprit - I suspect Wide Angle Software has rather messed up your office install. Anyway, try copying the Microsoft.Office.Interop.Outlook from that directory to the Windows\assembly folder... |
Alas, did not work. |
OK, remove the copied file and then download the Outlook 2007 PIA (Primary Interop Assembly) - you'll need to run the downloaded (Of course, if you prefer, your other option is to uninstall and reinstall Outlook). |
My Outlook is 2010 not 2007, so i found the 2010 PIA download. (the 2007 pia would not run saying no outlook 2007 installed) |
Ah ok, I'd suggested 2007 as that is the PIA that OGCS is built on for maximum backward compatibility, but a later version won't matter for you. Didn't seem good that the msi isn't doing much. Do you have administrator rights on your computer? You could try the second step under "installing PIAs when you install Outlook", perhaps unchecking and rechecking to force install if it's already checked. Otherwise I fear you're looking at a reinstall of Office... |
Hmm, that's the first mention of using Office 64-bit - any reason you're using that, or is using 32-bit Office an option? It's notoriously bad at running third party plugins etc 🙁 But not to quite throw in the towel yet... 📦 v2.7.0.3.zip has the outlook interop embedded within the OGCS executable (see instructions for applying). 📦 v2.7.0.4-64bit.zip is compiled specifically for 64-bit and also with the PIA embedded (extract the ZIP to a new folder location and run from there). Let me know how it goes. |
Better news!! |
So a faint glimmer of hope! Though I'd much prefer not to have to maintain a 64-bit build of OGCS and I think your Microsoft guy has sold you on lies - the only reason I really know of for 64-bit Office is for high-end power users of Excel... I take it v2.7.0.3 has the same original error? Could you upload your logfile for v2.7.0.4? |
v2.7.0.3 would not install. Unzipping and then clicking on the UAC prompt " yes", all app to make changes etc had no visible reulst. |
v2.7.0.3 wasn't an install or standalone executable - it needs to replace the v2.7.0.0 executable... |
Hi Paul |
Fantastic! So no need to worry about a 64-bit version of OGCS 😀 |
Thanks again Paul Don |
Glad we got there in the end and thanks for your help too, @slug13. |
Previously used OGCS on my old machine with standalone outlook 2010. Had no issues at all, and loved the program. Perfect for my needs.
Now migrated to a new win 10 pro machine with full MS Office 2010 and cannot get OGCS to load properly, always getting the error:
Application unexpectedly terminated! Could not load file or assembly 'office,Version = 12.0.0.0, Culture = neutral, PublicKe yToken = 71e9bce111 e9429c' or one of its dependencies. The system cannot find the file specified.
OGCS Version originally: v2.7 beta
Just tried 2.6.6 but same result.
Steps to Reproduce the Issue
Any other information
Since moving to Github i think the level of support has fallen.
I am not a computer guru and find it difficult and frustrating to wiggle through this site.
You always blame the Outlook installation for the particular error i am reporting.
i have run the install repair on my Outlook 2010 3 times but nothing changes.
Here is log report i think.
The text was updated successfully, but these errors were encountered: