Groups | Blog | Home
all groups > iis smtp nntp > august 2007 >

iis smtp nntp : 32 bit SMTP Event sinks on 64 bit 2003 Server ?


Sanford Whiteman
8/20/2007 8:39:16 PM
[quoted text, click to view]

Nope.

You can write a 64-bit "bridge" app that instantiates the 32-bit object.

Patrik Lundin
8/20/2007 11:41:32 PM
I tried to find any info about this but I couldnt find anything.

I can't seem to get my 32 bit event sink dll written in VB6 to work on
Windows 2003 Server 64 bit, it worked fine on our previous 32 bit server.

The smtpreg.vbs reports success and I don not get any log errors, it just
doesn't work, like it is not loaded at all which is what I would assume
would happen if it doesn't support running 32 bit dll's as event sinks.

The question is does it support 32 bit dll's as event sinks ? If not, what
can I do ?

Thank you
PL.
Patrik Lundin
8/21/2007 2:10:37 PM

OK, thank you, I'll look into that. I'm also investigating if I can rewrite
this as a managed sink in C# but there doesn't seem to be much info on how
to do this, the only article on msdn is outdated and the samples do not
compile.

It doesn't even appear as if the x64 version of the smtp servcie is
accepting vbscripts as sinks, which is kind of strange, what does it support
? Where is the documentation on this ?

I get the feeling that earlier 64 bit than Vista is a bit of an experiment
from Microsoft.

PL.


"Sanford Whiteman" <swhitemanlistens-software@cypressintegrated.com> skrev i
meddelandet news:op.txdv3qdn6c17zw@gw02.broadleaf.local...
[quoted text, click to view]
Sanford Whiteman
8/22/2007 11:43:29 AM
[quoted text, click to view]

I'll verify this later.

[quoted text, click to view]

I know what you mean, but compatibility depends on tight planning.
It's def'ly not the kind of situation where you can put a server into
production with *almost* everything installed/configured and assume
the rest will just fall into place. I had that prob right after 2003
x64 came out, specifically with a 32-bit event sink that was, of
course, "the last little piece" before the server was to go to a
client. Of course, then I had to reinstall the whole Win32 OS and apps
from scratch.

Since then, my luck's been better. Just put up a couple of full x64
2003 R2/IIS/PHP/MySQL/ASP.NET servers, so all the heavy lifting is
done in x64. Of course, all the db mgmt utilities and stuff are
running in WoW64, but that's cool. At least nothing got left out at
the core that would've made us have to ratchet the whole OS back.

Patrik Lundin
8/22/2007 10:12:17 PM
[quoted text, click to view]

That would be great so I know for sure I'm nto doing anyhting wrong here.

[quoted text, click to view]

I guess one solution would be to run all IIS services in "32 bit mode" by
changing the W3SVC/AppPools/Enable32bitAppOnWin64 property.
http://support.microsoft.com/?id=894435

Although that article talks about installing 32 bit ASP.NET I would assume
it would allow all 32 bit extensions with that tweak.

However, I would prefer not to run IIS in 32 bit mode.

PL.




Sanford Whiteman
8/22/2007 11:35:01 PM
[quoted text, click to view]

I don't believe that fixes it. That setting applies to the HTTP worker
processes (w3wp.exe), while event sinks are loaded by inetinfo.exe.

There are x64 and WoW64 versions of w3wp.exe, but only x64 images of
inetinfo.exe and smtpsvc.dll.

Patrik Lundin
8/23/2007 12:00:00 AM


Yes, you are correct on this, it did not work. :(

PL.


"Sanford Whiteman" <swhitemanlistens-software@cypressintegrated.com> skrev i
meddelandet news:op.txhtknxl6c17zw@gw02.broadleaf.local...
[quoted text, click to view]

I don't believe that fixes it. That setting applies to the HTTP worker
processes (w3wp.exe), while event sinks are loaded by inetinfo.exe.

There are x64 and WoW64 versions of w3wp.exe, but only x64 images of
inetinfo.exe and smtpsvc.dll.

--Sandy
Patrik Lundin
8/23/2007 4:11:26 PM

I finally managed to get VbScripts to work, it appears there are some
pitfalls to watch out for, for example not all the components that are
available on 32 bit w2k3 are avaialable on 64 bit w2k3.

There will be some work getting this to work but I think I rewrite all my
sinks as VbScripts, not ideal but at least it will work.

Thank you for all your help.

PL.


"Sanford Whiteman" <swhitemanlistens-software@cypressintegrated.com> skrev i
meddelandet news:op.txhtknxl6c17zw@gw02.broadleaf.local...
[quoted text, click to view]

I don't believe that fixes it. That setting applies to the HTTP worker
processes (w3wp.exe), while event sinks are loaded by inetinfo.exe.

There are x64 and WoW64 versions of w3wp.exe, but only x64 images of
inetinfo.exe and smtpsvc.dll.

--Sandy
AddThis Social Bookmark Button