Windows service problem on x64 server

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • vsciw

    #1

    Windows service problem on x64 server

    Hi.

    I think this is the correct group to post this in. apologies if not.

    we had a VS2003 built windows service installed and running on both a
    32-bit and 64-bit server ok (vb.net). we had to upgrade the service to
    VS2005, and this is running fine on the 32-bit server but on the 64-
    bit server we are gettting an error "cannot create the activex
    component".

    from what i can gather, i think this is because it is trying to create
    an object using a dll that's been written in VB6, 32-bit, and it's
    only the VS2005 application running on 64-bit server that is effected.

    how can i recompile the vb6 dll for 64-bit? can i upgrade it to
    vb.net?

    Hope someone can help.
    Ian.

  • Spam Catcher

    #2
    Re: Windows service problem on x64 server

    "vsciw" <ian.watkins@vs csolutions.comw rote in
    news:1173970665 .494153.102880@ n76g2000hsh.goo glegroups.com:
    how can i recompile the vb6 dll for 64-bit? can i upgrade it to
    vb.net?
    AFAIK, VB6 is obsolete with 64-bit platforms. You can ask in the .vb
    newsgroup - they might have a solution for you.

    Is there a reason your app needs to run in a 64-bit environment? 64-bit
    applications do not run faster only if they need to access large amounts of
    RAM or work with large numbers.

    In anycase, perhaps port the VB6 code to .NET 2005? That is probably your
    best long term strategy.

    Comment

    • Spam Catcher

      #3
      Re: Windows service problem on x64 server

      "vsciw" <ian.watkins@vs csolutions.comw rote in
      news:1173970665 .494153.102880@ n76g2000hsh.goo glegroups.com:
      Hi.
      >
      I think this is the correct group to post this in. apologies if not.
      >
      we had a VS2003 built windows service installed and running on both a
      32-bit and 64-bit server ok (vb.net). we had to upgrade the service to
      VS2005, and this is running fine on the 32-bit server but on the 64-
      bit server we are gettting an error "cannot create the activex
      component".
      >

      BTW, this article may help:

      http://msdn2.microsoft.com/en-us/library/ms241064.aspx

      Comment

      Working...