I am developing an Asp.Net MVC application that is published via visual studio and IIS. The site works great and I have incorporated a label-printing system using DYMO (http://www.dymo.com/en-US/label-makers-and-label-printers?gclid=CNOyk9b-6sgCFUMTHwodQa0PWQ). The user is able to create a new inventory unit, and then a unique barcode is generated. I use the DYMO SDK to print these barcodes, and it works awesome locally through visual studio. When I publish to my server based with IIS, I get the following error when trying to print remotely:
Retrieving the COM class factory for component with CLSID {BD0B7855-D9CB-4E13-81EF-478A5D3B3111} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
I have registered the .dll on the server, and correctly added the assembly to my project in Web.config. I believe it is a problem with 64bit/32bit, but unfortunately I am unable to change my applications platform target to run only 32bit (when changed to 32bit the entire website crashes), it currently is set at "Any CPU". I have tried setting the application pool in IIS to Allow 32bit applications also. I am not sure what else to try. Any help would be much appreciated. My problem deals with the specific .dll and how I can get it to register without changing the whole application to 32bit.