Author Topic: Error 80040154  (Read 1933 times)

Offline TcomGregg

  • Newbie
  • *
  • Posts: 44
  • Karma: 0
Error 80040154
« on: December 10, 2008, 10:05:30 PM »
Hi Mike
I just got a new development system (64bit Quad Core Intel running Vista). I cannot get either your demo program or the two VB2008.net programs I wrote on my old XP Pentium 4 development system to run. I get the error ;

An error occurred creating the form. See Exception.InnerException for details.  The error is: Retrieving the COM class factory for component with CLSID {A877C308-D43E-4F99-9083-22E857912A77} failed due to the following error: 80040154.

The line of code it stops at is ;

Me.laLicense.Name = "laLicense"

and in the Immediate Window it says;

Step into: Stepping over non-user code 'Blue_Tiger.My.MyApplication.OnCreateMainForm'
Step into: Stepping over non-user code 'Blue_Tiger.My.MyProject.MyForms.Main.get'
Step into: Stepping over non-user code 'Blue_Tiger.Main.Main'
Step into: Stepping over non-user code 'Blue_Tiger.Main.Main'
Step into: Stepping over non-user code 'Blue_Tiger.Main.InitializeComponent'
Step into: Stepping over non-user code 'Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly'
A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in wclnet.dll

Gregg  ???

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2831
  • Karma: 1000
    • Wireless Communication Library
Re: Error 80040154
« Reply #1 on: December 11, 2008, 01:23:22 AM »
Did you copy wclx.dll and register it on you system with using regsvr ?
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software

Offline TcomGregg

  • Newbie
  • *
  • Posts: 44
  • Karma: 0
Re: Error 80040154
« Reply #2 on: December 11, 2008, 02:16:05 PM »
I used the Project Add Reference and Choose Items on the Toolbox. Just like I did on the old development system.
Where do I need to copy the .dll's to? and regser?


Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2831
  • Karma: 1000
    • Wireless Communication Library
Re: Error 80040154
« Reply #3 on: December 11, 2008, 07:09:13 PM »
Have you installed the components or just copied the files? If copied - then you need copy wclx.dll as well (located in the components installation folder and in redist folder). then call regsvr32 -r wclx.dll
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software

 

Sitemap 1 2 3 4 5 6 7 8 9