Results 1 to 2 of 2

Thread: VB.Net 2013 express with OPC dll, Error 80040154

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2009
    Posts
    24

    VB.Net 2013 express with OPC dll, Error 80040154

    Dear Master,

    Please help me..

    I am trying to connect to OPC server using VB.net program with OPCAutomation.dll.
    When trying to open the list of OPC server, this error shows up:

    "List OPC servers failed with exception: Retrieving COM class factory dor
    component with CLSID{28E68F9A-8D75-11D1-8DC3-3C302A000000} failed due to
    the following error: 80040154."

    How to solve this?
    I am trying to find information from the internet, seems like this is due to compatibility issue between 32bit and 64bit.
    I am using x64 computer.
    I have tried to open vb.net with windows xp sp3 compatibility and ser the project setting Target CPU to x86, but so far cannot solve.

    anyone can help me solve this issue?

    thanks in advance..

    best regards,
    Hendrik

  2. #2
    Still learning kebo's Avatar
    Join Date
    Apr 2004
    Location
    Gardnerville,nv
    Posts
    3,758

    Re: VB.Net 2013 express with OPC dll, Error 80040154

    Are you running kepWare? If so check this out http://www.kepware.com/kep_kb/?solut...0140000000HavJ

    I recall when I was using an OPC server I was having a crazy hard time with DCOM configurations especially when I moved to win7. This was a number of years ago though, so I may be mistaken.
    kevin
    Process control doesn't give you good quality, it gives you consistent quality.
    Good quality comes from consistently doing the right things.

    Vague general questions have vague general answers.
    A $100 donation is required for me to help you if you PM me asking for help. Instructions for donating to one of our local charities will be provided.

    ______________________________
    Last edited by kebo : Now. Reason: superfluous typo's

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width