Getting exception when trying to add Outlook 2010 form region (.ofs file) to Visual Studio 2012

2

I get this message after I click "Finish" on new Form Region wizard

An error occurred while processing file [file path].ofs

Error: Unable to cast COM object of type System._ComObject to interface type Microsoft.Vbe.Forms.UserForm. This operation failed because the QueryInterface call on the COM component for the interface with IID failed due to the following error: Interface no registered (Exception from HRESULT: 0x80040155)

outlook
visual-studio-2012
outlook-addin
outlook-2010
asked on Stack Overflow Dec 7, 2012 by Eedoh

1 Answer

1

It seems like this was a compatibility issue with 64bit version of Office 2010. Out of desperation I uninstalled my 64 bit version and installed 32 bit, and after that I was able to create a form region based on .ofs file with no problems.

answered on Stack Overflow Dec 21, 2012 by Eedoh

User contributions licensed under CC BY-SA 3.0