troubleshooting Question

VB.net & Brother BPAC SDK does not work

Avatar of kasplefs
kasplefsFlag for Norway asked on
.NET ProgrammingVisual Basic.NET
5 Comments1 Solution3432 ViewsLast Modified:
I've been using an application to print labels from VB.net through the Brother BPAC SDK for several month now, and it's been working excellent.

Today, the customer wanted to run the application on another machine aswell, so I installed the Brother Label Writer, the Brother BPAC SDK and Visual Studio (for debugging).

The problem is that the application generates an error message when I try to declare a Document class.

I though there were something wrong with my code, but when I tried to run the sample from Brother, I got the same message.

The code that gives me the error is the following:
Dim doc as bpac.DocumentClass = New bpac.DocumentClass

The error message I get is (I tried to translate from Norwegian, but I'm a bit rusty on the terminology):

Cannot get COM class fabric for the component with CLSID {epic long number} because of the following reason: 80040154

Any ide why this works on one machine, but not the other?

Both machines are running Win7x64 with the same printer, the same SDK, and Visual Studio installed.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros