Re: REPOST : problem with security ? on IIS5-Soap-ISAPI-Win2Kpr

From: jve (tmp02_at_freegates.be)
Date: 05/02/03

  • Next message: sam spade: "junk mail"
    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
    >
    >
    >
    >


  • Next message: sam spade: "junk mail"

    Relevant Pages

    • Re: REPOST : problem with security ? on IIS5-Soap-ISAPI-Win2Kpr
      ... I added extensive logging of errors to the DLL and found out ... "Visual Studio Installer 1.1" package which ... any trouble in those cases. ...
      (microsoft.public.win2000.security)
    • Re: regsvr32 error code 0x80004002
      ... I also have seen this error when there is a missing dll that your dll depends on. ... this invocation of regsvr32 succeeds. ... On another PC which also has VS2005 SP1 installed, an installer which was created by a VS2005 SP1 setup project did indeed insist on installing an extra copy of the redistributables. ... Sorry Norman, the context that this was happening on your development machine was lost, so I had forgotten that VS was installed. ...
      (microsoft.public.vc.mfc)
    • RE: VS2005 setup project: execute tasks without installing files?
      ... Windows Installer SDK must be installed. ... Add it into Custom Action, in the Custom Action Editor, open its ... C++ custom action and we use it to get the dll path, ... Microsoft Online Community Support ...
      (microsoft.public.vsnet.setup)
    • Re: msvcp71.dll and Python 2.4 C++ extensions
      ... >> this dll somewhere in the Python directory. ... I'm creating the installer via the distutils by calling "setup.py ... directory where other C++ extension packages might also be able to use ...
      (comp.lang.python)
    • Re: Deploying Redemption.ll in a Windows Installer correct way
      ... Hey Dmitry, do you know if that reg-free com works on a per app domain basis ... > dll in HKCU if HKLM can only be accessed with the read-only priviledges. ... no installer can handle this statically. ... > being installed in the registry!!! ...
      (microsoft.public.outlook.program_vba)

  • Quantcast