Web Connection
Problem with activating COM after migrating to latest version using wc.dll
Gravatar is a globally recognized avatar based on your email address. Problem with activating COM after migrating to latest version using wc.dll
  Michael B
  All
  May 26, 2022 @ 04:55pm

Hi Rick,

My team and I finally got serious about upgrading to V725. We created a new project (not by copying old one but with 'create project') and made a copy of every one of our files in a new folder and added it to the project and built a new exe.

I then setup a second site on my dev server to use the NEW version and it works fine in file mode. My goal is to have old and new running on same server so we can test before going live with the latest.

All is working just fine until I try to put it into com mode. In com, neither site render. I checked dcomconfig and discovered multiple instances of our dcom server, and deleted them all and then tried re registering both exe's (different names). Still no love.

Can we setup a live support call on Friday for an hour to see if you can help me resolve this? If so, what time works for you?

Gravatar is a globally recognized avatar based on your email address. re: Problem with activating COM after migrating to latest version using wc.dll
  Rick Strahl
  Michael B
  May 26, 2022 @ 05:11pm

If you're starting from scratch with setup, why are you trying to run the ISAPI extension instead of the .NET Module?

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Problem with activating COM after migrating to latest version using wc.dll
  Michael B
  Rick Strahl
  May 26, 2022 @ 05:17pm

My from scratch was just creating an empty project not using your console or setup. I will use managed handler after I am sure all of our method code is working fine.

When are you free for an hour?

Gravatar is a globally recognized avatar based on your email address. re: Problem with activating COM after migrating to latest version using wc.dll
  Michael B
  Michael B
  May 27, 2022 @ 06:43am

GM Rick,

I decided this am to not try and update my old project to latest, but rather install 7.26 and re-read all the docs to see what I am missing. I was able to create a project from the mgmt console called wcdemo, then i registered it, and was able to run in COM.

So, I guess at this point, the next move is to figure out how to move my app into a new project of a new name carefully!

I have a question. In my old prg's I have INCLUDE WCONNECT.H without a path. I noticed in your latest prg's you reference a path to wconnect.h. I wanted to confirm with you what you have in your foxpro search path, is it just c:\wconnect?

Gravatar is a globally recognized avatar based on your email address. re: Problem with activating COM after migrating to latest version using wc.dll
  Rick Strahl
  Michael B
  May 27, 2022 @ 10:23am

You need to make sure that wconnect.h is in your FoxPro path. The path that needs to be referenced for the framework is (assuming \wconnect install path):

  • \wconnect\classes - Web COnnection libraries
  • \wconnect - wconnect.h reference, access to Console.exe
  • \wconnect\tools - for some build tools like DCOM Configuration and Utilities

I'm around today. For setting up support it's better if you send me an email... this is not the place.

+++ Rick ---

© 1996-2022