Question

MSNguyen on Fri, 11 Apr 2014 20:13:16


I get this error at runtime when try to call Brother b-PAC3 SDK library from Windows 7 64 bits web application. This b-PAC3 library is 64bits version.  This library works fine with Window forms 64bits application.  Just get this error when try to use in 64bits web application.  I try to build my web app in difference environments like ANY CPU, x64 and still get the same error.  Do you know any way to work around?  Please help.


Sponsored



Replies

ArthurZ on Sun, 13 Apr 2014 21:17:31


Before moving or deleting your post I want to know how is it SSIS (integration services) related?

MSNguyen on Mon, 14 Apr 2014 15:59:05


This application apply to the Brother label printer model QL-1060N LE.  I want to use P-Touch template in my web application.  Brother provide b-PAC3 SDK library to perform this task.

Herro wong on Mon, 21 Apr 2014 05:41:12


Hi MSNguyen,

This forum is to discuss HTML, CSS and Javascript. I think you are posting on wrong forum.

Regards,

May Wang - MSFT on Sun, 28 Sep 2014 09:10:24


Hi,

The possible workaround is modify your project's platform from 'Any CPU' to 'X86' (in Project's Properties, Build/Platform's Target). Because VSS Interop is a managed assembly using 32-bit Framework and the dll contains a 32-bit COM object. If you run this COM dll in 64 bit environment, you will get the error message.

In addition, you may also have a reference to this similar issue:

Retrieving the COM Class Factory for Component with CLSID...Failed Due to the Following Error: 80040154

May

cnk_gr on Sun, 28 Sep 2014 09:22:24


It's also possible IIS has insufficient rights to that DLL's location.

Also check your application pool. Since this is a 64bit DLL you shouldn't have "Enable 32bit applications" set to true on advanced (application pool) settings.