Trouble executing COM+ DLL
- From: "dkupers" <dkupers@xxxxxx>
- Date: 3 Jul 2006 06:58:26 -0700
Folks,
here's the story:
We got 4 servers (O, T, A and P, all Windows 2000 Server). They are all
configured the same way (OS, patches, updates en further
(COM+)configuration).
There is a COM+-application defined using roles for security. IIS is
used as the webserver.
They are all running a COM+-application containing several DLLs
compiled with Delphi 5. We are now migrating to Delphi 2005.
After replacing the D5-DLL's with de D2005-version on the O-server,
everything went fine.
But after placing the same new DLL's on the T and the A servers, big
disappointment.
When calling the methods in the DLLs via ASP, DLLHOST hangs. The
process has to be killed to continue the website to work. Calling the
DLLs via an EXE is also not possible, the EXE hangs and has to be
killed.
There's no log or whatever, even the eventlog doesn't show any
(COM)-faults.
After placing back the D5-DLL's (bij dragging them into the
COM+-application) everything worked fine again, so you'd suppose it's
not a security-issue
I hear you say, get rid of D2005. But wait, there's more!
After removing the DLLs from the COM+-application (on A and T) and
registering the DLLs with regsvr32 everything works fine! But then, we
cannot use the COM+-security, so that's no option.
Also, creating a COM+application as 'library' (instead of 'server')
solves that problem (again, it's no option because of the lack of
security).
I've also made an 'empty' DLL (just one method returning a number) in
Delphi 5 and in Delphi 2005. The Delphi 5 version runs fine, the Delphi
2005 version shows the same problems described above.
And I've tried to compile the empty DLL with Delphi 2006. Same
problems.
So is it Delphi? Is it COM?
Anybody any idea what's the matter over here? Is there any way to debug
this problem?
Thanks in advance,
Dethmer Kupers
.
- Follow-Ups:
- Re: Trouble executing COM+ DLL
- From: Alexander Nickolov
- Re: Trouble executing COM+ DLL
- Prev by Date: Issue on DLL registration
- Next by Date: Re: Problem with ITimerSink
- Previous by thread: Issue on DLL registration
- Next by thread: Re: Trouble executing COM+ DLL
- Index(es):
Relevant Pages
|