Re: REPOST : problem with security ? on IIS5-Soap-ISAPI-Win2Kpr
From: jve (tmp02_at_freegates.be)
Date: 05/02/03
- Previous message: Waydaws: "Re: IIS and visual interdev"
- In reply to: jve: "REPOST : problem with security ? on IIS5-Soap-ISAPI-Win2Kpr"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 2 May 2003 09:50:25 +0200
Hi,
I finally managed to solve the problem. Just in case someone else get the
same trouble : I added extensive logging of errors to the DLL and found out
that the problems were caused by a corrupt installation/registration of the
mswinsck.ocx. Unregistering with regsvr32 /u and after that re-registering
with regsvr32 solved the issue.
Why the initial registration failed is still unclear. It was done through a
"Visual Studio Installer 1.1" package (=Windows installer msi) which
contained the latest mergefile for Winsock (mswinsck.msm). If I try it
again with the msi file, it fails again (although the installation is not
giving any errors or warnings, and upon inspection I do find some
registration data in the registry. But apparently it's not 100% correct.)
I did make other msi-installer packages in the past with this same
mswinsck.msm included, for "desktop application" use. I never experienced
any trouble in those cases. So it seems that 99% of the installationpackage
is still OK.
Regards,
Jan
"jve" <tmp02@freegates.be> wrote in message
news:b8qmeb$202$1@news.worldonline.be...
> Hi,
>
> I posted this one 2 days ago, but no reply so far... and problem still
not
> solved.
> I added some results from further tests below ....
>
> I'm running SOAP (toolkit v2.0) on IIS5 (Win2K Pro sp3) by way of ASAPI.
My
> dll is written in VB6.0 and is itself calling another dll (vbSendMail from
> www.freevbcode.com) to send e-mails directly through winsock.
>
> The e-mail part is not working. The only thing I get is a hanging client
> (on another computer)
> and two beeps on the server. No errormessage whatsoever.
>
> Debugging of the DLL didn't help as in the VB-IDE everything is working
> fine. This made me think it's a permission related issue as by running
the
> dll in VB.EXE, it is getting more rights than when running under the
> IUSR_<Machine> account..
>
> After making IUSR_<Machine> part of the administrator group everything
works
> fine. However after removing these administrator rights again, the error
> did NOT come back.
>
> I reinstalled the whole system to get the error back, and enabled all
> auditing in "local policies->audit policies", hoping to see what is
causing
> this. The error is back. I'm not seeing any file-security violations in
> the
> eventlog related to this issue, but there are 2 registry related security
> violations. Investigation with regmon (www.sysinternals.com) shows a lot
of
> "access denied" failures, most of them in ClassRoot key at the clsid and
the
> typelib entry of "mswinsck.ocx", caused by the ddlhost.exe process under
the
> IUSR_COMPAQ account. It looks like one is trying to reregister the
> component ???? This doesn't make sens to me, as the component is already
> properly registered....
>
> Any help would be appreciated ?
>
> Thanks,
> Jan
>
>
>
>
- Previous message: Waydaws: "Re: IIS and visual interdev"
- In reply to: jve: "REPOST : problem with security ? on IIS5-Soap-ISAPI-Win2Kpr"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|