A 3rd party .NET application is attempting to open an Excel/Word file format from Office 2010, for this example let's stick with MS Word, but the document gives an error message that the vendor says comes from Microsoft. An Internet search on the error number (-2147221504) has produced may different suggestions and I feel like I have attempted many of them with no luck.
One catch, there are some PC's that this procedure works in our environment but most produce the result above. We have made a comparison of applications but there does not seem to be an obvious difference.
On ALL PC's (good and bad) we have verified that the same Office 2010 files are installed with the same svc packs and updates. We have a mix of WinXP and Win 7 PC's with some of each working/failing.
What have we tried:
We have disabled ALL add-ins (Excel/Word)
We have verified the .NET versions are the same
We have verfied the Microsoft.Office.Interop.xxx files are of the same versions (I am waiting to hear from the Vendor to find out which Interop file they are using). They have not told me yet.
We have attempted the basics in the registry but we are not totally convinced there is not an old registry setting from the Office 2003 installation that may be causing issues. Maybe something that is telling 2010 to open an older file format when it is not.
What system files does Word/Excel use to open a document?
The 3rd party vendor is blaming the environment but they are not being helpful with the process they are using to open office documents so I am working blind. As a developer at my company I am charged with troubleshooting this issue so much of my thought process involves things from the software development process. I know how I would develop this but as you know that does not mean they would do the same.
I know this is a shot in the dark and you all have less information at your disposal but......Any ideas?