[DUG] Com Server registration in Win 2003 SP2

staff staff at belding.co.nz
Mon Nov 5 17:00:08 NZDT 2007


SignatureThanks Rohit for this suggestion. The error I am seeing is for the three Win 2003 SP2 servers I have tried. All fail in the same way. The single Win 2003 SP1 I have tried works OK.
So I am guessing the problem is not related to a problem on one server. 

I am learning where to look y reading the manual "OLE/COM - explained" section for the registry program "RegistryTool". 

I've not found a solution yet so any other suggestions are welcome.

Russell
  ----- Original Message ----- 
  From: Rohit Gupta 
  To: NZ Borland Developers Group - Delphi List 
  Sent: Monday, November 05, 2007 4:14 PM
  Subject: Re: [DUG] Com Server registration in Win 2003 SP2


  It may have nothing to do with it, but it could be damaged dotnet.

  Last week I had a situation where suddenly the BDS IDE stopped compiling, but command line compile still worked.  It turned out be corrupted dotnet2 files.  Reinstalling it did not fix it.  However, uninstalling and installing again did.  I only found it by comparing every windows exe with another pc.  :-)

  staff wrote: 
    I am (still) working with D6 on a program that provides a COM/OLE services on windows clients, windows networks. The program allows VB code in MS Word and other programs to call these com services in my D6 executable. Typically the services get data from a Firebird DB and pass it to the requestors.

    The program can register its COM interfaces when it first runs or by running it with the /regserver command line option.
    It registers OK in all MS operating systems win9x, win2000, XP, win 2003, win 2003 SP1, (but not Win 2003 SP2) and Vista (once we use the "real admin" logon account). I have verified its registration works on each OS mentioned in actual sites and in my test setup. I have verified the registration is only partial in Win 2003 SP2. The com interfaces appear in the registry and they are removed when I run the program with command line /unregserver. Using TREGSRV does not help.

    I repeat that Win 2003 SP1 and below is OK and Win 2003 SP2 gives me this problem.

    The dot (myfile.dot) file used when users are running MS Word as part of the application, when on Win 2003 SP2, is failing to compile.  The VB Editor tissues the error "Compile error \n Error in Loading DLL" and points to an object referencing a servive provided by my program. When other programs ask for com services they are not provided. Yet when I edit this code in the VB Editor the code completion feature knows about my type library and presents options from my type library. So my type library seems to have been registered OK.

    This appears to be a Win 2003 SP2 bug. But, as the program is a Delphi 6 product I am hoping someone here has some insights for me. We need the program running on Win 2003 where it is used as a terminal server.

    Insights will be welcome.
    Thanks,
    Russell Belding
----------------------------------------------------------------------------
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject: unsubscribe

  -- 

  Rohit Gupta
  B.E. Elec.   M.E.   Mem IEEE    Associate IEE
  Technical Manager
  Computer Fanatics Limited

  Tel     +64 9 4892280
  Fax    +64 9 4892290
  Email  rohit at cfl.co.nz
  Web    www.cfl.co.nz


------------------------------------------------------------------------------

  This email and any attachments contain information, which is confidential and may be subject to legal privilege and copyright. If you are not the intended recipient, you must not use, distribute or copy this email or attachments. If you have received this in error, please notify us immediately by return email and then delete this email and any attachments. 


------------------------------------------------------------------------------


  _______________________________________________
  NZ Borland Developers Group - Delphi mailing list
  Post: delphi at delphi.org.nz
  Admin: http://delphi.org.nz/mailman/listinfo/delphi
  Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject: unsubscribe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.adventureeducation.co.nz/pipermail/delphi/attachments/20071105/4069bd6c/attachment.html


More information about the Delphi mailing list