Results 1 to 4 of 4

Thread: can't run code on windows server 2008

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Posts
    425

    can't run code on windows server 2008

    Hi,

    I have an app that was created using vb.net with vs 2005 and was tested to be ok on windows XP. but when i try to run it on windows server 2008, i am getting an error

    System.runtime.interopservices.COMException(0x80040154): Retrieving the COM Class factory for component CLSID { xxx} failed due to the following error: 80040154.

    I tried to register the dll using regsvr32 ( i have done it on windows XP) and it works fine but when i try it on windows server 2008 and windows vista home premium. Regsvr32 just hangs there (process still active when view in taskmanager).

    Any ideas what i should try next? I have attached the dll library if any kind soul would try it out for me.

    It is a library to communicate with a public announcement device by bosch security.

    thanks
    Attached Files Attached Files

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: can't run code on windows server 2008

    This really isn't a VB.NET issue. If your app works when the COM component is registered then that's all VB can do. How to register a COM component on Windows Server 2008 is really nothing to do with VB.NET.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: can't run code on windows server 2008

    Have you installed your app on those target machines?
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: can't run code on windows server 2008

    I think our 'Application Deployment' forum is the best place for this question - so I've moved the thread there.

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