Web Connection
DCOM Issues with COMID
Gravatar is a globally recognized avatar based on your email address. DCOM Issues with COMID
  Paul Nesci
  All
  Jul 25, 2022 @ 09:33am

Hi Rick I confused over trying to change this parameter:

<add key="ComServerProgId" value="ppg.PpgServer"/>

I copied my entire project DIR (very small) and recompiled to ppg30402.EXE, then ran ppg30402.EXE CONFIG. Everything works but cannot change this ID? If I change it in web.config then I just get instance not found. The strang thing is the DCOM utility MMC comexp.msc /32 reports a registered ppg.PpgServer but all points to my new location ppg30402\deploy\ppg30402.exe Tried /regserver plenty of times and seems to do nothing.

Can you suggest a fix?
The issue is I want to run duplicate EXE's just rename them and point to different data (seperate deply sets). Thanks Paul

Gravatar is a globally recognized avatar based on your email address. re: DCOM Issues with COMID
  Rick Strahl
  Paul Nesci
  Jul 25, 2022 @ 11:50am

The COM Server has to be registered on the server (CONFIG may do this) and depending on your Application Pool Impersonation you may have to register the COM server (or machine accounts) with DCOM.

More info here:

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: DCOM Issues with COMID
  Paul Nesci
  Rick Strahl
  Jul 26, 2022 @ 03:39am

Thanks Rick In the end it was Directory permissions nothing related to IIS. The red heerings was that it would register an old server name and go in and out of working.

In the end stubbornness wins. Cheers Paul

© 1996-2022